public class BaseSlotStatus extends Object implements Serializable
Feb 24, 2021
| 限定符和类型 | 类和说明 |
|---|---|
static class |
BaseSlotStatus.LeaderStatus |
| 限定符和类型 | 字段和说明 |
|---|---|
protected Slot.Role |
role |
protected String |
server |
protected int |
slotId |
protected long |
slotLeaderEpoch |
| 构造器和说明 |
|---|
BaseSlotStatus(int slotId,
long slotLeaderEpoch,
Slot.Role role,
String server)
Constructor.
|
protected final int slotId
protected final long slotLeaderEpoch
protected final Slot.Role role
protected final String server
public int getSlotId()
public long getSlotLeaderEpoch()
public Slot.Role getRole()
public String getServer()
Copyright © 2023 The Ant Financial. All rights reserved.