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

    Modifier and Type
    Method
    Description
    void
    addCompleteWithLatency(int rc, LedgerHandle lh, long entryId, long qwcLatency, Object ctx)
    Callback declaration which additionally passes quorum write complete latency.
  • Method Details

    • addCompleteWithLatency

      void addCompleteWithLatency(int rc, LedgerHandle lh, long entryId, long qwcLatency, Object ctx)
      Callback declaration which additionally passes quorum write complete latency.
      Parameters:
      rc - return code
      lh - ledger handle
      entryId - entry identifier
      qwcLatency - QuorumWriteComplete Latency
      ctx - context object