Package org.apache.bookkeeper.client
Class SyncCallbackUtils.SyncCloseCallback
- java.lang.Object
-
- org.apache.bookkeeper.client.SyncCallbackUtils.SyncCloseCallback
-
- All Implemented Interfaces:
AsyncCallback.CloseCallback
- Enclosing class:
- SyncCallbackUtils
static class SyncCallbackUtils.SyncCloseCallback extends java.lang.Object implements AsyncCallback.CloseCallback
-
-
Constructor Summary
Constructors Constructor Description SyncCloseCallback(java.util.concurrent.CompletableFuture<java.lang.Void> future)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
closeComplete(int rc, LedgerHandle lh, java.lang.Object ctx)
Close callback method.
-
-
-
Method Detail
-
closeComplete
public void closeComplete(int rc, LedgerHandle lh, java.lang.Object ctx)
Close callback method.- Specified by:
closeComplete
in interfaceAsyncCallback.CloseCallback
- Parameters:
rc
-lh
-ctx
-
-
-