|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Task
A Task
is a light-weight execution unit which is used to
perform regular jobs. Tasks are executed synchronously with the task
scheduler hence they should quit as quick as possible. If this not
possible the task should spawn itself as a new thread.
Method Summary | |
---|---|
void |
execute()
Exceutes the tasks. |
long |
getInterval()
Returns the execution interval of the task. |
void |
setInterval(long interval)
Sets the execution interval of the task. |
Method Detail |
---|
void execute()
void setInterval(long interval)
interval
- The execution interval of the task.long getInterval()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |