Interface AsyncCallback.ReadLastConfirmedAndEntryCallback

All Known Implementing Classes:
SyncCallbackUtils.FutureReadLastConfirmedAndEntry
Enclosing interface:
AsyncCallback

@Public @Stable public static interface AsyncCallback.ReadLastConfirmedAndEntryCallback
Async Callback for long polling read request.
Since:
4.5
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    readLastConfirmedAndEntryComplete(int rc, long lastConfirmed, LedgerEntry entry, Object ctx)
    Callback definition for bookie operation that allows reading the last add confirmed along with an entry within the last add confirmed range.
  • Method Details

    • readLastConfirmedAndEntryComplete

      void readLastConfirmedAndEntryComplete(int rc, long lastConfirmed, LedgerEntry entry, Object ctx)
      Callback definition for bookie operation that allows reading the last add confirmed along with an entry within the last add confirmed range.
      Parameters:
      rc - Return code
      lastConfirmed - The entry id of the last confirmed write or INVALID_ENTRY_ID if no entry has been confirmed
      entry - The entry since the lastAddConfirmed entry that was specified when the request was initiated
      ctx - context object