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, stop
public void executePeriodically(Runnable task, long period)
public void executeAfterDelay(Runnable task, long redeliveryDelay)
public void shutdown()
protected void doStart() throws Exception
doStart
in class ServiceSupport
Exception
protected void doStop(ServiceStopper stopper) throws Exception
doStop
in class ServiceSupport
Exception
Copyright © 2005–2016 FuseSource, Corp.. All rights reserved.