static class SyncCallbackUtils.SyncCreateAdvCallback extends java.lang.Object implements AsyncCallback.CreateCallback
| Constructor and Description |
|---|
SyncCreateAdvCallback(java.util.concurrent.CompletableFuture<? super LedgerHandleAdv> future) |
| Modifier and Type | Method and Description |
|---|---|
void |
createComplete(int rc,
LedgerHandle lh,
java.lang.Object ctx)
Create callback implementation for synchronous create call.
|
public SyncCreateAdvCallback(java.util.concurrent.CompletableFuture<? super LedgerHandleAdv> future)
public void createComplete(int rc,
LedgerHandle lh,
java.lang.Object ctx)
createComplete in interface AsyncCallback.CreateCallbackrc - return codelh - ledger handle objectctx - optional control objectCopyright © 2011–2024 The Apache Software Foundation. All rights reserved.