Package org.apache.bookkeeper.client
Interface AsyncCallback.ReadLastConfirmedAndEntryCallback
- All Known Implementing Classes:
SyncCallbackUtils.FutureReadLastConfirmedAndEntry
- Enclosing interface:
- AsyncCallback
Async Callback for long polling read request.
- Since:
- 4.5
-
Method Summary
Modifier and TypeMethodDescriptionvoidreadLastConfirmedAndEntryComplete(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
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 codelastConfirmed- The entry id of the last confirmed write orINVALID_ENTRY_IDif no entry has been confirmedentry- The entry since the lastAddConfirmed entry that was specified when the request was initiatedctx- context object
-