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 Details

    • LeaderElectionUtils

      public LeaderElectionUtils()
  • Method Details

    • convertToString

      public static String convertToString(LeaderInformation leaderInformation)
      Converts the passed LeaderInformation into a human-readable representation that can be used in log messages.
    • convertToString

      public static String convertToString(UUID sessionId, String address)