Class LeaderElectionUtils
- java.lang.Object
-
- org.apache.flink.runtime.leaderelection.LeaderElectionUtils
-
public class LeaderElectionUtils extends Object
LeaderElectionUtils
collects 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 String
convertToString(UUID sessionId, String address)
static String
convertToString(LeaderInformation leaderInformation)
Converts the passedLeaderInformation
into a human-readable representation that can be used in log messages.
-
-
-
Method Detail
-
convertToString
public static String convertToString(LeaderInformation leaderInformation)
Converts the passedLeaderInformation
into a human-readable representation that can be used in log messages.
-
-