static class SyncCallbackUtils.SyncCreateCallback extends java.lang.Object implements AsyncCallback.CreateCallback
| Constructor and Description |
|---|
SyncCreateCallback(java.util.concurrent.CompletableFuture<? super LedgerHandle> 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 SyncCreateCallback(java.util.concurrent.CompletableFuture<? super LedgerHandle> 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.