Class LeaderElectionUtils
java.lang.Object
org.apache.flink.runtime.leaderelection.LeaderElectionUtils
LeaderElectionUtils collects helper methods to handle LeaderElection-related issues.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringconvertToString(UUID sessionId, String address) static StringconvertToString(LeaderInformation leaderInformation) Converts the passedLeaderInformationinto a human-readable representation that can be used in log messages.
-
Constructor Details
-
LeaderElectionUtils
public LeaderElectionUtils()
-
-
Method Details
-
convertToString
Converts the passedLeaderInformationinto a human-readable representation that can be used in log messages. -
convertToString
-