activemq-cpp-3.9.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. More... | |
Represents a unit of work that requires one or more iterations to complete.
|
virtual |
|
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::transport::failover::FailoverTransport, activemq::core::ActiveMQSessionExecutor, activemq::transport::failover::BackupTransportPool, activemq::threads::CompositeTaskRunner, and activemq::transport::failover::CloseTransportsTask.