Interface | Description |
---|---|
LeaderRetrievalDriver |
A
LeaderRetrievalDriver is responsible for retrieves the current leader which has been
elected by the LeaderElectionDriver . |
LeaderRetrievalDriverFactory |
Factory for creating
LeaderRetrievalDriver with different implementation. |
LeaderRetrievalEventHandler |
Interface which should be implemented to notify to
LeaderInformation changes in LeaderRetrievalDriver . |
LeaderRetrievalListener |
Classes which want to be notified about a changing leader by the
LeaderRetrievalService
have to implement this interface. |
LeaderRetrievalService |
This interface has to be implemented by a service which retrieves the current leader and notifies
a listener about it.
|
Class | Description |
---|---|
DefaultLeaderRetrievalService |
The counterpart to the
DefaultLeaderElectionService . |
StandaloneLeaderRetrievalService |
Standalone implementation of the
LeaderRetrievalService . |
ZooKeeperLeaderRetrievalDriver |
The counterpart to the
ZooKeeperLeaderElectionDriver . |
ZooKeeperLeaderRetrievalDriverFactory |
LeaderRetrievalDriverFactory implementation for Zookeeper. |
Enum | Description |
---|---|
ZooKeeperLeaderRetrievalDriver.LeaderInformationClearancePolicy |
Policy when to clear the leader information and to notify the listener about it.
|
Exception | Description |
---|---|
LeaderRetrievalException |
This exception is thrown by the
LeaderRetrievalUtils when
the method retrieveLeaderGateway fails to retrieve the current leader's gateway. |
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.