Interface AsyncCallback.ReadLastConfirmedAndEntryCallback

    • Method Detail

      • readLastConfirmedAndEntryComplete

        void readLastConfirmedAndEntryComplete​(int rc,
                                               long lastConfirmed,
                                               LedgerEntry entry,
                                               java.lang.Object ctx)
        Callback definition for bookie operation that allows reading the last add confirmed along with an entry within the last add confirmed range.
        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