org.apache.hadoop.hdfs.qjournal.protocol
Interface QJournalProtocolProtos.RequestInfoProtoOrBuilder

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

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


Method Summary
 long getCommittedTxId()
          optional uint64 committedTxId = 4;
 long getEpoch()
          required uint64 epoch = 2;
 long getIpcSerialNumber()
          required uint64 ipcSerialNumber = 3;
 QJournalProtocolProtos.JournalIdProto getJournalId()
          required .hadoop.hdfs.JournalIdProto journalId = 1;
 QJournalProtocolProtos.JournalIdProtoOrBuilder getJournalIdOrBuilder()
          required .hadoop.hdfs.JournalIdProto journalId = 1;
 boolean hasCommittedTxId()
          optional uint64 committedTxId = 4;
 boolean hasEpoch()
          required uint64 epoch = 2;
 boolean hasIpcSerialNumber()
          required uint64 ipcSerialNumber = 3;
 boolean hasJournalId()
          required .hadoop.hdfs.JournalIdProto journalId = 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

hasJournalId

boolean hasJournalId()
required .hadoop.hdfs.JournalIdProto journalId = 1;


getJournalId

QJournalProtocolProtos.JournalIdProto getJournalId()
required .hadoop.hdfs.JournalIdProto journalId = 1;


getJournalIdOrBuilder

QJournalProtocolProtos.JournalIdProtoOrBuilder getJournalIdOrBuilder()
required .hadoop.hdfs.JournalIdProto journalId = 1;


hasEpoch

boolean hasEpoch()
required uint64 epoch = 2;


getEpoch

long getEpoch()
required uint64 epoch = 2;


hasIpcSerialNumber

boolean hasIpcSerialNumber()
required uint64 ipcSerialNumber = 3;


getIpcSerialNumber

long getIpcSerialNumber()
required uint64 ipcSerialNumber = 3;


hasCommittedTxId

boolean hasCommittedTxId()
optional uint64 committedTxId = 4;
 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.
 


getCommittedTxId

long getCommittedTxId()
optional uint64 committedTxId = 4;
 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.
 



Copyright © 2014 Apache Software Foundation. All Rights Reserved.