public static interface Eraftpb.ConfStateOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
boolean |
getAutoLeave()
If set, the config is joint and Raft will automatically transition into
the final config (i.e.
|
long |
getLearners(int index)
repeated uint64 learners = 2; |
int |
getLearnersCount()
repeated uint64 learners = 2; |
List<Long> |
getLearnersList()
repeated uint64 learners = 2; |
long |
getLearnersNext(int index)
The nodes that will become learners when the outgoing config is removed.
|
int |
getLearnersNextCount()
The nodes that will become learners when the outgoing config is removed.
|
List<Long> |
getLearnersNextList()
The nodes that will become learners when the outgoing config is removed.
|
long |
getVoters(int index)
repeated uint64 voters = 1; |
int |
getVotersCount()
repeated uint64 voters = 1; |
List<Long> |
getVotersList()
repeated uint64 voters = 1; |
long |
getVotersOutgoing(int index)
The voters in the outgoing config.
|
int |
getVotersOutgoingCount()
The voters in the outgoing config.
|
List<Long> |
getVotersOutgoingList()
The voters in the outgoing config.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
int getVotersCount()
repeated uint64 voters = 1;
long getVoters(int index)
repeated uint64 voters = 1;
int getLearnersCount()
repeated uint64 learners = 2;
long getLearners(int index)
repeated uint64 learners = 2;
List<Long> getVotersOutgoingList()
The voters in the outgoing config. If not empty the node is in joint consensus.
repeated uint64 voters_outgoing = 3;
int getVotersOutgoingCount()
The voters in the outgoing config. If not empty the node is in joint consensus.
repeated uint64 voters_outgoing = 3;
long getVotersOutgoing(int index)
The voters in the outgoing config. If not empty the node is in joint consensus.
repeated uint64 voters_outgoing = 3;
List<Long> getLearnersNextList()
The nodes that will become learners when the outgoing config is removed. These nodes are necessarily currently in nodes_joint (or they would have been added to the incoming config right away).
repeated uint64 learners_next = 4;
int getLearnersNextCount()
The nodes that will become learners when the outgoing config is removed. These nodes are necessarily currently in nodes_joint (or they would have been added to the incoming config right away).
repeated uint64 learners_next = 4;
long getLearnersNext(int index)
The nodes that will become learners when the outgoing config is removed. These nodes are necessarily currently in nodes_joint (or they would have been added to the incoming config right away).
repeated uint64 learners_next = 4;
boolean getAutoLeave()
If set, the config is joint and Raft will automatically transition into the final config (i.e. remove the outgoing config) when this is safe.
bool auto_leave = 5;
Copyright © 2022 PingCAP. All rights reserved.