public static class AbstractLeaderElector.LeaderInfo extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static AbstractLeaderElector.LeaderInfo |
HAS_NO_LEADER |
| 构造器和说明 |
|---|
LeaderInfo(long epoch,
String leader,
long expireTimestamp) |
public static final AbstractLeaderElector.LeaderInfo HAS_NO_LEADER
public LeaderInfo(long epoch,
String leader,
long expireTimestamp)
public long getEpoch()
public String getLeader()
public long getExpireTimestamp()
Copyright © 2023 The Ant Financial. All rights reserved.