Package org.apache.bookkeeper.client
Interface AsyncCallback.ReadLastConfirmedCallback
- All Known Implementing Classes:
SyncCallbackUtils.FutureReadLastConfirmed,SyncCallbackUtils.SyncReadLastConfirmedCallback
- Enclosing interface:
- AsyncCallback
Async Callback for reading LAC for ledgers.
- Since:
- 4.0
-
Method Summary
Modifier and TypeMethodDescriptionvoidreadLastConfirmedComplete(int rc, long lastConfirmed, Object ctx) Callback definition for bookie recover operations.
-
Method Details
-
readLastConfirmedComplete
Callback definition for bookie recover operations.- Parameters:
rc- Return codelastConfirmed- The entry id of the last confirmed write orINVALID_ENTRY_IDif no entry has been confirmedctx- context object
-