@InterfaceAudience.Public @InterfaceStability.Evolving public abstract class AbstractTimerTaskListener extends Object implements TimerTaskListener
EnhancedTimerTask
tasks ejects from SafeThread.
Has to be implemented by sub classes for proper handling of EnhancedTimerTask tasks.| Constructor and Description |
|---|
AbstractTimerTaskListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
omitOnCancel(EnhancedTimerTask task)
Omits the
EnhancedTimerTask when it gets canceled. |
void |
omitOnExpiry(EnhancedTimerTask task)
Omits the
EnhancedTimerTask when it gets expired. |
void |
omitOnFinish(EnhancedTimerTask task)
Omits the
EnhancedTimerTask when it gets Finished. |
public void omitOnCancel(EnhancedTimerTask task)
TimerTaskListenerEnhancedTimerTask when it gets canceled.omitOnCancel in interface TimerTaskListenertask - the taskpublic void omitOnExpiry(EnhancedTimerTask task)
TimerTaskListenerEnhancedTimerTask when it gets expired.omitOnExpiry in interface TimerTaskListenertask - the taskpublic void omitOnFinish(EnhancedTimerTask task)
TimerTaskListenerEnhancedTimerTask when it gets Finished.omitOnFinish in interface TimerTaskListenertask - the taskCopyright © 2016 utils4j. All Rights Reserved.