public class Promise<T> extends java.util.concurrent.CompletableFuture<T> implements RequestFuture<T>
Constructor and Description |
---|
Promise() |
Promise(T t) |
Promise(java.lang.Throwable t) |
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.CompletableFuture<T> |
toCompletableFuture()
This method is unsupported by the current implementation!
|
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, toString, whenComplete, whenCompleteAsync, whenCompleteAsync
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
acceptEither, acceptEitherAsync, acceptEitherAsync, applyToEither, applyToEitherAsync, applyToEitherAsync, exceptionally, handle, handleAsync, handleAsync, runAfterBoth, runAfterBothAsync, runAfterBothAsync, runAfterEither, runAfterEitherAsync, runAfterEitherAsync, thenAccept, thenAcceptAsync, thenAcceptAsync, thenAcceptBoth, thenAcceptBothAsync, thenAcceptBothAsync, thenApply, thenApplyAsync, thenApplyAsync, thenCombine, thenCombineAsync, thenCombineAsync, thenCompose, thenComposeAsync, thenComposeAsync, thenRun, thenRunAsync, thenRunAsync, whenComplete, whenCompleteAsync, whenCompleteAsync
public Promise()
public Promise(java.lang.Throwable t)
public Promise(T t)
public java.util.concurrent.CompletableFuture<T> toCompletableFuture()
RequestFuture
toCompletableFuture
in interface java.util.concurrent.CompletionStage<T>
toCompletableFuture
in interface RequestFuture<T>
toCompletableFuture
in class java.util.concurrent.CompletableFuture<T>