class ReadLastConfirmedAndEntryOp.ParallelReadRequest extends ReadLastConfirmedAndEntryOp.ReadLACAndEntryRequest
| Modifier and Type | Field and Description |
|---|---|
(package private) int |
numPendings |
complete, ensemble, entryImpl, firstError, numMissedEntryReads, orderedEnsemble, 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, getFirstError, getRc, isComplete, toStringParallelReadRequest(java.util.List<org.apache.bookkeeper.net.BookieId> ensemble,
long lId,
long eId)
void read()
ReadLastConfirmedAndEntryOp.ReadLACAndEntryRequestread in class ReadLastConfirmedAndEntryOp.ReadLACAndEntryRequestvoid logErrorAndReattemptRead(int bookieIndex,
org.apache.bookkeeper.net.BookieId host,
java.lang.String errMsg,
int rc)
ReadLastConfirmedAndEntryOp.ReadLACAndEntryRequestlogErrorAndReattemptRead in class ReadLastConfirmedAndEntryOp.ReadLACAndEntryRequestbookieIndex - bookie indexhost - host that just responderrMsg - error msg to logrc - read result codeorg.apache.bookkeeper.net.BookieId maybeSendSpeculativeRead(java.util.BitSet heardFromHostsBitSet)
ReadLastConfirmedAndEntryOp.ReadLACAndEntryRequestmaybeSendSpeculativeRead in class ReadLastConfirmedAndEntryOp.ReadLACAndEntryRequestheardFromHostsBitSet - the set of hosts that we already received responses.Copyright © 2011–2024 The Apache Software Foundation. All rights reserved.