|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AsynchronousTaskPerformer
Service executing tasks asynchronously.
A task is an instance of any class implementing java.lang.Runnable
.
This service must use the singleton service model.
Method Summary | |
---|---|
void |
addTask(java.lang.Runnable task)
Add a task to be executed asynchroneously. |
void |
executeNow()
This method forces execution of all pending tasks. |
void |
executeNowAndWait()
This method forces execution of all pending tasks. |
Method Detail |
---|
void addTask(java.lang.Runnable task)
task
- task to be added to the list of asynchroneous tasksvoid executeNow()
void executeNowAndWait()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |