Interface QJournalProtocolProtos.RequestInfoProtoOrBuilder

All Superinterfaces:
org.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilder, org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
All Known Implementing Classes:
QJournalProtocolProtos.RequestInfoProto, QJournalProtocolProtos.RequestInfoProto.Builder
Enclosing class:
QJournalProtocolProtos

public static interface QJournalProtocolProtos.RequestInfoProtoOrBuilder extends org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Whenever a writer makes a request, it informs the node of the latest committed txid.
    long
    required uint64 epoch = 2;
    long
    required uint64 ipcSerialNumber = 3;
    required .hadoop.hdfs.qjournal.JournalIdProto journalId = 1;
    required .hadoop.hdfs.qjournal.JournalIdProto journalId = 1;
    optional string nameServiceId = 5;
    org.apache.hadoop.thirdparty.protobuf.ByteString
    optional string nameServiceId = 5;
    boolean
    Whenever a writer makes a request, it informs the node of the latest committed txid.
    boolean
    required uint64 epoch = 2;
    boolean
    required uint64 ipcSerialNumber = 3;
    boolean
    required .hadoop.hdfs.qjournal.JournalIdProto journalId = 1;
    boolean
    optional string nameServiceId = 5;

    Methods inherited from interface org.apache.hadoop.thirdparty.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface org.apache.hadoop.thirdparty.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasJournalId

      boolean hasJournalId()
      required .hadoop.hdfs.qjournal.JournalIdProto journalId = 1;
      Returns:
      Whether the journalId field is set.
    • getJournalId

      required .hadoop.hdfs.qjournal.JournalIdProto journalId = 1;
      Returns:
      The journalId.
    • getJournalIdOrBuilder

      required .hadoop.hdfs.qjournal.JournalIdProto journalId = 1;
    • hasEpoch

      boolean hasEpoch()
      required uint64 epoch = 2;
      Returns:
      Whether the epoch field is set.
    • getEpoch

      long getEpoch()
      required uint64 epoch = 2;
      Returns:
      The epoch.
    • hasIpcSerialNumber

      boolean hasIpcSerialNumber()
      required uint64 ipcSerialNumber = 3;
      Returns:
      Whether the ipcSerialNumber field is set.
    • getIpcSerialNumber

      long getIpcSerialNumber()
      required uint64 ipcSerialNumber = 3;
      Returns:
      The ipcSerialNumber.
    • hasCommittedTxId

      boolean hasCommittedTxId()
       Whenever a writer makes a request, it informs
       the node of the latest committed txid. This may
       be higher than the transaction data included in the
       request itself, eg in the case that the node has
       fallen behind.
       
      optional uint64 committedTxId = 4;
      Returns:
      Whether the committedTxId field is set.
    • getCommittedTxId

      long getCommittedTxId()
       Whenever a writer makes a request, it informs
       the node of the latest committed txid. This may
       be higher than the transaction data included in the
       request itself, eg in the case that the node has
       fallen behind.
       
      optional uint64 committedTxId = 4;
      Returns:
      The committedTxId.
    • hasNameServiceId

      boolean hasNameServiceId()
      optional string nameServiceId = 5;
      Returns:
      Whether the nameServiceId field is set.
    • getNameServiceId

      String getNameServiceId()
      optional string nameServiceId = 5;
      Returns:
      The nameServiceId.
    • getNameServiceIdBytes

      org.apache.hadoop.thirdparty.protobuf.ByteString getNameServiceIdBytes()
      optional string nameServiceId = 5;
      Returns:
      The bytes for nameServiceId.