Package org.apache.bookkeeper.client
Class SyncCallbackUtils.LastAddConfirmedCallback
- java.lang.Object
-
- org.apache.bookkeeper.client.SyncCallbackUtils.LastAddConfirmedCallback
-
- All Implemented Interfaces:
AsyncCallback.AddLacCallback
- Enclosing class:
- SyncCallbackUtils
static class SyncCallbackUtils.LastAddConfirmedCallback extends java.lang.Object implements AsyncCallback.AddLacCallback
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static SyncCallbackUtils.LastAddConfirmedCallback
INSTANCE
-
Constructor Summary
Constructors Constructor Description LastAddConfirmedCallback()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addLacComplete(int rc, LedgerHandle lh, java.lang.Object ctx)
Implementation of callback interface for synchronous read method.
-
-
-
Field Detail
-
INSTANCE
static final SyncCallbackUtils.LastAddConfirmedCallback INSTANCE
-
-
Method Detail
-
addLacComplete
public void addLacComplete(int rc, LedgerHandle lh, java.lang.Object ctx)
Implementation of callback interface for synchronous read method.- Specified by:
addLacComplete
in interfaceAsyncCallback.AddLacCallback
- Parameters:
rc
- return codelh
- ledger identifierctx
- control object
-
-