Package org.cache2k.core.timing
Class TimerTask
- java.lang.Object
-
- org.cache2k.core.timing.TimerTask
-
-
Constructor Summary
Constructors Constructor Description TimerTask()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract voidaction()The action to be performed by this timer task.protected booleancancel()StringgetState()booleanisCancelled()booleanisExecuted()booleanisScheduled()booleanisUnscheduled()voidrun()For the special case of immediate execution this implementsRunnable.StringtoString()
-
-
-
Method Detail
-
action
protected abstract void action()
The action to be performed by this timer task.
-
cancel
protected boolean cancel()
-
run
public void run()
For the special case of immediate execution this implementsRunnable.
-
isUnscheduled
public boolean isUnscheduled()
-
isExecuted
public boolean isExecuted()
-
isCancelled
public boolean isCancelled()
-
isScheduled
public boolean isScheduled()
-
getState
public String getState()
-
-