Package org.apache.bookkeeper.client
Class PendingReadOp.SingleLedgerEntryRequest
java.lang.Object
org.apache.bookkeeper.client.ReadOpBase.LedgerEntryRequest
org.apache.bookkeeper.client.PendingReadOp.SingleLedgerEntryRequest
- All Implemented Interfaces:
SpeculativeRequestExecutor
- Direct Known Subclasses:
PendingReadOp.ParallelReadRequest,PendingReadOp.SequenceReadRequest
- Enclosing class:
- PendingReadOp
-
Field Summary
FieldsFields inherited from class org.apache.bookkeeper.client.ReadOpBase.LedgerEntryRequest
complete, eId, ensemble, firstError, numBookiesMissingEntry, rc, writeSet -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.bookkeeper.client.ReadOpBase.LedgerEntryRequest
fail, getRc, isComplete, issueSpeculativeRequest, logErrorAndReattemptRead, maybeSendSpeculativeRead, read, toString
-
Field Details
-
entryImpl
-
-
Constructor Details
-
SingleLedgerEntryRequest
-
-
Method Details
-
close
public void close()- Overrides:
closein classReadOpBase.LedgerEntryRequest
-
complete
Complete the read request from host.- Parameters:
bookieIndex- bookie indexhost- host that respond the readbuffer- the data buffer- Returns:
- return true if we managed to complete the entry; otherwise return false if the read entry is not complete or it is already completed before
-