org.apache.hadoop.hdfs.qjournal.protocol

## Interface QJournalProtocolProtos.PrepareRecoveryResponseProtoOrBuilder

- All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
  All Known Implementing Classes:
    QJournalProtocolProtos.PrepareRecoveryResponseProto, QJournalProtocolProtos.PrepareRecoveryResponseProto.Builder
  Enclosing class:
    QJournalProtocolProtos

      public static interface QJournalProtocolProtos.PrepareRecoveryResponseProtoOrBuilder
      extends com.google.protobuf.MessageOrBuilder

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `long` | `getAcceptedInEpoch()` `optional uint64 acceptedInEpoch = 2;`
    `long` | `getLastCommittedTxId()` `optional uint64 lastCommittedTxId = 4;`
    `long` | `getLastWriterEpoch()` `required uint64 lastWriterEpoch = 3;`
    `QJournalProtocolProtos.SegmentStateProto` | `getSegmentState()` `optional .hadoop.hdfs.qjournal.SegmentStateProto segmentState = 1;`
    `QJournalProtocolProtos.SegmentStateProtoOrBuilder` | `getSegmentStateOrBuilder()` `optional .hadoop.hdfs.qjournal.SegmentStateProto segmentState = 1;`
    `boolean` | `hasAcceptedInEpoch()` `optional uint64 acceptedInEpoch = 2;`
    `boolean` | `hasLastCommittedTxId()` `optional uint64 lastCommittedTxId = 4;`
    `boolean` | `hasLastWriterEpoch()` `required uint64 lastWriterEpoch = 3;`
    `boolean` | `hasSegmentState()` `optional .hadoop.hdfs.qjournal.SegmentStateProto segmentState = 1;`

    - ### Methods inherited from interface com.google.protobuf.MessageOrBuilder

      `findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField`

    - ### Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

      `isInitialized`

- - ### Method Detail

    - #### hasSegmentState

          boolean hasSegmentState()

      `optional .hadoop.hdfs.qjournal.SegmentStateProto segmentState = 1;`

    - #### getSegmentState

          QJournalProtocolProtos.SegmentStateProto getSegmentState()

      `optional .hadoop.hdfs.qjournal.SegmentStateProto segmentState = 1;`

    - #### getSegmentStateOrBuilder

          QJournalProtocolProtos.SegmentStateProtoOrBuilder getSegmentStateOrBuilder()

      `optional .hadoop.hdfs.qjournal.SegmentStateProto segmentState = 1;`

    - #### hasAcceptedInEpoch

          boolean hasAcceptedInEpoch()

      `optional uint64 acceptedInEpoch = 2;`

    - #### getAcceptedInEpoch

          long getAcceptedInEpoch()

      `optional uint64 acceptedInEpoch = 2;`

    - #### hasLastWriterEpoch

          boolean hasLastWriterEpoch()

      `required uint64 lastWriterEpoch = 3;`

    - #### getLastWriterEpoch

          long getLastWriterEpoch()

      `required uint64 lastWriterEpoch = 3;`

    - #### hasLastCommittedTxId

          boolean hasLastCommittedTxId()

      `optional uint64 lastCommittedTxId = 4;`

           The highest committed txid that this logger has ever seen.
           This may be higher than the data it actually has, in the case
           that it was lagging before the old writer crashed.

    - #### getLastCommittedTxId

          long getLastCommittedTxId()

      `optional uint64 lastCommittedTxId = 4;`

           The highest committed txid that this logger has ever seen.
           This may be higher than the data it actually has, in the case
           that it was lagging before the old writer crashed.

Copyright © 2008–2022 Apache Software Foundation. All rights reserved.