Uses of Class
org.apache.flink.runtime.leaderelection.LeaderInformationRegister
-
Packages that use LeaderInformationRegister Package Description org.apache.flink.runtime.leaderelection -
-
Uses of LeaderInformationRegister in org.apache.flink.runtime.leaderelection
Methods in org.apache.flink.runtime.leaderelection that return LeaderInformationRegister Modifier and Type Method Description static LeaderInformationRegisterLeaderInformationRegister. clear(LeaderInformationRegister leaderInformationRegister, String componentId)Creates a newLeaderInformationRegisterthat matches the passedLeaderInformationRegisterexcept for the entry ofcomponentIdwhich is removed if it existed.static LeaderInformationRegisterLeaderInformationRegister. empty()static LeaderInformationRegisterLeaderInformationRegister. merge(LeaderInformationRegister leaderInformationRegister, String componentId, LeaderInformation leaderInformation)Merges anotherLeaderInformationRegisterwith additional leader information into a newLeaderInformationRegisterinstance.static LeaderInformationRegisterLeaderInformationRegister. of(String componentId, LeaderInformation leaderInformation)Creates a single-entry instance containing only the passed information.Methods in org.apache.flink.runtime.leaderelection with parameters of type LeaderInformationRegister Modifier and Type Method Description static LeaderInformationRegisterLeaderInformationRegister. clear(LeaderInformationRegister leaderInformationRegister, String componentId)Creates a newLeaderInformationRegisterthat matches the passedLeaderInformationRegisterexcept for the entry ofcomponentIdwhich is removed if it existed.static LeaderInformationRegisterLeaderInformationRegister. merge(LeaderInformationRegister leaderInformationRegister, String componentId, LeaderInformation leaderInformation)Merges anotherLeaderInformationRegisterwith additional leader information into a newLeaderInformationRegisterinstance.voidDefaultLeaderElectionService. onLeaderInformationChange(LeaderInformationRegister changedLeaderInformation)voidLeaderElectionDriver.Listener. onLeaderInformationChange(LeaderInformationRegister leaderInformationRegister)Notifies the listener about all currently known leader information.
-