| Modifier and Type | Class and Description |
|---|---|
| pack-priv class | |
| pack-priv class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv ArrayList | |
| pack-priv Thread | |
| pack-priv final long | |
| pack-priv Timer | |
| pack-priv static final MLogger | |
| pack-priv final int | |
| pack-priv static final int | |
| pack-priv LinkedList | |
| pack-priv ArrayList | |
| pack-priv boolean |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| private synchronized void | |
| private synchronized void | |
| public void | close()
Implements com. Clean-up resources held by this asynchronous runner as soon as possible. |
| public synchronized void | close(boolean
Should be regarded as
a hint, not a guarantee. If true, pending,
not-yet-performed tasks will be skipped,
if possible.
Currently executing tasks may or
may not be interrupted. If false, all
previously scheduled tasks will be
completed prior to clean-up. The method
returns immediately regardless. skip_remaining_tasks)Implements com. Finish with this AsynchronousRunner, and clean-up any Threads or resources it may hold. |
| private void | |
| public synchronized int | |
| public synchronized Collection | |
| public synchronized int | |
| public synchronized Collection | |
| private boolean | |
| public synchronized boolean | |
| public synchronized boolean | |
| public synchronized void |
| deadlockSnapshot | back to summary |
|---|---|
| pack-priv ArrayList<E> deadlockSnapshot | |
| dispatchThread | back to summary |
|---|---|
| pack-priv Thread dispatchThread | |
| interrupt_task_delay | back to summary |
|---|---|
| pack-priv final long interrupt_task_delay | |
| interruptAndDeadlockTimer | back to summary |
|---|---|
| pack-priv Timer interruptAndDeadlockTimer | |
| logger | back to summary |
|---|---|
| pack-priv static final MLogger logger | |
| max_task_threads | back to summary |
|---|---|
| pack-priv final int max_task_threads | |
| PRESUME_DEADLOCKED_MULTIPLE | back to summary |
|---|---|
| pack-priv static final int PRESUME_DEADLOCKED_MULTIPLE | |
| queue | back to summary |
|---|---|
| pack-priv LinkedList<E> queue | |
| running | back to summary |
|---|---|
| pack-priv ArrayList<E> running | |
| still_open | back to summary |
|---|---|
| pack-priv boolean still_open | |
| ThreadPerTaskAsynchronousRunner | back to summary |
|---|---|
| public ThreadPerTaskAsynchronousRunner(int max_task_threads) | |
| ThreadPerTaskAsynchronousRunner | back to summary |
|---|---|
| public ThreadPerTaskAsynchronousRunner(int max_task_threads, long interrupt_task_delay) | |
| acknowledgeComplete | back to summary |
|---|---|
| private synchronized void acknowledgeComplete(ThreadPerTaskAsynchronousRunner. | |
| checkForDeadlock | back to summary |
|---|---|
| private synchronized void checkForDeadlock() | |
| close | back to summary |
|---|---|
| public void close() Implements com. Doc from com. Clean-up resources held by this asynchronous runner as soon as possible. Remaining tasks are skipped if possible, and any tasks executing when close() is called may or may not be interrupted. Equivalent to close( true ). | |
| close | back to summary |
|---|---|
| public synchronized void close(boolean skip_remaining_tasks) Implements com. Doc from com. Finish with this AsynchronousRunner, and clean-up any Threads or resources it may hold.
| |
| closeThreadResources | back to summary |
|---|---|
| private void closeThreadResources() | |
| getRunningCount | back to summary |
|---|---|
| public synchronized int getRunningCount() | |
| getRunningTasks | back to summary |
|---|---|
| public synchronized Collection | |
| getWaitingCount | back to summary |
|---|---|
| public synchronized int getWaitingCount() | |
| getWaitingTasks | back to summary |
|---|---|
| public synchronized Collection | |
| hasIdTimer | back to summary |
|---|---|
| private boolean hasIdTimer() | |
| isClosed | back to summary |
|---|---|
| public synchronized boolean isClosed() | |
| isDoneAndGone | back to summary |
|---|---|
| public synchronized boolean isDoneAndGone() | |
| postRunnable | back to summary |
|---|---|
| public synchronized void postRunnable(Runnable r) Implements com. | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | run()
Overrides java. Implements java. This method is run by the thread when it executes. |
| DispatchThread | back to summary |
|---|---|
| pack-priv DispatchThread() | |
| run | back to summary |
|---|---|
| public void run() Overrides java. Implements java. Doc from java. This method is run by the thread when it executes. Subclasses of This method is not intended to be invoked directly. If this thread is a
platform thread created with a | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv boolean | |
| pack-priv Runnable |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv Runnable | |
| pack-priv synchronized boolean | |
| pack-priv synchronized void | |
| public void | run()
Overrides java. Implements java. This method is run by the thread when it executes. |
| completed | back to summary |
|---|---|
| pack-priv boolean completed | |
| r | back to summary |
|---|---|
| pack-priv Runnable r | |
| TaskThread | back to summary |
|---|---|
| pack-priv TaskThread(Runnable r) | |
| getTask | back to summary |
|---|---|
| pack-priv Runnable getTask() | |
| isCompleted | back to summary |
|---|---|
| pack-priv synchronized boolean isCompleted() | |
| markCompleted | back to summary |
|---|---|
| pack-priv synchronized void markCompleted() | |
| run | back to summary |
|---|---|
| public void run() Overrides java. Implements java. Doc from java. This method is run by the thread when it executes. Subclasses of This method is not intended to be invoked directly. If this thread is a
platform thread created with a | |