|
Jumpi v1.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
A Task is a unit of work which is scheduled by the TaskScheduler to execute.
The task informs the TaskScheduler whether it is schedulable or not with
isSchedulable(). Tasks are named uniquely so that the TaskScheduler
can identify them unambiguously.
TaskScheduler| Method Summary | |
java.lang.String |
getTaskId()
A unique name for the task in the VM. |
boolean |
isLongRunning()
Whether the task is a long running task or not. |
boolean |
isSchedulable()
Whether the task is schedulable, i.e. run() should be called because there is work to do. |
| Methods inherited from interface java.lang.Runnable |
run |
| Method Detail |
public java.lang.String getTaskId()
public boolean isSchedulable()
public boolean isLongRunning()
|
Jumpi v1.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||