|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SchedulerTask
Interface that defines a task that can be run by Scheduler.
Method Summary | |
---|---|
void |
cancel()
Deprecated. This task should be canceled at first available oportunity. |
long |
getInterval()
Deprecated. Interval between two executions. |
java.lang.String |
getTaskName()
Deprecated. Returns name of this task. |
boolean |
isCanceled()
Deprecated. Returns true if this task is scheduled for canceling. |
void |
run()
Deprecated. Method that runs this task. |
Method Detail |
---|
void cancel()
boolean isCanceled()
java.lang.String getTaskName()
long getInterval()
If this value is changed while task is already scheduled, changes will take effect after this task is run next time.
void run()
run
in interface java.lang.Runnable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |