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>
Detailed Description
Scheduler class for use in executing Runnable Tasks either periodically or one time only with optional delay.
- Since:
- 3.3.0
Constructor & Destructor Documentation
activemq::threads::Scheduler::Scheduler |
( |
const std::string & |
name | ) |
|
virtual activemq::threads::Scheduler::~Scheduler |
( |
| ) |
[virtual] |
Member Function Documentation
virtual void activemq::threads::Scheduler::doStart |
( |
| ) |
[protected, virtual] |
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.
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.
void activemq::threads::Scheduler::executeAfterDelay |
( |
decaf::lang::Runnable * |
task, |
|
|
long long |
delay, |
|
|
bool |
ownsTask = true |
|
) |
| |
void activemq::threads::Scheduler::executePeriodically |
( |
decaf::lang::Runnable * |
task, |
|
|
long long |
period, |
|
|
bool |
ownsTask = true |
|
) |
| |
void activemq::threads::Scheduler::schedualPeriodically |
( |
decaf::lang::Runnable * |
task, |
|
|
long long |
period, |
|
|
bool |
ownsTask = true |
|
) |
| |
void activemq::threads::Scheduler::shutdown |
( |
| ) |
|
The documentation for this class was generated from the following file: