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 Type
    Method
    Description
    int
    int32 consecutive_error_times = 7;
    long
    int64 flying_append_entries_size = 5;
    boolean
    bool installing_snapshot = 2;
    long
    int64 last_rpc_send_timestamp = 4;
    long
    int64 next_index = 3;
    long
    int64 readonly_index = 6;
    boolean
    bool valid = 1;

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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.