activemq-cpp-3.4.0
|
Represents a single task that can be part of a set of Tasks that are contained in a CompositeTaskRunner
.
More...
#include <src/main/activemq/threads/CompositeTask.h>
Public Member Functions | |
virtual | ~CompositeTask () |
virtual bool | isPending () const =0 |
Indicates whether this task has any pending work that needs to be done, if not then it is skipped and the next Task in the CompositeTaskRunner's list of tasks is checked, if none of the tasks have any pending work to do, then the runner can go to sleep until it awakened by a call to wakeup . |
Represents a single task that can be part of a set of Tasks that are contained in a CompositeTaskRunner
.
virtual activemq::threads::CompositeTask::~CompositeTask | ( | ) | [inline, virtual] |
virtual bool activemq::threads::CompositeTask::isPending | ( | ) | const [pure virtual] |
Indicates whether this task has any pending work that needs to be done, if not then it is skipped and the next Task in the CompositeTaskRunner's list of tasks is checked, if none of the tasks have any pending work to do, then the runner can go to sleep until it awakened by a call to wakeup
.
Implemented in activemq::transport::failover::BackupTransportPool, activemq::transport::failover::CloseTransportsTask, and activemq::transport::failover::FailoverTransport.