Package org.apache.activemq.thread
Class Scheduler
java.lang.Object
org.apache.activemq.util.ServiceSupport
org.apache.activemq.thread.Scheduler
- All Implemented Interfaces:
Service
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected voiddoStart()protected voiddoStop(ServiceStopper stopper) voidexecuteAfterDelay(Runnable task, long redeliveryDelay) voidexecutePeriodically(Runnable task, long period) getName()voidshutdown()Methods inherited from class org.apache.activemq.util.ServiceSupport
addServiceListener, dispose, isStarted, isStopped, isStopping, postStop, preStart, removeServiceListener, start, stop
-
Constructor Details
-
Scheduler
-
-
Method Details
-
executePeriodically
-
cancel
-
executeAfterDelay
-
shutdown
public void shutdown() -
doStart
- Specified by:
doStartin classServiceSupport- Throws:
Exception
-
doStop
- Specified by:
doStopin classServiceSupport- Throws:
Exception
-
getName
-