Merge branch 'CURATOR-110'
Project: http://git-wip-us.apache.org/repos/asf/curator/repo Commit: http://git-wip-us.apache.org/repos/asf/curator/commit/5d7d0c7f Tree: http://git-wip-us.apache.org/repos/asf/curator/tree/5d7d0c7f Diff: http://git-wip-us.apache.org/repos/asf/curator/diff/5d7d0c7f Branch: refs/heads/master Commit: 5d7d0c7f1430dde06cef8800bca3f035dd707c0d Parents: d4af5c5 bac23d3 Author: randgalt <[email protected]> Authored: Tue Jun 17 18:02:55 2014 -0500 Committer: randgalt <[email protected]> Committed: Tue Jun 17 18:02:55 2014 -0500 ---------------------------------------------------------------------- .../org/apache/curator/utils/ThreadUtils.java | 9 + .../curator/framework/CuratorFramework.java | 20 ++ .../framework/imps/CuratorFrameworkImpl.java | 225 ++++++++---------- .../framework/state/ConnectionState.java | 45 +++- .../framework/state/ConnectionStateManager.java | 37 +++ .../framework/imps/TestBlockUntilConnected.java | 235 +++++++++++++++++++ .../recipes/AfterConnectionEstablished.java | 74 ++++++ .../framework/recipes/leader/LeaderLatch.java | 153 +++++++----- .../recipes/leader/TestLeaderLatch.java | 125 +++++++++- 9 files changed, 739 insertions(+), 184 deletions(-) ----------------------------------------------------------------------
