activemq-cpp-3.6.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 |
|
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::threads::CompositeTaskRunner, activemq::transport::failover::BackupTransportPool, and activemq::transport::failover::CloseTransportsTask.