|
activemq-cpp-3.3.0
|
Represents a unit of work that requires one or more iterations to complete. More...
#include <src/main/activemq/threads/Task.h>

Public Member Functions | |
| virtual | ~Task () |
| virtual bool | iterate ()=0 |
| Perform one iteration of work, returns true if the task needs to run again to complete or false to indicate that the task is now complete. | |
Represents a unit of work that requires one or more iterations to complete.
| virtual activemq::threads::Task::~Task | ( | ) | [inline, virtual] |
| virtual bool activemq::threads::Task::iterate | ( | ) | [pure virtual] |
Perform one iteration of work, returns true if the task needs to run again to complete or false to indicate that the task is now complete.
Implemented in activemq::core::ActiveMQSessionExecutor, activemq::threads::CompositeTaskRunner, activemq::transport::failover::BackupTransportPool, activemq::transport::failover::CloseTransportsTask, and activemq::transport::failover::FailoverTransport.