类 Futures.CloseFuture
- 所有已实现的接口:
CompletionStage<Void>,Future<Void>,AsyncCallbacks.CloseCallback
- 封闭类:
- Futures
public static class Futures.CloseFuture
extends CompletableFuture<Void>
implements AsyncCallbacks.CloseCallback
Adapts a
AsyncCallbacks.CloseCallback to a CompletableFuture.-
嵌套类概要
从类继承的嵌套类/接口 java.util.concurrent.CompletableFuture
CompletableFuture.AsynchronousCompletionTask -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidcloseComplete(Object ctx) voidcloseFailed(ManagedLedgerException exception, Object ctx) 从类继承的方法 java.util.concurrent.CompletableFuture
acceptEither, acceptEitherAsync, acceptEitherAsync, allOf, anyOf, applyToEither, applyToEitherAsync, applyToEitherAsync, cancel, complete, completeAsync, completeAsync, completedFuture, completedStage, completeExceptionally, completeOnTimeout, copy, defaultExecutor, delayedExecutor, delayedExecutor, exceptionally, exceptionallyAsync, exceptionallyAsync, exceptionallyCompose, exceptionallyComposeAsync, exceptionallyComposeAsync, failedFuture, failedStage, get, get, getNow, getNumberOfDependents, handle, handleAsync, handleAsync, isCancelled, isCompletedExceptionally, isDone, join, minimalCompletionStage, newIncompleteFuture, obtrudeException, obtrudeValue, orTimeout, 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, whenCompleteAsync
-
构造器详细资料
-
CloseFuture
public CloseFuture()
-
-
方法详细资料
-
closeComplete
- 指定者:
closeComplete在接口中AsyncCallbacks.CloseCallback
-
closeFailed
- 指定者:
closeFailed在接口中AsyncCallbacks.CloseCallback
-