summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/agent
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2010-01-28 21:38:19 +0000
committerAlan Conway <aconway@apache.org>2010-01-28 21:38:19 +0000
commit9ba42cc7b5b593a94d879894d0d13276d56490aa (patch)
tree9025ebbd90003cb434404ce1be7e47456651fb29 /cpp/src/qpid/agent
parentf1815fef1848e3fe006a9a4c944c6401ad7d6cc2 (diff)
downloadqpid-python-9ba42cc7b5b593a94d879894d0d13276d56490aa.tar.gz
QPID-2357 Broker boot sequence doesn't synchronize when clustered - patch from John Dunning
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@904270 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/agent')
-rw-r--r--cpp/src/qpid/agent/ManagementAgentImpl.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/cpp/src/qpid/agent/ManagementAgentImpl.h b/cpp/src/qpid/agent/ManagementAgentImpl.h
index a876496e98..b1efa1809b 100644
--- a/cpp/src/qpid/agent/ManagementAgentImpl.h
+++ b/cpp/src/qpid/agent/ManagementAgentImpl.h
@@ -82,6 +82,13 @@ class ManagementAgentImpl : public ManagementAgent, public client::MessageListen
uint16_t getInterval() { return interval; }
void periodicProcessing();
+ // these next are here to support the hot-wiring of state between clustered brokers
+ uint64_t getNextObjectId(void) { return nextObjectId; }
+ void setNextObjectId(uint64_t o) { nextObjectId = o; }
+
+ uint16_t getBootSequence(void) { return bootSequence; }
+ void setBootSequence(uint16_t b) { bootSequence = b; }
+
private:
struct SchemaClassKey {