Package org.apache.flink.runtime.leaderretrieval
package org.apache.flink.runtime.leaderretrieval
-
ClassDescriptionThe counterpart to the
DefaultLeaderElectionService.ALeaderRetrievalDriveris responsible for retrieves the current leader which has been elected by theLeaderElectionDriver.Factory for creatingLeaderRetrievalDriverwith different implementation.Interface which should be implemented to notify toLeaderInformationchanges inLeaderRetrievalDriver.This exception is thrown by theLeaderRetrievalUtilswhen the method retrieveLeaderGateway fails to retrieve the current leader's gateway.Classes which want to be notified about a changing leader by theLeaderRetrievalServicehave to implement this interface.This interface has to be implemented by a service which retrieves the current leader and notifies a listener about it.Standalone implementation of theLeaderRetrievalService.The counterpart to theZooKeeperLeaderElectionDriver.Policy when to clear the leader information and to notify the listener about it.LeaderRetrievalDriverFactoryimplementation for Zookeeper.