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