summaryrefslogtreecommitdiff
path: root/qpid/cpp/xml
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2010-01-27 22:21:02 +0000
committerAlan Conway <aconway@apache.org>2010-01-27 22:21:02 +0000
commit54dec7ec3d992f9d29034a9f9f317337ac8c932d (patch)
treec42d993be9fa91bafbfeea0b839053310549fb46 /qpid/cpp/xml
parent57b7cdbd9e431291eb336b8de7998b91eb414d78 (diff)
downloadqpid-python-54dec7ec3d992f9d29034a9f9f317337ac8c932d.tar.gz
Cluster implementation of PeriodicTimer.
The cluster implementation multicast periodic-timer controls and executes the task when those controls are delivered, which is in the cluster delivery thread context and so consistent across the cluster. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@903867 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/xml')
-rw-r--r--qpid/cpp/xml/cluster.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/qpid/cpp/xml/cluster.xml b/qpid/cpp/xml/cluster.xml
index 06f5478583..8513476d06 100644
--- a/qpid/cpp/xml/cluster.xml
+++ b/qpid/cpp/xml/cluster.xml
@@ -95,6 +95,11 @@
<field name="frame-seq" type="sequence-no"/>
</control>
+ <!-- Synchronize periodic timer tasks across the cluster -->
+ <control name="periodic-timer" code="0x15">
+ <field name="name" type="str16"/>
+ </control>
+
<!-- Shut down the entire cluster -->
<control name="shutdown" code="0x20">
<field name="shutdown-id" type="uuid"/>