Scheduler class for use in executing Runnable Tasks either periodically or one time only with optional delay.
More...
#include <src/main/activemq/threads/Scheduler.h>
|
| virtual void | doStart () |
| | Performs the actual start operation on the service, acquiring all the resources needed to run the service.
|
| |
| virtual void | doStop (activemq::util::ServiceStopper *stopper) |
| | Performs the actual stop operation on the service, ensuring that all resources held are released, must be implemented in derived class.
|
| |
| virtual void | doStop (ServiceStopper *stopper)=0 |
| | Performs the actual stop operation on the service, ensuring that all resources held are released, must be implemented in derived class.
|
| |
| virtual void | doStart ()=0 |
| | Performs the actual start operation on the service, acquiring all the resources needed to run the service.
|
| |
Scheduler class for use in executing Runnable Tasks either periodically or one time only with optional delay.
- Since
- 3.3.0
◆ Scheduler()
| activemq::threads::Scheduler::Scheduler |
( |
const std::string & |
name | ) |
|
◆ ~Scheduler()
| virtual activemq::threads::Scheduler::~Scheduler |
( |
| ) |
|
|
virtual |
◆ cancel()
◆ doStart()
| virtual void activemq::threads::Scheduler::doStart |
( |
| ) |
|
|
protectedvirtual |
Performs the actual start operation on the service, acquiring all the resources needed to run the service.
Must be implemented in derived class.
Implements activemq::util::ServiceSupport.
◆ doStop()
Performs the actual stop operation on the service, ensuring that all resources held are released, must be implemented in derived class.
Implements activemq::util::ServiceSupport.
◆ executeAfterDelay()
| void activemq::threads::Scheduler::executeAfterDelay |
( |
decaf::lang::Runnable * |
task, |
|
|
long long |
delay, |
|
|
bool |
ownsTask = true |
|
) |
| |
◆ executePeriodically()
| void activemq::threads::Scheduler::executePeriodically |
( |
decaf::lang::Runnable * |
task, |
|
|
long long |
period, |
|
|
bool |
ownsTask = true |
|
) |
| |
◆ schedualPeriodically()
| void activemq::threads::Scheduler::schedualPeriodically |
( |
decaf::lang::Runnable * |
task, |
|
|
long long |
period, |
|
|
bool |
ownsTask = true |
|
) |
| |
◆ shutdown()
| void activemq::threads::Scheduler::shutdown |
( |
| ) |
|
The documentation for this class was generated from the following file: