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 java.lang.Object implements AsyncCallback.ReadLastConfirmedCallback
-
-
Constructor Summary
Constructors Constructor Description SyncReadLastConfirmedCallback()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidreadLastConfirmedComplete(int rc, long lastConfirmed, java.lang.Object ctx)Implementation of callback interface for synchronous read last confirmed method.
-
-
-
Method Detail
-
readLastConfirmedComplete
public void readLastConfirmedComplete(int rc, long lastConfirmed, java.lang.Object ctx)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
-
-