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