Class LeaderElectionUtils


  • public class LeaderElectionUtils
    extends Object
    LeaderElectionUtils collects helper methods to handle LeaderElection-related issues.
    • Constructor Detail

      • LeaderElectionUtils

        public LeaderElectionUtils()
    • Method Detail

      • 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)