Interface | Description |
---|---|
LeaderLatchListener |
A LeaderLatchListener can be used to be notified asynchronously about when the state of the LeaderLatch has changed.
|
LeaderSelectorListener |
Notification for leadership
|
Class | Description |
---|---|
LeaderLatch |
Abstraction to select a "leader" amongst multiple contenders in a group of JVMs 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 | Description |
---|---|
LeaderLatch.CloseMode |
How to handle listeners when the latch is closed
|
LeaderLatch.State |
Exception | Description |
---|---|
CancelLeadershipException |
When thrown from
ConnectionStateListener.stateChanged(CuratorFramework, ConnectionState) , will
cause LeaderSelector.interruptLeadership() to get called. |
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.