public class TimerScheduler extends AbstractLifeCycle implements Scheduler
AbstractLifeCycle.AbstractLifeCycleListenerScheduler.TaskLifeCycle.Listener| Constructor and Description |
|---|
TimerScheduler() |
TimerScheduler(String name) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doStart() |
protected void |
doStop() |
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)
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-2012 Mort Bay Consulting. All Rights Reserved.