|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.smaxe.me.core.SyncWorker
public final class SyncWorker
SyncWorker - ExecutorService implementation that
executes tasks synchronously, i.e. in the thread that executes the task.
| Constructor Summary | |
|---|---|
SyncWorker()
Constructor. |
|
| Method Summary | |
|---|---|
void |
execute(java.lang.Runnable task)
Executes the given task at some time in the future. |
void |
shutdown()
Initiates an orderly shutdown in which previously submitted tasks are executed, but no new tasks will be accepted. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SyncWorker()
| Method Detail |
|---|
public void execute(java.lang.Runnable task)
Executor
execute in interface Executortask - task to executepublic void shutdown()
ExecutorService
shutdown in interface ExecutorService
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||