|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.TimerTask
org.zkoss.util.ScalableTimerTask
public abstract class ScalableTimerTask
A task that can be scheduled for one-time execution by
a scalable timer (ScalableTimer.
| Constructor Summary | |
|---|---|
ScalableTimerTask()
|
|
| Method Summary | |
|---|---|
boolean |
cancel()
Cancels this timer task. |
abstract void |
exec()
The action to be performed by this timer task. |
void |
run()
Invokes exec(). |
| 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 ScalableTimerTask()
| Method Detail |
|---|
public abstract void exec()
run().
public final void run()
exec().
The derived class shall not override this method.
Rather, override exec() instead.
run in interface java.lang.Runnablerun in class java.util.TimerTaskpublic boolean cancel()
cancel in class java.util.TimerTask
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||