Class PendingReadEntryRequest


  • public class PendingReadEntryRequest
    extends java.lang.Object
    Representing a pending read request to read an entry from ManagedLedger carrying necessary context.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.Object ctx  
      org.apache.bookkeeper.mledger.Entry entry  
      org.apache.bookkeeper.mledger.impl.PositionImpl position  
    • Field Detail

      • entry

        public org.apache.bookkeeper.mledger.Entry entry
      • ctx

        public java.lang.Object ctx
      • position

        public org.apache.bookkeeper.mledger.impl.PositionImpl position
    • Constructor Detail

      • PendingReadEntryRequest

        public PendingReadEntryRequest()
    • Method Detail

      • create

        public static PendingReadEntryRequest create​(java.lang.Object ctx,
                                                     org.apache.bookkeeper.mledger.impl.PositionImpl position)
      • recycle

        public void recycle()
      • isLastRequest

        public boolean isLastRequest()