public class LeaderElectionUtils extends Object
LeaderElectionUtils collects helper methods to handle LeaderElection-related issues.| Constructor and Description |
|---|
LeaderElectionUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
convertToString(LeaderInformation leaderInformation)
Converts the passed
LeaderInformation into a human-readable representation that can
be used in log messages. |
static String |
convertToString(UUID sessionId,
String address) |
public static String convertToString(LeaderInformation leaderInformation)
LeaderInformation into a human-readable representation that can
be used in log messages.Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.