CompletionStage<T>, Future<T>public class ThreadlocalInheritingCompletableFuture<T> extends CompletableFuture<T>
CompletableFuture.AsynchronousCompletionTask| Constructor | Description |
|---|---|
ThreadlocalInheritingCompletableFuture() |
| Modifier and Type | Method | Description |
|---|---|---|
static <U> CompletableFuture<U> |
completedFuture(U value) |
Returns a new CompletableFuture that is already completed with
the given value.
|
Executor |
defaultExecutor() |
|
<U> CompletableFuture<U> |
newIncompleteFuture() |
acceptEither, acceptEitherAsync, acceptEitherAsync, allOf, anyOf, applyToEither, applyToEitherAsync, applyToEitherAsync, cancel, complete, completeAsync, completeAsync, completedStage, completeExceptionally, completeOnTimeout, copy, delayedExecutor, delayedExecutor, exceptionally, failedFuture, failedStage, get, get, getNow, getNumberOfDependents, handle, handleAsync, handleAsync, isCancelled, isCompletedExceptionally, isDone, join, minimalCompletionStage, 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, whenCompleteAsyncpublic ThreadlocalInheritingCompletableFuture()
public static <U> CompletableFuture<U> completedFuture(U value)
U - the type of the valuevalue - the valuepublic Executor defaultExecutor()
defaultExecutor in class CompletableFuture<T>public <U> CompletableFuture<U> newIncompleteFuture()
newIncompleteFuture in class CompletableFuture<T>Copyright © 2019. All rights reserved.