|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ATimerTask
A timer task. See TimerTaskAdapter
for utility that simlifies
creation of asynchronous objects that implement this interface.
Method Summary | |
---|---|
void |
accepted(ACallable<Boolean> cancelAction)
This method is called when task were accepted to timer |
void |
run(long scheduledExecutionTime)
Run the task |
Methods inherited from interface net.sf.asyncobjects.AsyncObject |
---|
dereference, isImmediate |
Method Detail |
---|
void accepted(ACallable<Boolean> cancelAction)
cancelAction
- void run(long scheduledExecutionTime)
scheduledExecutionTime
- a time when the task was scheduled. it might be used to check
if the task is too late.TimerTask.run()
,
TimerTask.scheduledExecutionTime()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |