-
-
-
-
-
-
-
Returns a new Cffu that, when either this or the other given stage complete normally,
- is executed with the corresponding result as argument to the supplied action.
-
-
-
-
-
Returns a new Cffu that, when either this or the other given stage complete normally,
- is executed using
defaultExecutor()
,
- with the corresponding result as argument to the supplied action.
-
-
-
-
-
Returns a new Cffu that, when either this or the other given stage complete normally,
- is executed using the supplied executor, with the corresponding result as argument to the supplied action.
-
-
-
-
-
Provided this overloaded method just for resolving "allOf is ambiguous" problem
- when call allOf
with empty arguments: cffuFactory.allOf()
.
-
-
-
-
-
Returns a new Cffu that is completed when all the given Cffus complete.
-
-
-
-
-
Returns a new Cffu that is completed when all the given CompletableFutures complete.
-
-
-
-
-
Provided this overloaded method just for resolving "allOfFastFail is ambiguous" problem
- when call allOfFastFail
with empty arguments: cffuFactory.allOfFastFail()
.
-
-
-
-
-
Returns a new Cffu that is successful when all the given Cffus success,
- the results(Cffu<Void>
) of the given Cffus are not reflected
- in the returned Cffu, but may be obtained by inspecting them individually.
-
-
-
-
-
Returns a new Cffu that is successful when all the given CompletableFutures success,
- the results(Cffu<Void>
) of the given CompletableFutures are not reflected
- in the returned Cffu, but may be obtained by inspecting them individually.
-
-
-
-
-
Provided this overloaded method just for resolving "anyOf is ambiguous" problem
- when call anyOf
with empty arguments: cffuFactory.anyOf()
.
-
-
-
-
-
Returns a new Cffu that is completed when any of the given Cffus complete, with the same result.
- Otherwise, if it completed exceptionally, the returned Cffu also does so,
- with a CompletionException holding this exception as its cause.
- If no Cffus are provided, returns an incomplete Cffu.
-
-
-
-
-
-
-
-
Provided this overloaded method just for resolving "cffuAnyOfSuccess is ambiguous" problem
- when call anyOfSuccess
with empty arguments: cffuFactory.anyOfSuccess()
.
-
-
-
-
-
Returns a new Cffu that is successful when any of the given Cffus success,
- with the same result.
-
-
-
-
-
Returns a new Cffu that is successful when any of the given CompletableFutures success,
- with the same result.
-
-
-
-
-
Returns a new Cffu that, when either this or the other given stage complete normally,
- is executed with the corresponding result as argument to the supplied function.
-
-
-
-
-
Returns a new Cffu that, when either this or the other given stage complete normally,
- is executed using
defaultExecutor()
,
- with the corresponding result as argument to the supplied function.
-
-
-
-
-
Returns a new Cffu that, when either this or the other given stage complete normally,
- is executed using the supplied executor, with the corresponding result as argument to the supplied function.
-
-
-
-
-
-
-
-
-
-
-
Provided this overloaded method just for resolving "cffuAllOf is ambiguous" problem
- when call cffuAllOf
with empty arguments: cffuFactory.cffuAllOf()
.
-
-
-
-
-
Returns a new Cffu with the results of all the given Cffus,
- the new Cffu is completed when all the given Cffus complete.
-
-
-
-
-
Returns a new Cffu with the results of all the given CompletableFutures,
- the new Cffu is completed when all the given CompletableFutures complete.
-
-
-
-
-
Provided this overloaded method just for resolving "cffuAllOfFastFail is ambiguous" problem
- when call cffuAllOfFastFail
with empty arguments: cffuFactory.cffuAllOfFastFail()
.
-
-
-
-
-
Returns a new Cffu with the results of all the given Cffus,
- the new Cffu success when all the given Cffus success.
-
-
-
-
-
Returns a new Cffu with the results of all the given CompletableFutures,
- the new Cffu success when all the given CompletableFutures success.
-
-
-
-
-
Provided this overloaded method just for resolving "cffuAnyOf is ambiguous" problem
- when call cffuAnyOf
with empty arguments: cffuFactory.cffuAnyOf()
.
-
-
-
-
-
Returns a new Cffu that is completed when any of the given Cffus complete, with the same result.
-
-
-
-
-
Returns a new Cffu that is completed when any of the given CompletableFutures complete, with the same result.
-
-
-
-
-
Provided this overloaded method just for resolving "cffuAnyOfSuccess is ambiguous" problem
- when call cffuAnyOfSuccess
with empty arguments: cffuFactory.cffuAnyOfSuccess()
.
-
-
-
-
-
Returns a new Cffu that is successful when any of the given Cffus success,
- with the same result.
-
-
-
-
-
Returns a new Cffu that is successful when any of the given CompletableFutures success,
- with the same result.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Returns a new Cffu that is completed when the given two Cffus complete.
-
-
-
-
-
Returns a new Cffu that is completed when the given three Cffus complete.
-
-
-
-
-
Returns a new Cffu that is completed when the given 4 Cffus complete.
-
-
<T1,
-T2,
-T3,
-T4,
-T5>
Cffu<Tuple5<T1,T2,T3,T4,T5>>
-
-
-
Returns a new Cffu that is completed when the given 5 Cffus complete.
-
-
-
-
-
Returns a new Cffu that is completed when the given two CompletableFutures complete.
-
-
-
-
-
Returns a new Cffu that is completed when the given three CompletableFutures complete.
-
-
-
-
-
Returns a new Cffu that is completed when the given 4 CompletableFutures complete.
-
-
<T1,
-T2,
-T3,
-T4,
-T5>
Cffu<Tuple5<T1,T2,T3,T4,T5>>
-
-
-
Returns a new Cffu that is completed when the given 5 CompletableFutures complete.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Returns a new Cffu that is successful when the given two Cffus success.
-
-
-
-
-
Returns a new Cffu that is successful when the given three Cffus success.
-
-
-
-
-
Returns a new Cffu that is successful when the given four Cffus success.
-
-
<T1,
-T2,
-T3,
-T4,
-T5>
Cffu<Tuple5<T1,T2,T3,T4,T5>>
-
-
-
Returns a new Cffu that is successful when the given five Cffus success.
-
-
-
-
-
Returns a new Cffu that is successful when the given two CompletableFutures success.
-
-
-
-
-
Returns a new Cffu that is successful when the given three CompletableFutures success.
-
-
-
-
-
Returns a new Cffu that is successful when the given four CompletableFutures success.
-
-
<T1,
-T2,
-T3,
-T4,
-T5>
Cffu<Tuple5<T1,T2,T3,T4,T5>>
-
-
-
Returns a new Cffu that is successful when the given five CompletableFutures success.
-
-
-
-
-
Convert Cffu list to Cffu array.
-
-
-
-
-
Completes this Cffu with the result of the given Supplier function invoked
- from an asynchronous task using
defaultExecutor()
.
-
-
-
-
-
Completes this Cffu with the result of the given Supplier function invoked
- from an asynchronous task using the given executor.
-
-
-
-
-
Returns a new Cffu that is already completed with the given value.
-
-
-
-
-
Completes this Cffu with the given value if not otherwise completed before the given timeout.
-
-
-
-
-
Returns a new Cffu that is completed normally with the same value as this Cffu when it completes normally.
-
-
-
-
-
Returns a new Cffu that, when this stage completes exceptionally,
- is executed with this stage's exception as the argument to the supplied function.
-
-
-
-
-
Returns a new Cffu that, when this stage completes exceptionally,
- is executed with this stage's exception as the argument to the supplied function,
- using
defaultExecutor()
.
-
-
-
-
-
Returns a new Cffu that, when this stage completes exceptionally,
- is executed with this stage's exception as the argument to the supplied function,
- using the supplied Executor.
-
-
-
-
-
Returns a new CompletionStage that, when this stage completes exceptionally,
- is composed using the results of the supplied function applied to this stage's exception.
-
-
-
-
-
Returns a new Cffu that, when this stage completes exceptionally,
- is composed using the results of the supplied function applied to this stage's exception,
- using
defaultExecutor()
.
-
-
-
-
-
Returns a new Cffu that, when this stage completes exceptionally,
- is composed using the results of the supplied function applied to this stage's exception,
- using the supplied Executor.
-
-
-
-
-
Returns a new Cffu that is already completed exceptionally with the given exception.
-
-
-
-
-
Returns a new Cffu that, when this stage completes either normally or exceptionally,
- is executed with this stage's result and exception as arguments to the supplied function.
-
-
-
-
-
Returns a new Cffu that, when this stage completes either normally or exceptionally,
- is executed using
defaultExecutor()
,
- with this stage's result and exception as arguments to the supplied function.
-
-
-
-
-
Returns a new Cffu that, when this stage completes either normally or exceptionally,
- is executed using the supplied executor, with this stage's result and exception
- as arguments to the supplied function.
-
-
-
-
-
-
-
-
Returns a new incomplete Cffu with CompletableFuture of the type to be returned by a CompletionStage method.
-
-
-
-
-
Exceptionally completes this Cffu with a
TimeoutException
- if not otherwise completed before the given timeout.
-
-
-
-
-
Returns a new Cffu with given CffuFactory(contained configuration)
- that is completed normally with the same value as this Cffu when it completes normally.
-
-
-
-
-
Returns a new Cffu that, when this and the other given stage
- both complete normally, executes the given action.
-
-
-
-
-
Returns a new Cffu that, when this and the other given stage both complete normally,
- executes the given action using
defaultExecutor()
.
-
-
-
-
-
Returns a new Cffu that, when this and the other given stage both complete normally,
- executes the given action using the supplied executor.
-
-
-
-
-
Returns a new Cffu that, when either this or the other given stage complete normally,
- executes the given action.
-
-
-
-
-
Returns a new Cffu that, when either this or the other given stage complete normally,
- executes the given action using
defaultExecutor()
.
-
-
-
-
-
Returns a new Cffu that, when either this or the other given stage complete normally,
- executes the given action using the supplied executor.
-
-
-
-
-
-
-
-
Returns a new Cffu that is asynchronously completed
- by a task running in the given executor after it runs the given action.
-
-
-
-
-
Returns a new Cffu that is asynchronously completed
- by a task running in the
CffuFactory.defaultExecutor()
with
- the value obtained by calling the given Supplier.
-
-
-
-
-
Returns a new Cffu that is asynchronously completed by a task running
- in the given executor with the value obtained by calling the given Supplier.
-
-
-
-
-
Returns a new Cffu that, when this stage completes normally,
- is executed with this stage's result as the argument to the supplied action.
-
-
-
-
-
Returns a new Cffu that, when this stage completes normally,
- is executed using
defaultExecutor()
,
- with this stage's result as the argument to the supplied action.
-
-
-
-
-
Returns a new Cffu that, when this stage completes normally,
- is executed using the supplied Executor, with this stage's result as the argument to the supplied action.
-
-
-
-
-
Returns a new Cffu that, when this and the other given stage both complete normally,
- is executed with the two results as arguments to the supplied action.
-
-
-
-
-
Returns a new Cffu that, when this and the other given stage both complete normally,
- is executed using
defaultExecutor()
,
- with the two results as arguments to the supplied action.
-
-
-
-
-
Returns a new Cffu that, when this and the other given stage both complete normally,
- is executed using the supplied executor, with the two results as arguments to the supplied action.
-
-
-
-
-
Returns a new Cffu that, when this stage completes normally,
- is executed with this stage's result as the argument to the supplied function.
-
-
-
-
-
Returns a new Cffu that, when this stage completes normally,
- is executed using
defaultExecutor()
,
- with this stage's result as the argument to the supplied function.
-
-
-
-
-
Returns a new Cffu that, when this stage completes normally,
- is executed using the supplied Executor,
- with this stage's result as the argument to the supplied function.
-
-
-
-
-
Returns a new Cffu that, when this and the other given stage both complete normally,
- is executed with the two results as arguments to the supplied function.
-
-
-
-
-
Returns a new Cffu that, when this and the other given stage both complete normally,
- is executed using
defaultExecutor()
,
- with the two results as arguments to the supplied function.
-
-
-
-
-
Returns a new Cffu that, when this and the other given stage both complete normally,
- is executed using the supplied executor, with the two results as arguments to the supplied function.
-
-
-
-
-
Returns a new Cffu that is completed with the same value
- as the CompletionStage returned by the given function.
-
-
-
-
-
Returns a new Cffu that is completed with the same value as the CompletionStage
- returned by the given function, executed using
defaultExecutor()
.
-
-
-
-
-
Returns a new Cffu that is completed with the same value as the CompletionStage
- returned by the given function, executed using the supplied Executor.
-
-
-
-
-
Returns a new Cffu that, when this stage completes normally, executes the given action.
-
-
-
-
-
Returns a new Cffu that, when this stage completes normally,
- executes the given action using
defaultExecutor()
.
-
-
-
-
-
Returns a new Cffu that, when this stage completes normally,
- executes the given action using the supplied Executor.
-
-
-
-
-
Returns a new Cffu with the same result or exception as this stage,
- that executes the given action when this stage completes.
-
-
-
-
-
Returns a new Cffu with the same result or exception as this stage,
- that executes the given action using
defaultExecutor()
- when this stage completes.
-
-
-
-
-
Returns a new Cffu with the same result or exception as this stage,
- that executes the given action using the supplied Executor when this stage completes.
-
-
-
-
-
-
-
-
-
-
Returns a new Cffu that is completed when all the given Cffus complete.
-
-
-
-
-
Returns a new Cffu that is successful when all the given Cffus success,
- the results(Cffu<Void>
) of the given Cffus are not reflected
- in the returned Cffu, but may be obtained by inspecting them individually.
-
-
-
-
-
Returns a new Cffu that is completed when any of the given Cffus complete, with the same result.
- Otherwise, if it completed exceptionally, the returned Cffu also does so,
- with a CompletionException holding this exception as its cause.
- If no Cffus are provided, returns an incomplete Cffu.
-
-
-
-
-
Returns a new Cffu that is successful when any of the given Cffus success,
- with the same result.
-
-
-
-
-
Returns a new Cffu with the results of all the given Cffus,
- the new Cffu is completed when all the given Cffus complete.
-
-
-
-
-
Returns a new Cffu with the results of all the given Cffus,
- the new Cffu success when all the given Cffus success.
-
-
-
-
-
Returns a new Cffu that is completed when any of the given Cffus complete, with the same result.
-
-
-
-
-
Returns a new Cffu that is successful when any of the given Cffus success,
- with the same result.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Returns a new Cffu that is completed when the given two Cffus complete.
-
-
-
-
-
Returns a new Cffu that is completed when the given three Cffus complete.
-
-
-
-
-
Returns a new Cffu that is completed when the given 4 Cffus complete.
-
-
<T1,
-T2,
-T3,
-T4,
-T5>
Cffu<Tuple5<T1,T2,T3,T4,T5>>
-
-
-
Returns a new Cffu that is completed when the given 5 Cffus complete.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Returns a new Cffu that is successful when the given two Cffus success.
-
-
-
-
-
Returns a new Cffu that is successful when the given three Cffus success.
-
-
-
-
-
Returns a new Cffu that is successful when the given four Cffus success.
-
-
<T1,
-T2,
-T3,
-T4,
-T5>
Cffu<Tuple5<T1,T2,T3,T4,T5>>
-
-
-
Returns a new Cffu that is successful when the given five Cffus success.
-
-
-