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 void
readLastConfirmedComplete(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:
readLastConfirmedComplete
in interfaceAsyncCallback.ReadLastConfirmedCallback
- Parameters:
rc
- Return codelastConfirmed
- The entry id of the last confirmed write orINVALID_ENTRY_ID
if no entry has been confirmedctx
- context object
-
-