Package org.apache.bookkeeper.client
Class SyncCallbackUtils.SyncReadLastConfirmedCallback
java.lang.Object
org.apache.bookkeeper.client.SyncCallbackUtils.SyncReadLastConfirmedCallback
- All Implemented Interfaces:
AsyncCallback.ReadLastConfirmedCallback
- Enclosing class:
- SyncCallbackUtils
static class SyncCallbackUtils.SyncReadLastConfirmedCallback
extends Object
implements AsyncCallback.ReadLastConfirmedCallback
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidreadLastConfirmedComplete(int rc, long lastConfirmed, Object ctx) Implementation of callback interface for synchronous read last confirmed method.
-
Constructor Details
-
SyncReadLastConfirmedCallback
SyncReadLastConfirmedCallback()
-
-
Method Details
-
readLastConfirmedComplete
Implementation of callback interface for synchronous read last confirmed method.- Specified by:
readLastConfirmedCompletein interfaceAsyncCallback.ReadLastConfirmedCallback- Parameters:
rc- Return codelastConfirmed- The entry id of the last confirmed write orINVALID_ENTRY_IDif no entry has been confirmedctx- context object
-