|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.TimerTask
planet.util.timer.ThreadTimerTask
public abstract class ThreadTimerTask
This concrete implementation extends the java.util.TimerTask and adapt this implementation to use the superclass. It is required to implement TimerTask to use with ThreadTimer.
ThreadTimer
,
Serialized FormConstructor Summary | |
---|---|
ThreadTimerTask()
Initialize this TimerTask. |
Method Summary | |
---|---|
boolean |
cancel()
Cancels this TimerTask. |
boolean |
isFinished()
Inform if this TimerTask has been cancelled. |
abstract void |
run()
Implements this method to make the concrete necessary job. |
Methods inherited from class java.util.TimerTask |
---|
scheduledExecutionTime |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ThreadTimerTask()
Method Detail |
---|
public boolean cancel()
cancel
in interface TimerTask
cancel
in class java.util.TimerTask
TimerTask.cancel()
public abstract void run()
run
in interface java.lang.Runnable
run
in interface TimerTask
run
in class java.util.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 |