|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TimerTask
This interface abstract the responsability of a Timer, who invokes the timeout() method when the specified time is passed.
Method Summary | |
---|---|
boolean |
cancel()
It avoids that this TimerTask executes more times. |
boolean |
isFinished()
Inform that this TimerTask is just cancelled. |
void |
run()
Job to do when the period of time specified by this TimerTask is passed. |
Method Detail |
---|
boolean cancel()
void run()
boolean isFinished()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |