|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectplanet.util.timer.TimerTaskImpl
This abstract implementation is only usefull for simulation environment.
Constructor Summary | |
TimerTaskImpl(boolean periodic)
Initialize this TimerTask. |
Method Summary | |
boolean |
cancel()
Cancells the actual TimerTask. |
boolean |
isFinished()
Inform if this TimerTask has been cancelled. |
void |
run()
Implement the job to do for activation of this TimerTask. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TimerTaskImpl(boolean periodic)
periodic
- If this task is periodic.Method Detail |
public boolean cancel()
cancel
in interface TimerTask
TimerTask.cancel()
public void run()
super.run();to inform when this task has been executed.
run
in interface TimerTask
TimerTask.run()
public boolean isFinished()
isFinished
in interface TimerTask
TimerTask.isFinished()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |