Package org.apache.curator.framework.recipes.leader
package org.apache.curator.framework.recipes.leader
-
ClassDescriptionWhen thrown from
ConnectionStateListener.stateChanged(CuratorFramework, ConnectionState)
, will causeLeaderSelector.interruptLeadership()
to get called.Abstraction to select a "leader" amongst multiple contenders in a group of JVMs connected to a Zookeeper cluster.How to handle listeners when the latch is closedA LeaderLatchListener can be used to be notified asynchronously about when the state of the LeaderLatch has changed.Abstraction to select a "leader" amongst multiple contenders in a group of JMVs connected to a Zookeeper cluster.Notification for leadershipAn implementation ofLeaderSelectorListener
that adds the recommended handling for connection state problemsDescribes a participant in a leadership selection