|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XactTaskRunner
Used by the analysis to schedule independant tasks.
A task runner can be in one of two states:
Method Summary | |
---|---|
void |
addTask(Runnable runnable)
Adds a tasks to the task scheduler. |
boolean |
maybeMultiThreaded()
Returns true if the scheduler might be multithreaded, or false if it is definitely not multithreaded. |
void |
runTasks()
Runs all scheduled tasks and returns when all have completed. |
Method Detail |
---|
void addTask(Runnable runnable)
runTasks()
.
runnable
- the task to be executedboolean maybeMultiThreaded()
void runTasks()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |