Package org.apache.bookkeeper.client
Class BatchedReadOp.BatchedLedgerEntryRequest
- java.lang.Object
-
- org.apache.bookkeeper.client.ReadOpBase.LedgerEntryRequest
-
- org.apache.bookkeeper.client.BatchedReadOp.BatchedLedgerEntryRequest
-
- All Implemented Interfaces:
SpeculativeRequestExecutor
- Direct Known Subclasses:
BatchedReadOp.SequenceReadRequest
- Enclosing class:
- BatchedReadOp
abstract class BatchedReadOp.BatchedLedgerEntryRequest extends ReadOpBase.LedgerEntryRequest
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.util.List<LedgerEntry>
entries
(package private) long
lId
(package private) int
maxCount
(package private) long
maxSize
-
Fields inherited from class org.apache.bookkeeper.client.ReadOpBase.LedgerEntryRequest
complete, eId, ensemble, firstError, numBookiesMissingEntry, rc, writeSet
-
-
Constructor Summary
Constructors Constructor Description BatchedLedgerEntryRequest(java.util.List<BookieId> ensemble, long lId, long eId, int maxCount, long maxSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) boolean
complete(int bookieIndex, BookieId host, ByteBufList bufList)
java.lang.String
toString()
-
Methods inherited from class org.apache.bookkeeper.client.ReadOpBase.LedgerEntryRequest
close, fail, getRc, isComplete, issueSpeculativeRequest, logErrorAndReattemptRead, maybeSendSpeculativeRead, read
-
-
-
-
Field Detail
-
lId
final long lId
-
maxCount
final int maxCount
-
maxSize
final long maxSize
-
entries
final java.util.List<LedgerEntry> entries
-
-
Constructor Detail
-
BatchedLedgerEntryRequest
BatchedLedgerEntryRequest(java.util.List<BookieId> ensemble, long lId, long eId, int maxCount, long maxSize)
-
-
Method Detail
-
complete
boolean complete(int bookieIndex, BookieId host, ByteBufList bufList)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classReadOpBase.LedgerEntryRequest
-
-