class ListenerBasedPendingReadOp extends PendingReadOp
PendingReadOp.LedgerEntryRequest, PendingReadOp.ParallelReadRequest, PendingReadOp.SequenceReadRequest| Modifier and Type | Field and Description |
|---|---|
(package private) java.lang.Object |
ctx |
(package private) org.apache.bookkeeper.proto.BookkeeperInternalCallbacks.ReadEntryListener |
listener |
allowFailFast, clientCtx, complete, endEntryId, isRecoveryRead, lh, numPendingEntries, parallelRead, requestTimeNanos, requiredBookiesMissingEntryForRecovery, seq, startEntryId| Constructor and Description |
|---|
ListenerBasedPendingReadOp(LedgerHandle lh,
ClientContext clientCtx,
long startEntryId,
long endEntryId,
org.apache.bookkeeper.proto.BookkeeperInternalCallbacks.ReadEntryListener listener,
java.lang.Object ctx,
boolean isRecoveryRead) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
submitCallback(int code) |
allowFailFastOnUnwritableChannel, cancelSpeculativeTask, future, getLedgerMetadata, getSpeculativeTask, initiate, parallelRead, readEntryComplete, safeRun, sendReadTo, submitfinal org.apache.bookkeeper.proto.BookkeeperInternalCallbacks.ReadEntryListener listener
final java.lang.Object ctx
ListenerBasedPendingReadOp(LedgerHandle lh, ClientContext clientCtx, long startEntryId, long endEntryId, org.apache.bookkeeper.proto.BookkeeperInternalCallbacks.ReadEntryListener listener, java.lang.Object ctx, boolean isRecoveryRead)
protected void submitCallback(int code)
submitCallback in class PendingReadOpCopyright © 2011–2024 The Apache Software Foundation. All rights reserved.