Package org.apache.flink.runtime.leaderelection
package org.apache.flink.runtime.leaderelection
-
ClassDescriptionDefault implementation for leader election service.Interface which has to be implemented to take part in the leader election process of the
LeaderElectionService.A leader election driver that allows to writeLeaderInformationfor multiple components.Listener interface for state changes of theLeaderElectionDriver.Factory forLeaderElectionDriver.This exception is used in leader election-related scenarios.Interface for a service which allows to elect a leader among a group of contenders.LeaderElectionUtilscollects helper methods to handle LeaderElection-related issues.Information about leader including the confirmed leader session id and leader address.A register containing theLeaderInformationfor multiple contenders based on theircomponentId.This exception is used in the scenario that the leadership is lost.StandaloneLeaderElectionimplementsLeaderElectionfor non-HA cases.ZooKeeper basedLeaderElectionDriverimplementation.Factory forZooKeeperLeaderElectionDriver.