Package | Description |
---|---|
eraftpb |
Modifier and Type | Method and Description |
---|---|
Eraftpb.ConfState.Builder |
Eraftpb.ConfState.Builder.addAllLearners(Iterable<? extends Long> values)
repeated uint64 learners = 2; |
Eraftpb.ConfState.Builder |
Eraftpb.ConfState.Builder.addAllLearnersNext(Iterable<? extends Long> values)
The nodes that will become learners when the outgoing config is removed.
|
Eraftpb.ConfState.Builder |
Eraftpb.ConfState.Builder.addAllVoters(Iterable<? extends Long> values)
repeated uint64 voters = 1; |
Eraftpb.ConfState.Builder |
Eraftpb.ConfState.Builder.addAllVotersOutgoing(Iterable<? extends Long> values)
The voters in the outgoing config.
|
Eraftpb.ConfState.Builder |
Eraftpb.ConfState.Builder.addLearners(long value)
repeated uint64 learners = 2; |
Eraftpb.ConfState.Builder |
Eraftpb.ConfState.Builder.addLearnersNext(long value)
The nodes that will become learners when the outgoing config is removed.
|
Eraftpb.ConfState.Builder |
Eraftpb.ConfState.Builder.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Eraftpb.ConfState.Builder |
Eraftpb.ConfState.Builder.addVoters(long value)
repeated uint64 voters = 1; |
Eraftpb.ConfState.Builder |
Eraftpb.ConfState.Builder.addVotersOutgoing(long value)
The voters in the outgoing config.
|
Eraftpb.ConfState.Builder |
Eraftpb.ConfState.Builder.clear() |
Eraftpb.ConfState.Builder |
Eraftpb.ConfState.Builder.clearAutoLeave()
If set, the config is joint and Raft will automatically transition into
the final config (i.e.
|
Eraftpb.ConfState.Builder |
Eraftpb.ConfState.Builder.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Eraftpb.ConfState.Builder |
Eraftpb.ConfState.Builder.clearLearners()
repeated uint64 learners = 2; |
Eraftpb.ConfState.Builder |
Eraftpb.ConfState.Builder.clearLearnersNext()
The nodes that will become learners when the outgoing config is removed.
|
Eraftpb.ConfState.Builder |
Eraftpb.ConfState.Builder.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Eraftpb.ConfState.Builder |
Eraftpb.ConfState.Builder.clearVoters()
repeated uint64 voters = 1; |
Eraftpb.ConfState.Builder |
Eraftpb.ConfState.Builder.clearVotersOutgoing()
The voters in the outgoing config.
|
Eraftpb.ConfState.Builder |
Eraftpb.ConfState.Builder.clone() |
Eraftpb.ConfState.Builder |
Eraftpb.SnapshotMetadata.Builder.getConfStateBuilder()
The current `ConfState`.
|
Eraftpb.ConfState.Builder |
Eraftpb.ConfState.Builder.mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Eraftpb.ConfState.Builder |
Eraftpb.ConfState.Builder.mergeFrom(Eraftpb.ConfState other) |
Eraftpb.ConfState.Builder |
Eraftpb.ConfState.Builder.mergeFrom(com.google.protobuf.Message other) |
Eraftpb.ConfState.Builder |
Eraftpb.ConfState.Builder.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
static Eraftpb.ConfState.Builder |
Eraftpb.ConfState.newBuilder() |
static Eraftpb.ConfState.Builder |
Eraftpb.ConfState.newBuilder(Eraftpb.ConfState prototype) |
Eraftpb.ConfState.Builder |
Eraftpb.ConfState.newBuilderForType() |
protected Eraftpb.ConfState.Builder |
Eraftpb.ConfState.newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
Eraftpb.ConfState.Builder |
Eraftpb.ConfState.Builder.setAutoLeave(boolean value)
If set, the config is joint and Raft will automatically transition into
the final config (i.e.
|
Eraftpb.ConfState.Builder |
Eraftpb.ConfState.Builder.setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Eraftpb.ConfState.Builder |
Eraftpb.ConfState.Builder.setLearners(int index,
long value)
repeated uint64 learners = 2; |
Eraftpb.ConfState.Builder |
Eraftpb.ConfState.Builder.setLearnersNext(int index,
long value)
The nodes that will become learners when the outgoing config is removed.
|
Eraftpb.ConfState.Builder |
Eraftpb.ConfState.Builder.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Eraftpb.ConfState.Builder |
Eraftpb.ConfState.Builder.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Eraftpb.ConfState.Builder |
Eraftpb.ConfState.Builder.setVoters(int index,
long value)
repeated uint64 voters = 1; |
Eraftpb.ConfState.Builder |
Eraftpb.ConfState.Builder.setVotersOutgoing(int index,
long value)
The voters in the outgoing config.
|
Eraftpb.ConfState.Builder |
Eraftpb.ConfState.toBuilder() |
Modifier and Type | Method and Description |
---|---|
Eraftpb.SnapshotMetadata.Builder |
Eraftpb.SnapshotMetadata.Builder.setConfState(Eraftpb.ConfState.Builder builderForValue)
The current `ConfState`.
|
Copyright © 2024 PingCAP. All rights reserved.