activemq-cpp-3.4.0
|
A mix-in style interface for marking objects that should be acted upon after a given delay. More...
#include <src/main/decaf/util/concurrent/Delayed.h>
Public Member Functions | |
virtual | ~Delayed () |
virtual long long | getDelay (const TimeUnit &unit)=0 |
Returns the remaining delay associated with this object, in the given time unit. |
A mix-in style interface for marking objects that should be acted upon after a given delay.
An implementation of this interface must define a Comparable methods that provides an ordering consistent with its getDelay method.
virtual decaf::util::concurrent::Delayed::~Delayed | ( | ) | [inline, virtual] |
virtual long long decaf::util::concurrent::Delayed::getDelay | ( | const TimeUnit & | unit | ) | [pure virtual] |
Returns the remaining delay associated with this object, in the given time unit.
unit | The time unit |