AbstractLifeCycle.AbstractLifeCycleListenerScheduler.TaskLifeCycle.Listener| Constructor and Description |
|---|
TimerScheduler() |
TimerScheduler(String name,
boolean daemon) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doStart() |
protected void |
doStop() |
void |
run() |
Scheduler.Task |
schedule(Runnable task,
long delay,
TimeUnit units) |
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, setStopTimeout, start, stopclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stoppublic TimerScheduler()
public TimerScheduler(String name, boolean daemon)
protected void doStart()
throws Exception
doStart in class AbstractLifeCycleExceptionprotected void doStop()
throws Exception
doStop in class AbstractLifeCycleExceptionpublic Scheduler.Task schedule(Runnable task, long delay, TimeUnit units)
Copyright © 1995-2015 Webtide. All Rights Reserved.