summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/qpid/cluster/ClusterTimer.h
diff options
context:
space:
mode:
Diffstat (limited to 'qpid/cpp/src/qpid/cluster/ClusterTimer.h')
-rw-r--r--qpid/cpp/src/qpid/cluster/ClusterTimer.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/qpid/cpp/src/qpid/cluster/ClusterTimer.h b/qpid/cpp/src/qpid/cluster/ClusterTimer.h
index 395e505451..69f6c622e4 100644
--- a/qpid/cpp/src/qpid/cluster/ClusterTimer.h
+++ b/qpid/cpp/src/qpid/cluster/ClusterTimer.h
@@ -30,6 +30,12 @@ namespace cluster {
class Cluster;
+/**
+ * Timer implementation that executes tasks consistently in the
+ * deliver thread across a cluster. Task is not executed when timer
+ * fires, instead the elder multicasts a wakeup. The task is executed
+ * when the wakeup is delivered.
+ */
class ClusterTimer : public sys::Timer {
public:
ClusterTimer(Cluster&);