summaryrefslogtreecommitdiff
path: root/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
commit38391a64c2e4c091f92fecb62914b2428749806b (patch)
tree8cec03c9f926d2b6d45ce8d4baf9070779824306 /cpp/xml
parent1297c818282f26838776df418d846e07457a7f7f (diff)
downloadqpid-python-38391a64c2e4c091f92fecb62914b2428749806b.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/qpid@903867 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/xml')
-rw-r--r--cpp/xml/cluster.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/cpp/xml/cluster.xml b/cpp/xml/cluster.xml
index 06f5478583..8513476d06 100644
--- a/cpp/xml/cluster.xml
+++ b/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"/>