static class SyncCallbackUtils.SyncAddCallback extends java.util.concurrent.CompletableFuture<java.lang.Long> implements AsyncCallback.AddCallback
| Constructor and Description |
|---|
SyncAddCallback() |
| Modifier and Type | Method and Description |
|---|---|
void |
addComplete(int rc,
LedgerHandle lh,
long entry,
java.lang.Object ctx)
Implementation of callback interface for synchronous read method.
|
acceptEither, acceptEitherAsync, acceptEitherAsync, allOf, anyOf, applyToEither, applyToEitherAsync, applyToEitherAsync, cancel, complete, completedFuture, completeExceptionally, exceptionally, get, get, getNow, getNumberOfDependents, handle, handleAsync, handleAsync, isCancelled, isCompletedExceptionally, isDone, join, obtrudeException, obtrudeValue, runAfterBoth, runAfterBothAsync, runAfterBothAsync, runAfterEither, runAfterEitherAsync, runAfterEitherAsync, runAsync, runAsync, supplyAsync, supplyAsync, thenAccept, thenAcceptAsync, thenAcceptAsync, thenAcceptBoth, thenAcceptBothAsync, thenAcceptBothAsync, thenApply, thenApplyAsync, thenApplyAsync, thenCombine, thenCombineAsync, thenCombineAsync, thenCompose, thenComposeAsync, thenComposeAsync, thenRun, thenRunAsync, thenRunAsync, toCompletableFuture, toString, whenComplete, whenCompleteAsync, whenCompleteAsyncclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddCompleteWithLatencypublic void addComplete(int rc,
LedgerHandle lh,
long entry,
java.lang.Object ctx)
addComplete in interface AsyncCallback.AddCallbackrc - return codelh - ledger handleentry - entry identifierctx - control objectCopyright © 2011–2024 The Apache Software Foundation. All rights reserved.