public class LeaderElectionUtils extends Object
LeaderElectionUtils collects helper methods to handle LeaderElection-related issues.| 构造器和说明 |
|---|
LeaderElectionUtils() |
| 限定符和类型 | 方法和说明 |
|---|---|
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–2024 The Apache Software Foundation. All rights reserved.