Package io.dingodb.common
Interface Common.RaftPeerStatusOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Common.RaftPeerStatus,Common.RaftPeerStatus.Builder
- Enclosing class:
- Common
public static interface Common.RaftPeerStatusOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintint32 consecutive_error_times = 7;longint64 flying_append_entries_size = 5;booleanbool installing_snapshot = 2;longint64 last_rpc_send_timestamp = 4;longint64 next_index = 3;longint64 readonly_index = 6;booleangetValid()bool valid = 1;Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getValid
boolean getValid()bool valid = 1;- Returns:
- The valid.
-
getInstallingSnapshot
boolean getInstallingSnapshot()bool installing_snapshot = 2;- Returns:
- The installingSnapshot.
-
getNextIndex
long getNextIndex()int64 next_index = 3;- Returns:
- The nextIndex.
-
getLastRpcSendTimestamp
long getLastRpcSendTimestamp()int64 last_rpc_send_timestamp = 4;- Returns:
- The lastRpcSendTimestamp.
-
getFlyingAppendEntriesSize
long getFlyingAppendEntriesSize()int64 flying_append_entries_size = 5;- Returns:
- The flyingAppendEntriesSize.
-
getReadonlyIndex
long getReadonlyIndex()int64 readonly_index = 6;- Returns:
- The readonlyIndex.
-
getConsecutiveErrorTimes
int getConsecutiveErrorTimes()int32 consecutive_error_times = 7;- Returns:
- The consecutiveErrorTimes.
-