public static class Futures.CloseFuture extends CompletableFuture<Void> implements AsyncCallbacks.CloseCallback
AsyncCallbacks.CloseCallback to a CompletableFuture.CompletableFuture.AsynchronousCompletionTask| Constructor and Description |
|---|
CloseFuture() |
| Modifier and Type | Method and Description |
|---|---|
void |
closeComplete(Object ctx) |
void |
closeFailed(ManagedLedgerException exception,
Object ctx) |
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, whenCompleteAsyncpublic void closeComplete(Object ctx)
closeComplete in interface AsyncCallbacks.CloseCallbackpublic void closeFailed(ManagedLedgerException exception, Object ctx)
closeFailed in interface AsyncCallbacks.CloseCallbackCopyright © 2017–2022 Apache Software Foundation. All rights reserved.