|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mchange.v2.async.SimpleRunnableQueue
public class SimpleRunnableQueue
Constructor Summary | |
---|---|
SimpleRunnableQueue()
Deprecated. |
|
SimpleRunnableQueue(boolean daemon)
Deprecated. |
Method Summary | |
---|---|
RunnableQueue |
asRunnableQueue()
Deprecated. |
void |
close()
Deprecated. Clean-up resources held by this asynchronous runner as soon as possible. |
void |
close(boolean skip_remaining_tasks)
Deprecated. Finish with this AsynchronousRunner, and clean-up any Threads or resources it may hold. |
void |
postRunnable(Runnable r)
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleRunnableQueue(boolean daemon)
public SimpleRunnableQueue()
Method Detail |
---|
public RunnableQueue asRunnableQueue()
asRunnableQueue
in interface Queuable
public void postRunnable(Runnable r)
postRunnable
in interface AsynchronousRunner
public void close(boolean skip_remaining_tasks)
AsynchronousRunner
close
in interface AsynchronousRunner
skip_remaining_tasks
- 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.public void close()
AsynchronousRunner
close
in interface ClosableResource
close
in interface AsynchronousRunner
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |