summaryrefslogtreecommitdiff
path: root/qpid/java/jca
diff options
context:
space:
mode:
authorKeith Wall <kwall@apache.org>2014-03-26 12:04:47 +0000
committerKeith Wall <kwall@apache.org>2014-03-26 12:04:47 +0000
commit2d36d9dc8d71d3db215ee58591d875c36e54a246 (patch)
treef2ba0347432606f4cd2ad3ce5fb75db066f4c26e /qpid/java/jca
parent51dc0c2df39ec85b1685845ca839b689aaa5f8b9 (diff)
downloadqpid-python-2d36d9dc8d71d3db215ee58591d875c36e54a246.tar.gz
QPID-5410: [Java Broker/BDB]. Introduce a thin facade (EnvironmentFacade) between the BDBMessage and BDB JE's Environment/ReplicatedEnvironment. The motivation behind this facade is principally HA; there are a number of cases where JE requires the ReplicatedEnvironment is recreated. The facade layer allows for this to be done transparently from the upper tiers (the BDBMessageStore). The facade has two implementations StandardFacade used in the non-HA use case, and ReplicatedEnvironmentFacade in the HA case.
Key changes: * BDBMessageStore reverts to a single implementation without knowledge of HA. * BDBMessageStore now interacts with JE via the facade. * BDBHAVirtualHost is now responsible for the creation of ReplicatedEnvironmentFacade * BDBHAMessageStoreManagerMBean interrogates the facade * ReplicatedEnvironmentFacade monitors the group for changes in state (nodes becoming uncontactable etc), if such a state change is detected, the DatabasePinger fires a single transaction to determine if quorum still exists. If quorum does not exist, the environment is restarted, thus transition the environment into the UNKNOWN state. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1581797 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/jca')
0 files changed, 0 insertions, 0 deletions