|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.emory.mathcs.util.concurrent.ThreadSerializingExecutor
The executor that delegates to other executor (usually pooling executor) but ensures that tasks scheduled from a single thread are executed sequentially.
Constructor Summary | |
ThreadSerializingExecutor(Executor pool)
Creates a new thread serializing executor that delegates to the specified executor. |
Method Summary | |
void |
execute(java.lang.Runnable runnable)
Executes the given command at some time in the future. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ThreadSerializingExecutor(Executor pool)
pool
- the delegating executorMethod Detail |
public void execute(java.lang.Runnable runnable)
Executor
execute
in interface Executor
runnable
- the runnable task
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |