Interface BookkeeperProtocol.ReadRequestOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      long getEntryId()
      entryId will be -1 for reading the LAST_ADD_CONFIRMED entry.
      BookkeeperProtocol.ReadRequest.Flag getFlag()
      optional .ReadRequest.Flag flag = 100;
      long getLedgerId()
      required int64 ledgerId = 1;
      com.google.protobuf.ByteString getMasterKey()
      Used while fencing a ledger.
      long getPreviousLAC()
      Used for waiting on last add confirmed update
      long getTimeOut()
      Used as a timeout (in milliseconds) for the long polling request
      boolean hasEntryId()
      entryId will be -1 for reading the LAST_ADD_CONFIRMED entry.
      boolean hasFlag()
      optional .ReadRequest.Flag flag = 100;
      boolean hasLedgerId()
      required int64 ledgerId = 1;
      boolean hasMasterKey()
      Used while fencing a ledger.
      boolean hasPreviousLAC()
      Used for waiting on last add confirmed update
      boolean hasTimeOut()
      Used as a timeout (in milliseconds) for the long polling request
      • 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 Detail

      • hasFlag

        boolean hasFlag()
        optional .ReadRequest.Flag flag = 100;
        Returns:
        Whether the flag field is set.
      • hasLedgerId

        boolean hasLedgerId()
        required int64 ledgerId = 1;
        Returns:
        Whether the ledgerId field is set.
      • getLedgerId

        long getLedgerId()
        required int64 ledgerId = 1;
        Returns:
        The ledgerId.
      • hasEntryId

        boolean hasEntryId()
         entryId will be -1 for reading the LAST_ADD_CONFIRMED entry.
         
        required int64 entryId = 2;
        Returns:
        Whether the entryId field is set.
      • getEntryId

        long getEntryId()
         entryId will be -1 for reading the LAST_ADD_CONFIRMED entry.
         
        required int64 entryId = 2;
        Returns:
        The entryId.
      • hasMasterKey

        boolean hasMasterKey()
         Used while fencing a ledger.
         
        optional bytes masterKey = 3;
        Returns:
        Whether the masterKey field is set.
      • getMasterKey

        com.google.protobuf.ByteString getMasterKey()
         Used while fencing a ledger.
         
        optional bytes masterKey = 3;
        Returns:
        The masterKey.
      • hasPreviousLAC

        boolean hasPreviousLAC()
         Used for waiting on last add confirmed update
         
        optional int64 previousLAC = 4;
        Returns:
        Whether the previousLAC field is set.
      • getPreviousLAC

        long getPreviousLAC()
         Used for waiting on last add confirmed update
         
        optional int64 previousLAC = 4;
        Returns:
        The previousLAC.
      • hasTimeOut

        boolean hasTimeOut()
         Used as a timeout (in milliseconds) for the long polling request
         
        optional int64 timeOut = 5;
        Returns:
        Whether the timeOut field is set.
      • getTimeOut

        long getTimeOut()
         Used as a timeout (in milliseconds) for the long polling request
         
        optional int64 timeOut = 5;
        Returns:
        The timeOut.