#include <src/main/activemq/threads/TaskRunner.h>
Public Member Functions |
virtual | ~TaskRunner () |
virtual void | start ()=0 |
| Starts the task runner.
|
virtual bool | isStarted () const =0 |
| true if the start method has been called.
|
virtual void | shutdown (long long timeout)=0 |
| Shutdown after a timeout, does not guarantee that the task's iterate method has completed and the thread halted.
|
virtual void | shutdown ()=0 |
| Shutdown once the task has finished and the TaskRunner's thread has exited.
|
virtual void | wakeup ()=0 |
| Signal the TaskRunner to wakeup and execute another iteration cycle on the task, the Task instance will be run until its iterate method has returned false indicating it is done.
|
Constructor & Destructor Documentation
virtual activemq::threads::TaskRunner::~TaskRunner |
( |
| ) |
|
|
virtual |
Member Function Documentation
virtual bool activemq::threads::TaskRunner::isStarted |
( |
| ) |
const |
|
pure virtual |
virtual void activemq::threads::TaskRunner::shutdown |
( |
long long |
timeout | ) |
|
|
pure virtual |
virtual void activemq::threads::TaskRunner::shutdown |
( |
| ) |
|
|
pure virtual |
virtual void activemq::threads::TaskRunner::start |
( |
| ) |
|
|
pure virtual |
virtual void activemq::threads::TaskRunner::wakeup |
( |
| ) |
|
|
pure virtual |
The documentation for this class was generated from the following file: