summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2013-01-23 21:58:03 +0000
committerAlan Conway <aconway@apache.org>2013-01-23 21:58:03 +0000
commit9625d5262ce0e73cec98d84ca9f6366646208b42 (patch)
tree36098bc338234ca9fce58847175437b2dd10c605 /java
parenteeb1f321ccc8a0683edc02cbc30ee30db6f98b0b (diff)
downloadqpid-python-9625d5262ce0e73cec98d84ca9f6366646208b42.tar.gz
NO-JIRA: HA refactor, re-organise code for clarity and thread safety.
Introduce Role base class. Primary and Backup are now subclasses of Role. Moved backup/primary specific code from HaBroker to the Backup and Primary roles. HaBroker always holds a single Role, via a thread-safe RoleHolder. RoleHolder ensures atomic transition between roles: the old role is deleted before the new role is created. Membership is now independently thread safe, breaking the potential deadlock between HaBroker and the Roles. Logging improvements and other minor cleanup. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1437771 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions