class PendingReadOp.ParallelReadRequest extends PendingReadOp.LedgerEntryRequest
| Modifier and Type | Field and Description |
|---|---|
(package private) int |
numPendings |
complete, eId, ensemble, entryImpl, firstError, numBookiesMissingEntry, rc, writeSet| Constructor and Description |
|---|
ParallelReadRequest(java.util.List<org.apache.bookkeeper.net.BookieId> ensemble,
long lId,
long eId) |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
logErrorAndReattemptRead(int bookieIndex,
org.apache.bookkeeper.net.BookieId host,
java.lang.String errMsg,
int rc)
Log error errMsg and reattempt read from host.
|
(package private) org.apache.bookkeeper.net.BookieId |
maybeSendSpeculativeRead(java.util.BitSet heardFromHostsBitSet)
Send to next replica speculatively, if required and possible.
|
(package private) void |
read()
Execute the read request.
|
close, complete, fail, getRc, isComplete, issueSpeculativeRequest, toStringParallelReadRequest(java.util.List<org.apache.bookkeeper.net.BookieId> ensemble,
long lId,
long eId)
void read()
PendingReadOp.LedgerEntryRequestread in class PendingReadOp.LedgerEntryRequestvoid logErrorAndReattemptRead(int bookieIndex,
org.apache.bookkeeper.net.BookieId host,
java.lang.String errMsg,
int rc)
PendingReadOp.LedgerEntryRequestlogErrorAndReattemptRead in class PendingReadOp.LedgerEntryRequestbookieIndex - bookie indexhost - host that just responderrMsg - error msg to logrc - read result codeorg.apache.bookkeeper.net.BookieId maybeSendSpeculativeRead(java.util.BitSet heardFromHostsBitSet)
PendingReadOp.LedgerEntryRequestmaybeSendSpeculativeRead in class PendingReadOp.LedgerEntryRequestheardFromHostsBitSet - the set of hosts that we already received responses.Copyright © 2011–2024 The Apache Software Foundation. All rights reserved.