Interface | Description |
---|---|
LeaderContender |
Interface which has to be implemented to take part in the leader election process of the
LeaderElectionService . |
LeaderElection | |
LeaderElectionDriver |
A leader election driver that allows to write
LeaderInformation for multiple components. |
LeaderElectionDriver.Listener |
Listener interface for state changes of the
LeaderElectionDriver . |
LeaderElectionDriverFactory |
Factory for
LeaderElectionDriver . |
LeaderElectionService |
Interface for a service which allows to elect a leader among a group of contenders.
|
Class | Description |
---|---|
DefaultLeaderElectionService |
Default implementation for leader election service.
|
LeaderElectionUtils |
LeaderElectionUtils collects helper methods to handle LeaderElection-related issues. |
LeaderInformation |
Information about leader including the confirmed leader session id and leader address.
|
LeaderInformationRegister |
A register containing the
LeaderInformation for multiple contenders based on their componentId . |
StandaloneLeaderElection |
StandaloneLeaderElection implements LeaderElection for non-HA cases. |
ZooKeeperLeaderElectionDriver |
ZooKeeper based
LeaderElectionDriver implementation. |
ZooKeeperLeaderElectionDriverFactory |
Factory for
ZooKeeperLeaderElectionDriver . |
Exception | Description |
---|---|
LeaderElectionException |
This exception is used in leader election-related scenarios.
|
LeadershipLostException |
This exception is used in the scenario that the leadership is lost.
|
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.