diff options
Diffstat (limited to 'cpp/src/qpid/sys/Timer.h')
| -rw-r--r-- | cpp/src/qpid/sys/Timer.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cpp/src/qpid/sys/Timer.h b/cpp/src/qpid/sys/Timer.h index 5748503841..303d44a299 100644 --- a/cpp/src/qpid/sys/Timer.h +++ b/cpp/src/qpid/sys/Timer.h @@ -69,6 +69,12 @@ protected: bool operator<(const boost::intrusive_ptr<TimerTask>& a, const boost::intrusive_ptr<TimerTask>& b); +/** + A timer to trigger tasks that are local to one broker. + + For periodic tasks that should be synchronized across all brokers + in a cluster, use qpid::sys::PeriodicTimer. + */ class Timer : private Runnable { qpid::sys::Monitor monitor; std::priority_queue<boost::intrusive_ptr<TimerTask> > tasks; |
