Package org.apache.flink.runtime.leaderretrieval
-
Interface Summary Interface Description LeaderRetrievalDriver ALeaderRetrievalDriveris responsible for retrieves the current leader which has been elected by theLeaderElectionDriver.LeaderRetrievalDriverFactory Factory for creatingLeaderRetrievalDriverwith different implementation.LeaderRetrievalEventHandler Interface which should be implemented to notify toLeaderInformationchanges inLeaderRetrievalDriver.LeaderRetrievalListener Classes which want to be notified about a changing leader by theLeaderRetrievalServicehave 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 Summary Class Description DefaultLeaderRetrievalService The counterpart to theDefaultLeaderElectionService.StandaloneLeaderRetrievalService Standalone implementation of theLeaderRetrievalService.ZooKeeperLeaderRetrievalDriver The counterpart to theZooKeeperLeaderElectionDriver.ZooKeeperLeaderRetrievalDriverFactory LeaderRetrievalDriverFactoryimplementation for Zookeeper. -
Enum Summary Enum Description ZooKeeperLeaderRetrievalDriver.LeaderInformationClearancePolicy Policy when to clear the leader information and to notify the listener about it. -
Exception Summary Exception Description LeaderRetrievalException This exception is thrown by theLeaderRetrievalUtilswhen the method retrieveLeaderGateway fails to retrieve the current leader's gateway.