public final class Scheduler extends ServiceSupport
| Modifier and Type | Method and Description |
|---|---|
void |
cancel(Runnable task) |
protected void |
doStart() |
protected void |
doStop(ServiceStopper stopper) |
void |
executeAfterDelay(Runnable task,
long redeliveryDelay) |
void |
executePeriodically(Runnable task,
long period) |
String |
getName() |
void |
shutdown() |
addServiceListener, dispose, isStarted, isStopped, isStopping, postStop, preStart, removeServiceListener, start, stoppublic void executePeriodically(Runnable task, long period)
public void executeAfterDelay(Runnable task, long redeliveryDelay)
public void shutdown()
protected void doStart() throws Exception
doStart in class ServiceSupportExceptionprotected void doStop(ServiceStopper stopper) throws Exception
doStop in class ServiceSupportExceptionCopyright © 2005–2015 FuseSource, Corp.. All rights reserved.