public class TimerScheduler extends AbstractLifeCycle implements Scheduler, java.lang.Runnable
AbstractLifeCycle.AbstractLifeCycleListenerLifeCycle.ListenerScheduler.Task| Constructor | Description |
|---|---|
TimerScheduler() |
|
TimerScheduler(java.lang.String name,
boolean daemon) |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
doStart() |
|
protected void |
doStop() |
|
void |
run() |
|
Scheduler.Task |
schedule(java.lang.Runnable task,
long delay,
java.util.concurrent.TimeUnit units) |
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, setStopTimeout, start, stop, toStringaddLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, start, stop, stoppublic TimerScheduler()
public TimerScheduler(java.lang.String name,
boolean daemon)
protected void doStart()
throws java.lang.Exception
doStart in class AbstractLifeCyclejava.lang.Exceptionprotected void doStop()
throws java.lang.Exception
doStop in class AbstractLifeCyclejava.lang.Exceptionpublic Scheduler.Task schedule(java.lang.Runnable task, long delay, java.util.concurrent.TimeUnit units)
public void run()
run in interface java.lang.RunnableCopyright © 1995–2018 Webtide. All rights reserved.