public static interface EloquentRaftProto.InstallSnapshotRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
com.google.protobuf.ByteString |
getData()
raw bytes of the snapshot
|
java.lang.String |
getLastConfig(int index)
The latest cluster configuration as of lastIndex (included only with the first chunk)
|
com.google.protobuf.ByteString |
getLastConfigBytes(int index)
The latest cluster configuration as of lastIndex (included only with the first chunk)
|
int |
getLastConfigCount()
The latest cluster configuration as of lastIndex (included only with the first chunk)
|
java.util.List<java.lang.String> |
getLastConfigList()
The latest cluster configuration as of lastIndex (included only with the first chunk)
|
long |
getLastIndex()
The snapshot replaces all entries up through and including this index
|
long |
getLastTerm()
The term of lastIndex
|
java.lang.String |
getLeaderName()
So the follower can redirect clients
|
com.google.protobuf.ByteString |
getLeaderNameBytes()
So the follower can redirect clients
|
long |
getTerm()
Leader's term
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneoflong getTerm()
Leader's term
uint64 term = 1;java.lang.String getLeaderName()
So the follower can redirect clients
string leaderName = 2;com.google.protobuf.ByteString getLeaderNameBytes()
So the follower can redirect clients
string leaderName = 2;long getLastIndex()
The snapshot replaces all entries up through and including this index
uint64 lastIndex = 3;long getLastTerm()
The term of lastIndex
uint64 lastTerm = 4;java.util.List<java.lang.String> getLastConfigList()
The latest cluster configuration as of lastIndex (included only with the first chunk)
repeated string lastConfig = 5;int getLastConfigCount()
The latest cluster configuration as of lastIndex (included only with the first chunk)
repeated string lastConfig = 5;java.lang.String getLastConfig(int index)
The latest cluster configuration as of lastIndex (included only with the first chunk)
repeated string lastConfig = 5;com.google.protobuf.ByteString getLastConfigBytes(int index)
The latest cluster configuration as of lastIndex (included only with the first chunk)
repeated string lastConfig = 5;com.google.protobuf.ByteString getData()
raw bytes of the snapshot
bytes data = 6;