Package org.apache.bookkeeper.client
Class LedgerRecoveryOp.RecoveryReadOp
java.lang.Object
org.apache.bookkeeper.client.ReadOpBase
org.apache.bookkeeper.client.PendingReadOp
org.apache.bookkeeper.client.ListenerBasedPendingReadOp
org.apache.bookkeeper.client.LedgerRecoveryOp.RecoveryReadOp
- All Implemented Interfaces:
Runnable,BookkeeperInternalCallbacks.ReadEntryCallback
- Enclosing class:
- LedgerRecoveryOp
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.bookkeeper.client.PendingReadOp
PendingReadOp.ParallelReadRequest, PendingReadOp.SequenceReadRequest, PendingReadOp.SingleLedgerEntryRequestNested classes/interfaces inherited from class org.apache.bookkeeper.client.ReadOpBase
ReadOpBase.LedgerEntryRequest, ReadOpBase.ReadContext -
Field Summary
Fields inherited from class org.apache.bookkeeper.client.ListenerBasedPendingReadOp
ctx, listenerFields inherited from class org.apache.bookkeeper.client.PendingReadOp
parallelRead, seqFields inherited from class org.apache.bookkeeper.client.ReadOpBase
allowFailFast, clientCtx, complete, endEntryId, future, heardFromHosts, heardFromHostsBitSet, isRecoveryRead, lh, numPendingEntries, requestTimeNanos, requiredBookiesMissingEntryForRecovery, sentToHosts, speculativeTask, startEntryId -
Constructor Summary
ConstructorsConstructorDescriptionRecoveryReadOp(LedgerHandle lh, ClientContext clientCtx, long startEntryId, long endEntryId, BookkeeperInternalCallbacks.ReadEntryListener cb, Object ctx) -
Method Summary
Methods inherited from class org.apache.bookkeeper.client.ListenerBasedPendingReadOp
submitCallbackMethods inherited from class org.apache.bookkeeper.client.PendingReadOp
initiate, parallelRead, readEntryComplete, sendReadToMethods inherited from class org.apache.bookkeeper.client.ReadOpBase
allowFailFastOnUnwritableChannel, cancelSpeculativeTask, future, getSpeculativeTask, run, submit
-
Constructor Details
-
RecoveryReadOp
RecoveryReadOp(LedgerHandle lh, ClientContext clientCtx, long startEntryId, long endEntryId, BookkeeperInternalCallbacks.ReadEntryListener cb, Object ctx)
-
-
Method Details
-
getLedgerMetadata
- Overrides:
getLedgerMetadatain classReadOpBase
-