Package org.apache.bookkeeper.client
Interface AsyncCallback.AddCallbackWithLatency
- All Known Subinterfaces:
AsyncCallback.AddCallback
- All Known Implementing Classes:
LedgerRecoveryOp,SyncCallbackUtils.SyncAddCallback
- Enclosing interface:
- AsyncCallback
Async Callback for adding entries to ledgers with latency information.
- Since:
- 4.7
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddCompleteWithLatency(int rc, LedgerHandle lh, long entryId, long qwcLatency, Object ctx) Callback declaration which additionally passes quorum write complete latency.
-
Method Details
-
addCompleteWithLatency
Callback declaration which additionally passes quorum write complete latency.- Parameters:
rc- return codelh- ledger handleentryId- entry identifierqwcLatency- QuorumWriteComplete Latencyctx- context object
-