| Modifier and Type | Class and Description |
|---|---|
| pack-priv class |
| Modifier and Type | Field and Description |
|---|---|
| private static final MLogger | |
| pack-priv final RunnableQueue[] | |
| pack-priv int | |
| pack-priv int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public synchronized RunnableQueue | |
| pack-priv static void | |
| 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. |
| public void | close()
Implements com. Clean-up resources held by this asynchronous runner as soon as possible. |
| public synchronized void |
| logger | back to summary |
|---|---|
| private static final MLogger logger | |
| rqs | back to summary |
|---|---|
| pack-priv final RunnableQueue[] rqs | |
| task_turn | back to summary |
|---|---|
| pack-priv int task_turn | |
| view_turn | back to summary |
|---|---|
| pack-priv int view_turn | |
| RoundRobinAsynchronousRunner | back to summary |
|---|---|
| public RoundRobinAsynchronousRunner(int num_threads, boolean daemon) | |
| asRunnableQueue | back to summary |
|---|---|
| public synchronized RunnableQueue asRunnableQueue() Implements com. | |
| attemptClose | back to summary |
|---|---|
| pack-priv static void attemptClose(RunnableQueue rq, boolean skip_remaining_tasks) | |
| 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.
| |
| 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 ). | |
| postRunnable | back to summary |
|---|---|
| public synchronized void postRunnable(Runnable r) Implements com. | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public 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. |
| public void | close()
Implements com. Clean-up resources held by this asynchronous runner as soon as possible. |
| public void |
| rq_num | back to summary |
|---|---|
| pack-priv final int rq_num | |
| RunnableQueueView | back to summary |
|---|---|
| pack-priv RunnableQueueView(int rq_num) | |
| close | back to summary |
|---|---|
| public 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.
| |
| 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 ). | |
| postRunnable | back to summary |
|---|---|
| public void postRunnable(Runnable r) Implements com. | |