Uses of Class
org.apache.flink.runtime.leaderelection.LeaderInformationRegister
Packages that use LeaderInformationRegister
-
Uses of LeaderInformationRegister in org.apache.flink.runtime.leaderelection
Methods in org.apache.flink.runtime.leaderelection that return LeaderInformationRegisterModifier and TypeMethodDescriptionstatic 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 LeaderInformationRegisterModifier and TypeMethodDescriptionstatic 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.