|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||
| Interface Summary | |
|---|---|
| LeaderLatchListener | A LeaderLatchListener can be used to be notified asynchronously about when the state of the LeaderLatch has changed. |
| LeaderSelectorListener | Notification for leadership |
| Class Summary | |
|---|---|
| LeaderLatch | Abstraction to select a "leader" amongst multiple contenders in a group of JMVs connected to a Zookeeper cluster. |
| LeaderSelector | Abstraction to select a "leader" amongst multiple contenders in a group of JMVs connected to a Zookeeper cluster. |
| LeaderSelectorListenerAdapter | An implementation of LeaderSelectorListener that adds the recommended handling
for connection state problems |
| Participant | Describes a participant in a leadership selection |
| Enum Summary | |
|---|---|
| LeaderLatch.CloseMode | How to handle listeners when the latch is closed |
| LeaderLatch.State | |
| Exception Summary | |
|---|---|
| CancelLeadershipException | When thrown from ConnectionStateListener.stateChanged(CuratorFramework, ConnectionState), will
cause LeaderSelector.interruptLeadership() to get called. |
|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||