Package org.apache.bookkeeper.client
Interface AsyncCallback.ReadLastConfirmedCallback
-
- All Known Implementing Classes:
SyncCallbackUtils.FutureReadLastConfirmed
,SyncCallbackUtils.SyncReadLastConfirmedCallback
- Enclosing interface:
- AsyncCallback
@Public @Stable public static interface AsyncCallback.ReadLastConfirmedCallback
Async Callback for reading LAC for ledgers.- Since:
- 4.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
readLastConfirmedComplete(int rc, long lastConfirmed, java.lang.Object ctx)
Callback definition for bookie recover operations.
-
-
-
Method Detail
-
readLastConfirmedComplete
void readLastConfirmedComplete(int rc, long lastConfirmed, java.lang.Object ctx)
Callback definition for bookie recover operations.- Parameters:
rc
- Return codelastConfirmed
- The entry id of the last confirmed write orINVALID_ENTRY_ID
if no entry has been confirmedctx
- context object
-
-