+
+
+
+
+
+
+
Returns a new CompletableFuture that, when either given stage success,
+ is executed with the corresponding result as argument to the supplied action.
+
+
+
+
+
Returns a new CompletableFuture that, when either given stage success,
+ is executed using this CompletableFuture's default asynchronous execution facility,
+ with the corresponding result as argument to the supplied action.
+
+
+
+
+
Returns a new CompletableFuture that, when either given stage success,
+ is executed using the supplied executor, with the corresponding result as argument to the supplied action.
+
+
+
+
+
Returns a new CompletableFuture that is successful when all the given stages success;
+ If any of the given stages complete exceptionally, then the returned CompletableFuture also does so
+ *without* waiting other incomplete given stages, with a CompletionException holding this exception as its cause.
+
+
+
+
+
Returns a new CompletableFuture that is completed when all the given stages complete;
+ If any of the given stages complete exceptionally, then the returned CompletableFuture also does so,
+ with a CompletionException holding this exception as its cause.
+
+
+
+
+
Returns a new CompletableFuture that is successful with the results in the same order
+ of the given stages arguments when all the given stages success;
+ If any of the given stages complete exceptionally, then the returned CompletableFuture also does so
+ *without* waiting other incomplete given stages, with a CompletionException holding this exception as its cause.
+
+
+
+
+
Returns a new CompletableFuture with the results in the same order of the given stages arguments,
+ the new CompletableFuture is completed when all the given stages complete;
+ If any of the given stages complete exceptionally, then the returned CompletableFuture also does so,
+ with a CompletionException holding this exception as its cause.
+
+
+
+
+
Returns a new CompletableFuture that is successful with the results in the same order
+ of the given stages arguments when all the given stages completed;
+ If no stages are provided, returns a CompletableFuture completed with the value empty list.
+
+
+
+
+
Returns a new CompletableFuture that is successful
+ with the results of the given stages arguments when all the given stages completed.
+
+
+
+
+
Returns a new CompletableFuture that is successful
+ with the results of the given stages arguments when all the given stages completed.
+
+
+
+
+
Returns a new CompletableFuture that is successful
+ with the results of the given stages arguments when all the given stages completed.
+
+
+
+
+
Returns a new CompletableFuture that is successful
+ with the results of the given stages arguments when all the given stages completed.
+
+
+
+
+
Returns a new CompletableFuture that is successful when the given stages success.
+
+
+
+
+
Returns a new CompletableFuture that is successful when the given stages success.
+
+
+
+
+
Returns a new CompletableFuture that is successful when the given stages success.
+
+
+
+
+
Returns a new CompletableFuture that is successful when the given stages success.
+
+
+
+
+
Returns a new CompletableFuture that is completed when the given stages complete.
+
+
+
+
+
Returns a new CompletableFuture that is completed when the given stages complete.
+
+
+
+
+
Returns a new CompletableFuture that is completed when the given stages complete.
+
+
+
+
+
Returns a new CompletableFuture that is completed when the given stages complete.
+
+
+
+
+
Returns a new CompletableFuture that is completed when any of the given stages complete, with the same result.
+
+
+
+
+
Returns a new CompletableFuture that is successful when any of the given stages success,
+ with the same result.
+
+
+
+
+
Returns a new CompletableFuture that, when either given stage success,
+ is executed with the corresponding result as argument to the supplied function.
+
+
+
+
+
Returns a new CompletableFuture that, when either given stage success,
+ is executed using this CompletableFuture's default asynchronous execution facility,
+ with the corresponding result as argument to the supplied function.
+
+
+
+
+
Returns a new CompletableFuture that, when either given stage success,
+ is executed using the supplied executor, with the corresponding result as argument to the supplied function.
+
+
+
+
+
Returns a new CompletionStage that, when given stage completes exceptionally with the given exceptionType,
+ is executed with given stage's exception as the argument to the supplied function.
+
+
+
+
+
Returns a new CompletionStage that, when given stage completes exceptionally with the given exceptionType,
+ is executed with given stage's exception as the argument to the supplied function,
+ using the given stage's default asynchronous execution facility.
+
+
+
+
+
Returns a new CompletionStage that, when given stage completes exceptionally with the given exceptionType,
+ is executed with given stage's exception as the argument to the supplied function, using the supplied Executor.
+
+
+
+
+
Returns a new CompletionStage that, when given stage completes exceptionally with the given exceptionType,
+ is composed using the results of the supplied function applied to given stage's exception.
+
+
+
+
+
Returns a new CompletionStage that, when given stage completes exceptionally with the given exceptionType,
+ is composed using the results of the supplied function applied to given stage's exception,
+ using given stage's default asynchronous execution facility.
+
+
+
+
+
Returns a new CompletionStage that, when given stage completes exceptionally with the given exceptionType,
+ is composed using the results of the supplied function applied to given's exception,
+ using the supplied Executor.
+
+
+
+
+
Completes given CompletableFuture with the given value if not otherwise completed before the given timeout.
+
+
+
+
+
Completes given CompletableFuture with the given value if not otherwise completed before the given timeout.
+
+
+
+
+
Exceptionally completes given CompletableFuture with a
TimeoutException
+ if not otherwise completed before the given timeout.
+
+
+
+
+
Exceptionally completes given CompletableFuture with a
TimeoutException
+ if not otherwise completed before the given timeout.
+
+
+
+
+
A convenient util method for converting input
CompletableFuture
list to CompletableFuture array.
+
+
+
+
+
Completes given CompletableFuture with the result of the given Supplier function invoked
+ from an asynchronous task using the default executor.
+
+
+
+
+
Completes given CompletableFuture with the result of the given Supplier function invoked
+ from an asynchronous task using the given executor.
+
+
+
+
+
Returns a new CompletionStage that is already completed with the given value
+ and supports only those methods in interface
CompletionStage
.
+
+
+
+
+
If not already completed, completes given CompletableFuture with the exception result
+ of the given Supplier function invoked from an asynchronous task using the default executor.
+
+
+
+
+
If not already completed, completes given CompletableFuture with the exception result
+ of the given Supplier function invoked from an asynchronous task using the given executor.
+
+
+
+
+
Completes given CompletableFuture with the given value if not otherwise completed before the given timeout.
+
+
+
+
+
Returns a new CompletableFuture that is completed normally with the same value as this CompletableFuture when
+ it completes normally.
+
+
+
+
+
Returns the default Executor used for async methods that do not specify an Executor.
+
+
+
+
+
Returns a new Executor that submits a task to the default executor after the given delay (or no delay
+ if non-positive).
+
+
+
+
+
Returns a new Executor that submits a task to the given base executor after the given delay (or no delay
+ if non-positive).
+
+
+
+
+
Returns a new CompletionStage that, when given stage completes exceptionally, is executed with given
+ stage's exception as the argument to the supplied function, using given stage's
+ default asynchronous execution facility.
+
+
+
+
+
Returns a new CompletionStage that, when given stage completes exceptionally, is executed with given
+ stage's exception as the argument to the supplied function, using the supplied Executor.
+
+
+
+
+
Returns a new CompletableFuture that, when given CompletableFuture completes exceptionally,
+ is composed using the results of the supplied function applied to given stage's exception.
+
+
+
+
+
Returns a new CompletableFuture that, when given CompletableFuture completes exceptionally,
+ is composed using the results of the supplied function applied to given stage's exception,
+ using given CompletableFuture's default asynchronous execution facility.
+
+
+
+
+
Returns a new CompletableFuture that, when given CompletableFuture completes exceptionally, is composed using
+ the results of the supplied function applied to given stage's exception, using the supplied Executor.
+
+
+
+
+
Returns the exception thrown by the task, without waiting.
+
+
+
+
+
Returns a new CompletableFuture that is already completed exceptionally with the given exception.
+
+
+
+
+
Returns a new CompletionStage that is already completed exceptionally with
+ the given exception and supports only those methods in interface
CompletionStage
.
+
+
static <T> T
+
+
+
Returns the result value if the given stage is completed successfully, else returns the given valueIfNotSuccess.
+
+
static <T> T
+
+
+
Waits if necessary for at most the given time for the computation to complete,
+ and then retrieves its result value when complete, or throws an (unchecked) exception if completed exceptionally.
+
+
+
+
+
Returns a new CompletionStage that is completed normally with the same value as given CompletableFuture
+ when it completes normally, and cannot be independently completed or otherwise used in ways
+ not defined by the methods of interface
CompletionStage
.
+
+
+
+
+
Returns a new CompletableFuture with the most results in the same order of
+ the given stages arguments in the given time(timeout
, aka as many results as possible in the given time).
+
+
+
+
+
Returns a new CompletableFuture with the most results in the same order of
+ the given stages arguments in the given time(timeout
, aka as many results as possible in the given time).
+
+
+
+
+
Returns a new CompletableFuture with the most results in the same order of
+ the given stages arguments in the given time(timeout
, aka as many results as possible in the given time).
+
+
+
+
+
Returns a new CompletableFuture with the most results in the same order of
+ the given stages arguments in the given time(timeout
, aka as many results as possible in the given time).
+
+
+
+
+
Returns a new CompletableFuture with the most results in the same order of
+ the given stages arguments in the given time(timeout
, aka as many results as possible in the given time).
+
+
+
+
+
Returns a new CompletableFuture with the most results in the same order of
+ the given stages arguments in the given time(timeout
, aka as many results as possible in the given time).
+
+
+
+
+
Returns a new CompletableFuture with the most results in the same order of
+ the given stages arguments in the given time(timeout
, aka as many results as possible in the given time).
+
+
+
+
+
Returns a new CompletableFuture with the most results in the same order of
+ the given stages arguments in the given time(timeout
, aka as many results as possible in the given time).
+
+
+
+
+
Returns a new CompletableFuture with the most results in the same order of
+ the given stages arguments in the given time(timeout
, aka as many results as possible in the given time).
+
+
+
+
+
Returns a new CompletableFuture with the most results in the same order of
+ the given stages arguments in the given time(timeout
, aka as many results as possible in the given time).
+
+
+
+
+
Returns a new CompletableFuture that is asynchronously completed
+ when any tasks running in the CompletableFuture's default asynchronous execution facility.
+
+
+
+
+
Returns a new CompletableFuture that is asynchronously completed
+ when any tasks running in the given executor complete.
+
+
+
+
+
Returns a new CompletableFuture that is asynchronously successful
+ when any tasks running in the CompletableFuture's default asynchronous execution facility success.
+
+
+
+
+
Returns a new CompletableFuture that is asynchronously successful
+ when any tasks running in the given executor success.
+
+
+
+
+
Returns a new CompletableFuture that is asynchronously completed
+ by tasks running in the CompletableFuture's default asynchronous execution facility
+ after runs the given actions.
+
+
+
+
+
Returns a new CompletableFuture that is asynchronously completed
+ by tasks running in the given Executor after runs the given actions.
+
+
+
+
+
Returns a new CompletableFuture that is asynchronously completed
+ by tasks running in the CompletableFuture's default asynchronous execution facility
+ after runs the given actions.
+
+
+
+
+
Returns a new CompletableFuture that is asynchronously completed
+ by tasks running in the given Executor after runs the given actions.
+
+
+
+
+
Returns a new CompletableFuture that is asynchronously completed
+ by tasks running in the given Executor with the successfully values obtained by calling the given Suppliers
+ in the same order of the given Suppliers arguments.
+
+
+
+
+
Returns a new CompletableFuture that is asynchronously completed
+ by tasks running in the CompletableFuture's default asynchronous execution facility
+ with the successful values obtained by calling the given Suppliers
+ in the same order of the given Suppliers arguments.
+
+
+
+
+
Returns a new CompletableFuture that is completed
+ when any of tasks running in the given Executor by calling the given Suppliers complete, with the same result.
+
+
+
+
+
Returns a new CompletableFuture that is completed
+ when any of tasks running in the CompletableFuture's default asynchronous execution facility
+ by calling the given Suppliers complete, with the same result.
+
+
+
+
+
Returns a new CompletableFuture that is asynchronously successful
+ when any of tasks running in the given executor by calling the given Suppliers success, with the same result.
+
+
+
+
+
Returns a new CompletableFuture that is asynchronously successful
+ when any of tasks running in the CompletableFuture's default asynchronous execution facility
+ by calling the given Suppliers success, with the same result.
+
+
+
+
+
Returns a new CompletableFuture that is asynchronously completed
+ by tasks running in the given Executor with the values obtained by calling the given Suppliers
+ in the same order of the given Suppliers arguments.
+
+
+
+
+
Returns a new CompletableFuture that is asynchronously completed
+ by tasks running in the CompletableFuture's default asynchronous execution facility
+ with the values obtained by calling the given Suppliers
+ in the same order of the given Suppliers arguments.
+
+
+
+
+
Returns a new CompletableFuture that is asynchronously completed
+ by tasks running in the given Executor with the values obtained by calling the given Suppliers
+ in the same order of the given Suppliers arguments.
+
+
+
+
+
Returns a new CompletableFuture that is asynchronously completed
+ by tasks running in the CompletableFuture's default asynchronous execution facility
+ with the values obtained by calling the given Suppliers
+ in the same order of the given Suppliers arguments.
+
+
+
+
+
Returns a new CompletableFuture that is asynchronously completed
+ by tasks running in the CompletableFuture's default asynchronous execution facility
+ with the most values obtained by calling the given Suppliers
+ in the given time(timeout
, aka as many results as possible in the given time)
+ in the same order of the given Suppliers arguments.
+
+
+
+
+
Returns a new CompletableFuture that is asynchronously completed
+ by tasks running in the given Executor with the most values obtained by calling the given Suppliers
+ in the given time(timeout
, aka as many results as possible in the given time)
+ in the same order of the given Suppliers arguments.
+
+
+
+
+
Returns a new incomplete CompletableFuture of the type to be returned by a CompletionStage method.
+
+
+
+
+
Exceptionally completes given CompletableFuture with a
TimeoutException
+ if not otherwise completed before the given timeout.
+
+
+
+
+
Peeks the result by executing the given action when given stage completes, returns the given stage.
+
+
+
+
+
Peeks the result by executing the given action when given stage completes,
+ executes the given action using given stage's default asynchronous execution facility,
+ returns the given stage.
+
+
+
+
+
Peeks the result by executing the given action when given stage completes,
+ executes the given action using the supplied Executor, returns the given stage.
+
+
static <T> T
+
+
+
Returns the computed result, without waiting.
+
+
+
+
+
Returns a new CompletableFuture that, when two given stages both complete normally, executes the given action.
+
+
+
+
+
Returns a new CompletableFuture that, when two given stages both complete normally,
+ executes the given action using CompletableFuture's default asynchronous execution facility.
+
+
+
+
+
Returns a new CompletableFuture that, when two given stages both complete normally,
+ executes the given action using the supplied executor.
+
+
+
+
+
Returns a new CompletableFuture that, when either given stage success, executes the given action.
+
+
+
+
+
Returns a new CompletableFuture that, when either given stage success, executes the given action
+ using CompletableFuture's default asynchronous execution facility.
+
+
+
+
+
Returns a new CompletableFuture that, when either given stage success, executes the given action
+ using the supplied executor.
+
+
+
+
+
Returns the computation state(
CffuState
), this method is equivalent to
CompletableFuture.state()
+ with java version compatibility logic, so you can invoke in old
java 18-
.
+
+
+
+
+
Returns a new CompletableFuture that, when tow given stage both complete normally,
+ is executed with the two results as arguments to the supplied action.
+
+
+
+
+
Returns a new CompletableFuture that, when tow given stage both complete normally,
+ is executed using CompletableFuture's default asynchronous execution facility,
+ with the two results as arguments to the supplied action.
+
+
+
+
+
Returns a new CompletableFuture that, when tow given stage both complete normally,
+ is executed using the supplied executor,
+ with the two results as arguments to the supplied action.
+
+
+
+
+
Returns a new CompletableFuture that, when tow given stage both complete normally,
+ is executed with the two results as arguments to the supplied function.
+
+
+
+
+
Returns a new CompletableFuture that, when tow given stage both complete normally,
+ is executed using CompletableFuture's default asynchronous execution facility,
+ with the two results as arguments to the supplied function.
+
+
+
+
+
Returns a new CompletableFuture that, when tow given stage both complete normally,
+ is executed using the supplied executor,
+ with the two results as arguments to the supplied function.
+
+
+
+
+
Returns a new CompletableFuture that, when the given stage completes normally,
+ is executed using the given Executor, with the given stage's result as the argument to the given actions.
+
+
+
+
+
Returns a new CompletableFuture that, when the given stage completes normally,
+ is executed using the CompletableFuture's default asynchronous execution facility,
+ with the given stage's result as the argument to the given actions.
+
+
+
+
+
Returns a new CompletableFuture that, when the given stage completes normally,
+ is executed using the given Executor, with the given stage's result as the argument to the given actions.
+
+
+
+
+
Returns a new CompletableFuture that, when the given stage completes normally,
+ is executed using the CompletableFuture's default asynchronous execution facility,
+ with the given stage's result as the argument to the given actions.
+
+
+
+
+
Returns a new CompletableFuture that, when the given stage completes normally,
+ is executed using the given Executor, with the given stage's result as the argument to the given actions.
+
+
+
+
+
Returns a new CompletableFuture that, when the given stage completes normally,
+ is executed using the CompletableFuture's default asynchronous execution facility,
+ with the given stage's result as the argument to the given actions.
+
+
+
+
+
Returns a new CompletableFuture that, when the given stage completes normally,
+ is executed using the given Executor, with the given stage's result as the argument to the given actions.
+
+
+
+
+
Returns a new CompletableFuture that, when the given stage completes normally,
+ is executed using the CompletableFuture's default asynchronous execution facility,
+ with the given stage's result as the argument to the given actions.
+
+
+
+
+
Returns a new CompletableFuture that, when the given stage completes normally,
+ is executed in the given Executor with the successful values obtained by calling the given Functions
+ (with the given stage's result as the argument to the given functions)
+ in the same order of the given Functions arguments.
+
+
+
+
+
Returns a new CompletableFuture that, when the given stage completes normally,
+ is executed in the CompletableFuture's default asynchronous execution facility
+ with the successful values obtained by calling the given Functions
+ (with the given stage's result as the argument to the given functions)
+ in the same order of the given Functions arguments.
+
+
+
+
+
Returns a new CompletableFuture that, when the given stage completes normally,
+ is executed using the given Executor, with any completed result obtained by calling the given Functions
+ (with the given stage's result as the argument to the given functions).
+
+
+
+
+
Returns a new CompletableFuture that, when the given stage completes normally,
+ is executed using the CompletableFuture's default asynchronous execution facility,
+ with any completed result obtained by calling the given Functions
+ (with the given stage's result as the argument to the given functions).
+
+
+
+
+
Returns a new CompletableFuture that, when the given stage completes normally,
+ is executed using the given Executor, with any successful value obtained by calling the given Functions
+ (with the given stage's result as the argument to the given functions).
+
+
+
+
+
Returns a new CompletableFuture that, when the given stage completes normally,
+ is executed using the CompletableFuture's default asynchronous execution facility,
+ with any successful value obtained by calling the given Functions
+ (with the given stage's result as the argument to the given functions).
+
+
+
+
+
Returns a new CompletableFuture that, when the given stage completes normally,
+ is executed using the given Executor, with the values obtained by calling the given Functions
+ (with the given stage's result as the argument to the given functions)
+ in the same order of the given Functions arguments.
+
+
+
+
+
Returns a new CompletableFuture that, when the given stage completes normally,
+ is executed using the CompletableFuture's default asynchronous execution facility,
+ with the values obtained by calling the given Functions
+ (with the given stage's result as the argument to the given functions)
+ in the same order of the given Functions arguments.
+
+
+
+
+
Returns a new CompletableFuture that, when the given stage completes normally,
+ is executed using the given Executor, with the values obtained by calling the given Functions
+ (with the given stage's result as the argument to the given functions)
+ in the same order of the given Functions arguments.
+
+
+
+
+
Returns a new CompletableFuture that, when the given stage completes normally,
+ is executed using the CompletableFuture's default asynchronous execution facility,
+ with the values obtained by calling the given Functions
+ (with the given stage's result as the argument to the given functions)
+ in the same order of the given Functions arguments.
+
+
+
+
+
Returns a new CompletableFuture that, when the given stage completes normally,
+ is executed using the CompletableFuture's default asynchronous execution facility,
+ with the most values obtained by calling the given Functions
+ (with the given stage's result as the argument to the given functions)
+ in the given time(timeout
, aka as many results as possible in the given time)
+ in the same order of the given Functions arguments.
+
+
+
+
+
Returns a new CompletableFuture that, when the given stage completes normally,
+ is executed using the given Executor, with the most values obtained by calling the given Functions
+ (with the given stage's result as the argument to the given functions)
+ in the given time(timeout
, aka as many results as possible in the given time)
+ in the same order of the given Functions arguments.
+
+
+
+
+
Returns a new CompletableFuture that, when the given stage completes normally,
+ executes the given actions using the CompletableFuture's default asynchronous execution facility.
+
+
+
+
+
Returns a new CompletableFuture that, when the given stage completes normally,
+ executes the given actions using the given Executor.
+
+
+
+
+
Returns a new CompletableFuture that, when the given stage completes normally,
+ executes the given actions using the CompletableFuture's default asynchronous execution facility.
+
+
+
+
+
Returns a new CompletableFuture that, when the given stage completes normally,
+ executes the given actions using the given Executor.
+
+
+
+
+
Returns a new CompletableFuture that, when the given stage completes normally,
+ executes the given actions using the CompletableFuture's default asynchronous execution facility.
+
+
+
+
+
Returns a new CompletableFuture that, when the given stage completes normally,
+ executes the given actions using the given Executor.
+
+
+
+
+
Returns a new CompletableFuture that, when the given stage completes normally,
+ executes the given actions using the CompletableFuture's default asynchronous execution facility.
+
+
+
+
+
Returns a new CompletableFuture that, when the given stage completes normally,
+ executes the given actions using the given Executor.
+
+
+
+
+
Returns a new CompletableFuture that, when the given stage completes normally,
+ is executed in the given Executor with the successful values obtained by calling the given Functions
+ (with the given stage's result as the argument to the given functions)
+ in the same order of the given Functions arguments.
+
+
+
+
+
Returns a new CompletableFuture that, when the given stage completes normally,
+ is executed in the given Executor with the successful values obtained by calling the given Functions
+ (with the given stage's result as the argument to the given functions)
+ in the same order of the given Functions arguments.
+
+
+
+
+
Returns a new CompletableFuture that, when the given stage completes normally,
+ is executed in the given Executor with the successful values obtained by calling the given Functions
+ (with the given stage's result as the argument to the given functions)
+ in the same order of the given Functions arguments.
+
+
+
thenTupleMApplyAllSuccessAsync(CompletableFuture<? extends T> cfThis,
+ Executor executor,
+ Function<? super T,? extends U1> fn1,
+ Function<? super T,? extends U2> fn2,
+ Function<? super T,? extends U3> fn3,
+ Function<? super T,? extends U4> fn4,
+ Function<? super T,? extends U5> fn5)
+
+
Returns a new CompletableFuture that, when the given stage completes normally,
+ is executed in the given Executor with the successful values obtained by calling the given Functions
+ (with the given stage's result as the argument to the given functions)
+ in the same order of the given Functions arguments.
+
+
+
+
+
Returns a new CompletableFuture that, when the given stage completes normally,
+ is executed in the CompletableFuture's default asynchronous execution facility
+ with the successful values obtained by calling the given Functions
+ (with the given stage's result as the argument to the given functions).
+
+
+
+
+
Returns a new CompletableFuture that, when the given stage completes normally,
+ is executed in the CompletableFuture's default asynchronous execution facility
+ with the successful values obtained by calling the given Functions
+ (with the given stage's result as the argument to the given functions)
+ in the same order of the given Functions arguments.
+
+
+
+
+
Returns a new CompletableFuture that, when the given stage completes normally,
+ is executed in the CompletableFuture's default asynchronous execution facility
+ with the successful values obtained by calling the given Functions
+ (with the given stage's result as the argument to the given functions)
+ in the same order of the given Functions arguments.
+
+
+
thenTupleMApplyAllSuccessAsync(CompletableFuture<? extends T> cfThis,
+ Function<? super T,? extends U1> fn1,
+ Function<? super T,? extends U2> fn2,
+ Function<? super T,? extends U3> fn3,
+ Function<? super T,? extends U4> fn4,
+ Function<? super T,? extends U5> fn5)
+
+
Returns a new CompletableFuture that, when the given stage completes normally,
+ is executed in the CompletableFuture's default asynchronous execution facility
+ with the successful values obtained by calling the given Functions
+ (with the given stage's result as the argument to the given functions)
+ in the same order of the given Functions arguments.
+
+
+
+
+
Returns a new CompletableFuture that, when the given stage completes normally,
+ is executed using the given Executor, with the values obtained by calling the given Functions
+ (with the given stage's result as the argument to the given functions)
+ in the same order of the given Functions arguments.
+
+
+
+
+
Returns a new CompletableFuture that, when the given stage completes normally,
+ is executed using the given Executor, with the values obtained by calling the given Functions
+ (with the given stage's result as the argument to the given functions)
+ in the same order of the given Functions arguments.
+
+
+
+
+
Returns a new CompletableFuture that, when the given stage completes normally,
+ is executed using the given Executor, with the values obtained by calling the given Functions
+ (with the given stage's result as the argument to the given functions)
+ in the same order of the given Functions arguments.
+
+
+
thenTupleMApplyAsync(CompletableFuture<? extends T> cfThis,
+ Executor executor,
+ Function<? super T,? extends U1> fn1,
+ Function<? super T,? extends U2> fn2,
+ Function<? super T,? extends U3> fn3,
+ Function<? super T,? extends U4> fn4,
+ Function<? super T,? extends U5> fn5)
+
+
Returns a new CompletableFuture that, when the given stage completes normally,
+ is executed using the given Executor, with the values obtained by calling the given Functions
+ (with the given stage's result as the argument to the given functions)
+ in the same order of the given Functions arguments.
+
+
+
+
+
Returns a new CompletableFuture that, when the given stage completes normally,
+ is executed using the CompletableFuture's default asynchronous execution facility,
+ with the values obtained by calling the given Functions
+ (with the given stage's result as the argument to the given functions)
+ in the same order of the given Functions arguments.
+
+
+
+
+
Returns a new CompletableFuture that, when the given stage completes normally,
+ is executed using the CompletableFuture's default asynchronous execution facility,
+ with the values obtained by calling the given Functions
+ (with the given stage's result as the argument to the given functions)
+ in the same order of the given Functions arguments.
+
+
+
+
+
Returns a new CompletableFuture that, when the given stage completes normally,
+ is executed using the CompletableFuture's default asynchronous execution facility,
+ with the values obtained by calling the given Functions
+ (with the given stage's result as the argument to the given functions)
+ in the same order of the given Functions arguments.
+
+
+
thenTupleMApplyAsync(CompletableFuture<? extends T> cfThis,
+ Function<? super T,? extends U1> fn1,
+ Function<? super T,? extends U2> fn2,
+ Function<? super T,? extends U3> fn3,
+ Function<? super T,? extends U4> fn4,
+ Function<? super T,? extends U5> fn5)
+
+
Returns a new CompletableFuture that, when the given stage completes normally,
+ is executed using the CompletableFuture's default asynchronous execution facility,
+ with the values obtained by calling the given Functions
+ (with the given stage's result as the argument to the given functions)
+ in the same order of the given Functions arguments.
+
+
+
+
+
Returns a new CompletableFuture that, when the given stage completes normally,
+ is executed using the given Executor, with the values obtained by calling the given Functions
+ (with the given stage's result as the argument to the given functions)
+ in the same order of the given Functions arguments.
+
+
+
+
+
Returns a new CompletableFuture that, when the given stage completes normally,
+ is executed using the given Executor, with the values obtained by calling the given Functions
+ (with the given stage's result as the argument to the given functions)
+ in the same order of the given Functions arguments.
+
+
+
+
+
Returns a new CompletableFuture that, when the given stage completes normally,
+ is executed using the given Executor, with the values obtained by calling the given Functions
+ (with the given stage's result as the argument to the given functions)
+ in the same order of the given Functions arguments.
+
+
+
thenTupleMApplyFastFailAsync(CompletableFuture<? extends T> cfThis,
+ Executor executor,
+ Function<? super T,? extends U1> fn1,
+ Function<? super T,? extends U2> fn2,
+ Function<? super T,? extends U3> fn3,
+ Function<? super T,? extends U4> fn4,
+ Function<? super T,? extends U5> fn5)
+
+
Returns a new CompletableFuture that, when the given stage completes normally,
+ is executed using the given Executor, with the values obtained by calling the given Functions
+ (with the given stage's result as the argument to the given functions)
+ in the same order of the given Functions arguments.
+
+
+
+
+
Returns a new CompletableFuture that, when the given stage completes normally,
+ is executed using the CompletableFuture's default asynchronous execution facility,
+ with the values obtained by calling the given Functions
+ (with the given stage's result as the argument to the given functions)
+ in the same order of the given Functions arguments.
+
+
+
+
+
Returns a new CompletableFuture that, when the given stage completes normally,
+ is executed using the CompletableFuture's default asynchronous execution facility,
+ with the values obtained by calling the given Functions
+ (with the given stage's result as the argument to the given functions)
+ in the same order of the given Functions arguments.
+
+
+
+
+
Returns a new CompletableFuture that, when the given stage completes normally,
+ is executed using the CompletableFuture's default asynchronous execution facility,
+ with the values obtained by calling the given Functions
+ (with the given stage's result as the argument to the given functions)
+ in the same order of the given Functions arguments.
+
+
+
thenTupleMApplyFastFailAsync(CompletableFuture<? extends T> cfThis,
+ Function<? super T,? extends U1> fn1,
+ Function<? super T,? extends U2> fn2,
+ Function<? super T,? extends U3> fn3,
+ Function<? super T,? extends U4> fn4,
+ Function<? super T,? extends U5> fn5)
+
+
Returns a new CompletableFuture that, when the given stage completes normally,
+ is executed using the CompletableFuture's default asynchronous execution facility,
+ with the values obtained by calling the given Functions
+ (with the given stage's result as the argument to the given functions)
+ in the same order of the given Functions arguments.
+
+
+
+
+
Returns a new CompletableFuture that, when the given stage completes normally,
+ is executed using the CompletableFuture's default asynchronous execution facility,
+ with the most values obtained by calling the given Functions
+ (with the given stage's result as the argument to the given functions)
+ in the given time(timeout
, aka as many results as possible in the given time)
+ in the same order of the given Functions arguments.
+
+
+
+
+
Returns a new CompletableFuture that, when the given stage completes normally,
+ is executed using the CompletableFuture's default asynchronous execution facility,
+ with the most values obtained by calling the given Functions
+ (with the given stage's result as the argument to the given functions)
+ in the given time(timeout
, aka as many results as possible in the given time)
+ in the same order of the given Functions arguments.
+
+
+
thenTupleMApplyMostSuccessAsync(CompletableFuture<? extends T> cfThis,
+ long timeout,
+ TimeUnit unit,
+ Function<? super T,? extends U1> fn1,
+ Function<? super T,? extends U2> fn2,
+ Function<? super T,? extends U3> fn3,
+ Function<? super T,? extends U4> fn4)
+
+
Returns a new CompletableFuture that, when the given stage completes normally,
+ is executed using the CompletableFuture's default asynchronous execution facility,
+ with the most values obtained by calling the given Functions
+ (with the given stage's result as the argument to the given functions)
+ in the given time(timeout
, aka as many results as possible in the given time)
+ in the same order of the given Functions arguments.
+
+
+
thenTupleMApplyMostSuccessAsync(CompletableFuture<? extends T> cfThis,
+ long timeout,
+ TimeUnit unit,
+ Function<? super T,? extends U1> fn1,
+ Function<? super T,? extends U2> fn2,
+ Function<? super T,? extends U3> fn3,
+ Function<? super T,? extends U4> fn4,
+ Function<? super T,? extends U5> fn5)
+
+
Returns a new CompletableFuture that, when the given stage completes normally,
+ is executed using the CompletableFuture's default asynchronous execution facility,
+ with the most values obtained by calling the given Functions
+ (with the given stage's result as the argument to the given functions)
+ in the given time(timeout
, aka as many results as possible in the given time)
+ in the same order of the given Functions arguments.
+
+
+
+
+
Returns a new CompletableFuture that, when the given stage completes normally,
+ is executed using the given Executor,
+ with the most values obtained by calling the given Functions
+ (with the given stage's result as the argument to the given functions)
+ in the given time(timeout
, aka as many results as possible in the given time)
+ in the same order of the given Functions arguments.
+
+
+
+
+
Returns a new CompletableFuture that, when the given stage completes normally,
+ is executed using the given Executor,
+ with the most values obtained by calling the given Functions
+ (with the given stage's result as the argument to the given functions)
+ in the given time(timeout
, aka as many results as possible in the given time)
+ in the same order of the given Functions arguments.
+
+
+
thenTupleMApplyMostSuccessAsync(CompletableFuture<? extends T> cfThis,
+ Executor executor,
+ long timeout,
+ TimeUnit unit,
+ Function<? super T,? extends U1> fn1,
+ Function<? super T,? extends U2> fn2,
+ Function<? super T,? extends U3> fn3,
+ Function<? super T,? extends U4> fn4)
+
+
Returns a new CompletableFuture that, when the given stage completes normally,
+ is executed using the given Executor,
+ with the most values obtained by calling the given Functions
+ (with the given stage's result as the argument to the given functions)
+ in the given time(timeout
, aka as many results as possible in the given time)
+ in the same order of the given Functions arguments.
+
+
+
thenTupleMApplyMostSuccessAsync(CompletableFuture<? extends T> cfThis,
+ Executor executor,
+ long timeout,
+ TimeUnit unit,
+ Function<? super T,? extends U1> fn1,
+ Function<? super T,? extends U2> fn2,
+ Function<? super T,? extends U3> fn3,
+ Function<? super T,? extends U4> fn4,
+ Function<? super T,? extends U5> fn5)
+
+
Returns a new CompletableFuture that, when the given stage completes normally,
+ is executed using the given Executor,
+ with the most values obtained by calling the given Functions
+ (with the given stage's result as the argument to the given functions)
+ in the given time(timeout
, aka as many results as possible in the given time)
+ in the same order of the given Functions arguments.
+
+
+
+
+
+
+
+
Returns a new CompletableFuture that is asynchronously completed
+ by tasks running in the given executor with the successfully values obtained by calling the given Suppliers
+ in the same order of the given Suppliers arguments.
+
+
+
+
+
Returns a new CompletableFuture that is asynchronously completed
+ by tasks running in the given executor with the successfully values obtained by calling the given Suppliers
+ in the same order of the given Suppliers arguments.
+
+
+
+
+
Returns a new CompletableFuture that is asynchronously completed
+ by tasks running in the given executor with the successfully values obtained by calling the given Suppliers
+ in the same order of the given Suppliers arguments.
+
+
+
+
+
Returns a new CompletableFuture that is asynchronously completed
+ by tasks running in the given executor with the successfully values obtained by calling the given Suppliers
+ in the same order of the given Suppliers arguments.
+
+
+
+
+
Returns a new CompletableFuture that is asynchronously completed
+ by tasks running in the CompletableFuture's default asynchronous execution facility
+ with the successful values obtained by calling the given Suppliers
+ in the same order of the given Suppliers arguments.
+
+
+
+
+
Returns a new CompletableFuture that is asynchronously completed
+ by tasks running in the CompletableFuture's default asynchronous execution facility
+ with the successful values obtained by calling the given Suppliers
+ in the same order of the given Suppliers arguments.
+
+
+
+
+
Returns a new CompletableFuture that is asynchronously completed
+ by tasks running in the CompletableFuture's default asynchronous execution facility
+ with the successful values obtained by calling the given Suppliers
+ in the same order of the given Suppliers arguments.
+
+
+
+
+
Returns a new CompletableFuture that is asynchronously completed
+ by tasks running in the CompletableFuture's default asynchronous execution facility
+ with the successful values obtained by calling the given Suppliers
+ in the same order of the given Suppliers arguments.
+
+
+
+
+
Returns a new CompletableFuture that is asynchronously completed
+ by tasks running in the given Executor with the values obtained by calling the given Suppliers
+ in the same order of the given Suppliers arguments.
+
+
+
+
+
Returns a new CompletableFuture that is asynchronously completed
+ by tasks running in the given Executor with the values obtained by calling the given Suppliers
+ in the same order of the given Suppliers arguments.
+
+
+
+
+
Returns a new CompletableFuture that is asynchronously completed
+ by tasks running in the given Executor with the values obtained by calling the given Suppliers
+ in the same order of the given Suppliers arguments.
+
+
+
+
+
Returns a new CompletableFuture that is asynchronously completed
+ by tasks running in the given Executor with the values obtained by calling the given Suppliers
+ in the same order of the given Suppliers arguments.
+
+
+
+
+
Returns a new CompletableFuture that is asynchronously completed
+ by tasks running in the CompletableFuture's default asynchronous execution facility
+ with the values obtained by calling the given Suppliers
+ in the same order of the given Suppliers arguments.
+
+
+
+
+
Returns a new CompletableFuture that is asynchronously completed
+ by tasks running in the CompletableFuture's default asynchronous execution facility
+ with the values obtained by calling the given Suppliers
+ in the same order of the given Suppliers arguments.
+
+
+
+
+
Returns a new CompletableFuture that is asynchronously completed
+ by tasks running in the CompletableFuture's default asynchronous execution facility
+ with the values obtained by calling the given Suppliers
+ in the same order of the given Suppliers arguments.
+
+
+
+
+
Returns a new CompletableFuture that is asynchronously completed
+ by tasks running in the CompletableFuture's default asynchronous execution facility
+ with the values obtained by calling the given Suppliers
+ in the same order of the given Suppliers arguments.
+
+
+
+
+
Returns a new CompletableFuture that is asynchronously completed
+ by tasks running in the given Executor with the values obtained by calling the given Suppliers
+ in the same order of the given Suppliers arguments.
+
+
+
+
+
Returns a new CompletableFuture that is asynchronously completed
+ by tasks running in the given Executor with the values obtained by calling the given Suppliers
+ in the same order of the given Suppliers arguments.
+
+
+
+
+
Returns a new CompletableFuture that is asynchronously completed
+ by tasks running in the given Executor with the values obtained by calling the given Suppliers
+ in the same order of the given Suppliers arguments.
+
+
+
+
+
Returns a new CompletableFuture that is asynchronously completed
+ by tasks running in the given Executor with the values obtained by calling the given Suppliers
+ in the same order of the given Suppliers arguments.
+
+
+
+
+
Returns a new CompletableFuture that is asynchronously completed
+ by tasks running in the CompletableFuture's default asynchronous execution facility
+ with the values obtained by calling the given Suppliers
+ in the same order of the given Suppliers arguments.
+
+
+
+
+
Returns a new CompletableFuture that is asynchronously completed
+ by tasks running in the CompletableFuture's default asynchronous execution facility
+ with the values obtained by calling the given Suppliers
+ in the same order of the given Suppliers arguments.
+
+
+
+
+
Returns a new CompletableFuture that is asynchronously completed
+ by tasks running in the CompletableFuture's default asynchronous execution facility
+ with the values obtained by calling the given Suppliers
+ in the same order of the given Suppliers arguments.
+
+
+
+
+
Returns a new CompletableFuture that is asynchronously completed
+ by tasks running in the CompletableFuture's default asynchronous execution facility
+ with the values obtained by calling the given Suppliers
+ in the same order of the given Suppliers arguments.
+
+
+
+
+
Returns a new CompletableFuture that is asynchronously completed
+ by tasks running in the CompletableFuture's default asynchronous execution facility
+ with the most values obtained by calling the given Suppliers
+ in the given time(timeout
, aka as many results as possible in the given time)
+ in the same order of the given Suppliers arguments.
+
+
+
+
+
Returns a new CompletableFuture that is asynchronously completed
+ by tasks running in the CompletableFuture's default asynchronous execution facility
+ with the most values obtained by calling the given Suppliers
+ in the given time(timeout
, aka as many results as possible in the given time)
+ in the same order of the given Suppliers arguments.
+
+
+
+
+
Returns a new CompletableFuture that is asynchronously completed
+ by tasks running in the CompletableFuture's default asynchronous execution facility
+ with the most values obtained by calling the given Suppliers
+ in the given time(timeout
, aka as many results as possible in the given time)
+ in the same order of the given Suppliers arguments.
+
+
+
+
+
Returns a new CompletableFuture that is asynchronously completed
+ by tasks running in the CompletableFuture's default asynchronous execution facility
+ with the most values obtained by calling the given Suppliers
+ in the given time(timeout
, aka as many results as possible in the given time)
+ in the same order of the given Suppliers arguments.
+
+
+
+
+
Returns a new CompletableFuture that is asynchronously completed by tasks running in the given Executor
+ with the most values obtained by calling the given Suppliers
+ in the given time(timeout
, aka as many results as possible in the given time)
+ in the same order of the given Suppliers arguments.
+
+
+
+
+
Returns a new CompletableFuture that is asynchronously completed by tasks running in the given Executor
+ with the most values obtained by calling the given Suppliers
+ in the given time(timeout
, aka as many results as possible in the given time)
+ in the same order of the given Suppliers arguments.
+
+
+
+
+
Returns a new CompletableFuture that is asynchronously completed by tasks running in the given Executor
+ with the most values obtained by calling the given Suppliers
+ in the given time(timeout
, aka as many results as possible in the given time)
+ in the same order of the given Suppliers arguments.
+
+
+
+
+
Returns a new CompletableFuture that is asynchronously completed by tasks running in the given Executor
+ with the most values obtained by calling the given Suppliers
+ in the given time(timeout
, aka as many results as possible in the given time)
+ in the same order of the given Suppliers arguments.
+
+
+
+
+