Class CffuFactory.TupleOps
- Enclosing class:
CffuFactory
CffuFactory
for processing and composing multiple asynchronous actions and CompletableFutures in a type-safe manner.
While CffuFactory uses array-based methods with varargs, this class uses strongly typed tuples
containing 2 to 5 elements. The tuple approach provides better type safety when working with a fixed number of
heterogeneous actions or CompletableFutures, as type mismatches are caught at compile time rather than runtime.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionallSuccessTupleOf(CompletionStage<? extends T1> cf1, CompletionStage<? extends T2> cf2) Tuple variant ofCffuFactory.allSuccessResultsOf(Object, CompletionStage[])withnullvalueIfFailed.allSuccessTupleOf(CompletionStage<? extends T1> cf1, CompletionStage<? extends T2> cf2, CompletionStage<? extends T3> cf3) Tuple variant ofCffuFactory.allSuccessResultsOf(Object, CompletionStage[])withnullvalueIfFailed.allSuccessTupleOf(CompletionStage<? extends T1> cf1, CompletionStage<? extends T2> cf2, CompletionStage<? extends T3> cf3, CompletionStage<? extends T4> cf4) Tuple variant ofCffuFactory.allSuccessResultsOf(Object, CompletionStage[])withnullvalueIfFailed.allSuccessTupleOf(CompletionStage<? extends T1> cf1, CompletionStage<? extends T2> cf2, CompletionStage<? extends T3> cf3, CompletionStage<? extends T4> cf4, CompletionStage<? extends T5> cf5) Tuple variant ofCffuFactory.allSuccessResultsOf(Object, CompletionStage[])withnullvalueIfFailed.allTupleFailFastOf(CompletionStage<? extends T1> cf1, CompletionStage<? extends T2> cf2) Tuple variant ofCffuFactory.allResultsFailFastOf(CompletionStage[]).allTupleFailFastOf(CompletionStage<? extends T1> cf1, CompletionStage<? extends T2> cf2, CompletionStage<? extends T3> cf3) Tuple variant ofCffuFactory.allResultsFailFastOf(CompletionStage[]).allTupleFailFastOf(CompletionStage<? extends T1> cf1, CompletionStage<? extends T2> cf2, CompletionStage<? extends T3> cf3, CompletionStage<? extends T4> cf4) Tuple variant ofCffuFactory.allResultsFailFastOf(CompletionStage[]).allTupleFailFastOf(CompletionStage<? extends T1> cf1, CompletionStage<? extends T2> cf2, CompletionStage<? extends T3> cf3, CompletionStage<? extends T4> cf4, CompletionStage<? extends T5> cf5) Tuple variant ofCffuFactory.allResultsFailFastOf(CompletionStage[]).allTupleOf(CompletionStage<? extends T1> cf1, CompletionStage<? extends T2> cf2) Tuple variant ofCffuFactory.allResultsOf(CompletionStage[]).allTupleOf(CompletionStage<? extends T1> cf1, CompletionStage<? extends T2> cf2, CompletionStage<? extends T3> cf3) Tuple variant ofCffuFactory.allResultsOf(CompletionStage[]).allTupleOf(CompletionStage<? extends T1> cf1, CompletionStage<? extends T2> cf2, CompletionStage<? extends T3> cf3, CompletionStage<? extends T4> cf4) Tuple variant ofCffuFactory.allResultsOf(CompletionStage[]).allTupleOf(CompletionStage<? extends T1> cf1, CompletionStage<? extends T2> cf2, CompletionStage<? extends T3> cf3, CompletionStage<? extends T4> cf4, CompletionStage<? extends T5> cf5) Tuple variant ofCffuFactory.allResultsOf(CompletionStage[]).mostSuccessTupleOf(long timeout, TimeUnit unit, CompletionStage<? extends T1> cf1, CompletionStage<? extends T2> cf2) Tuple variant ofCffuFactory.mostSuccessResultsOf(Object, long, TimeUnit, CompletionStage[])withnullvalueIfNotSuccess.mostSuccessTupleOf(long timeout, TimeUnit unit, CompletionStage<? extends T1> cf1, CompletionStage<? extends T2> cf2, CompletionStage<? extends T3> cf3) Tuple variant ofCffuFactory.mostSuccessResultsOf(Object, long, TimeUnit, CompletionStage[])withnullvalueIfNotSuccess.mostSuccessTupleOf(long timeout, TimeUnit unit, CompletionStage<? extends T1> cf1, CompletionStage<? extends T2> cf2, CompletionStage<? extends T3> cf3, CompletionStage<? extends T4> cf4) Tuple variant ofCffuFactory.mostSuccessResultsOf(Object, long, TimeUnit, CompletionStage[])withnullvalueIfNotSuccess.mostSuccessTupleOf(long timeout, TimeUnit unit, CompletionStage<? extends T1> cf1, CompletionStage<? extends T2> cf2, CompletionStage<? extends T3> cf3, CompletionStage<? extends T4> cf4, CompletionStage<? extends T5> cf5) Tuple variant ofCffuFactory.mostSuccessResultsOf(Object, long, TimeUnit, CompletionStage[])withnullvalueIfNotSuccess.mSupplyAllSuccessTupleAsync(Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2) Tuple variant ofCffuFactory.mSupplyAllSuccessAsync(Object, Supplier[])withnullvalueIfFailed.mSupplyAllSuccessTupleAsync(Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Executor executor) Tuple variant ofCffuFactory.mSupplyAllSuccessAsync(Executor, Object, Supplier[])withnullvalueIfFailed.mSupplyAllSuccessTupleAsync(Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3) Tuple variant ofCffuFactory.mSupplyAllSuccessAsync(Object, Supplier[])withnullvalueIfFailed.mSupplyAllSuccessTupleAsync(Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3, Executor executor) Tuple variant ofCffuFactory.mSupplyAllSuccessAsync(Executor, Object, Supplier[])withnullvalueIfFailed.mSupplyAllSuccessTupleAsync(Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3, Supplier<? extends T4> supplier4) Tuple variant ofCffuFactory.mSupplyAllSuccessAsync(Object, Supplier[])withnullvalueIfFailed.mSupplyAllSuccessTupleAsync(Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3, Supplier<? extends T4> supplier4, Executor executor) Tuple variant ofCffuFactory.mSupplyAllSuccessAsync(Executor, Object, Supplier[])withnullvalueIfFailed.mSupplyAllSuccessTupleAsync(Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3, Supplier<? extends T4> supplier4, Supplier<? extends T5> supplier5) Tuple variant ofCffuFactory.mSupplyAllSuccessAsync(Object, Supplier[])withnullvalueIfFailed.mSupplyAllSuccessTupleAsync(Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3, Supplier<? extends T4> supplier4, Supplier<? extends T5> supplier5, Executor executor) Tuple variant ofCffuFactory.mSupplyAllSuccessAsync(Executor, Object, Supplier[])withnullvalueIfFailed.mSupplyMostSuccessTupleAsync(long timeout, TimeUnit unit, Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2) Tuple variant ofCffuFactory.mSupplyMostSuccessAsync(Object, long, TimeUnit, Supplier[])withnullvalueIfNotSuccess.mSupplyMostSuccessTupleAsync(long timeout, TimeUnit unit, Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Executor executor) Tuple variant ofCffuFactory.mSupplyMostSuccessAsync(Executor, Object, long, TimeUnit, Supplier[])withnullvalueIfNotSuccess.mSupplyMostSuccessTupleAsync(long timeout, TimeUnit unit, Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3) Tuple variant ofCffuFactory.mSupplyMostSuccessAsync(Object, long, TimeUnit, Supplier[])withnullvalueIfNotSuccess.mSupplyMostSuccessTupleAsync(long timeout, TimeUnit unit, Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3, Executor executor) Tuple variant ofCffuFactory.mSupplyMostSuccessAsync(Executor, Object, long, TimeUnit, Supplier[])withnullvalueIfNotSuccess.mSupplyMostSuccessTupleAsync(long timeout, TimeUnit unit, Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3, Supplier<? extends T4> supplier4) Tuple variant ofCffuFactory.mSupplyMostSuccessAsync(Object, long, TimeUnit, Supplier[])withnullvalueIfNotSuccess.mSupplyMostSuccessTupleAsync(long timeout, TimeUnit unit, Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3, Supplier<? extends T4> supplier4, Executor executor) Tuple variant ofCffuFactory.mSupplyMostSuccessAsync(Executor, Object, long, TimeUnit, Supplier[])withnullvalueIfNotSuccess.mSupplyMostSuccessTupleAsync(long timeout, TimeUnit unit, Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3, Supplier<? extends T4> supplier4, Supplier<? extends T5> supplier5) Tuple variant ofCffuFactory.mSupplyMostSuccessAsync(Object, long, TimeUnit, Supplier[])withnullvalueIfNotSuccess.mSupplyMostSuccessTupleAsync(long timeout, TimeUnit unit, Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3, Supplier<? extends T4> supplier4, Supplier<? extends T5> supplier5, Executor executor) Tuple variant ofCffuFactory.mSupplyMostSuccessAsync(Executor, Object, long, TimeUnit, Supplier[])withnullvalueIfNotSuccess.mSupplyTupleAsync(Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2) Tuple variant ofCffuFactory.mSupplyAsync(Supplier[]).mSupplyTupleAsync(Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Executor executor) Tuple variant ofCffuFactory.mSupplyFailFastAsync(Executor, Supplier[]).mSupplyTupleAsync(Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3) Tuple variant ofCffuFactory.mSupplyAsync(Supplier[]).mSupplyTupleAsync(Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3, Executor executor) Tuple variant ofCffuFactory.mSupplyFailFastAsync(Executor, Supplier[]).mSupplyTupleAsync(Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3, Supplier<? extends T4> supplier4) Tuple variant ofCffuFactory.mSupplyAsync(Supplier[]).mSupplyTupleAsync(Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3, Supplier<? extends T4> supplier4, Executor executor) Tuple variant ofCffuFactory.mSupplyFailFastAsync(Executor, Supplier[]).mSupplyTupleAsync(Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3, Supplier<? extends T4> supplier4, Supplier<? extends T5> supplier5) Tuple variant ofCffuFactory.mSupplyAsync(Supplier[]).mSupplyTupleAsync(Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3, Supplier<? extends T4> supplier4, Supplier<? extends T5> supplier5, Executor executor) Tuple variant ofCffuFactory.mSupplyFailFastAsync(Executor, Supplier[]).mSupplyTupleFailFastAsync(Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2) Tuple variant ofCffuFactory.mSupplyFailFastAsync(Supplier[]).mSupplyTupleFailFastAsync(Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Executor executor) Tuple variant ofCffuFactory.mSupplyFailFastAsync(Executor, Supplier[]).mSupplyTupleFailFastAsync(Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3) Tuple variant ofCffuFactory.mSupplyFailFastAsync(Supplier[]).mSupplyTupleFailFastAsync(Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3, Executor executor) Tuple variant ofCffuFactory.mSupplyFailFastAsync(Executor, Supplier[]).mSupplyTupleFailFastAsync(Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3, Supplier<? extends T4> supplier4) Tuple variant ofCffuFactory.mSupplyFailFastAsync(Supplier[]).mSupplyTupleFailFastAsync(Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3, Supplier<? extends T4> supplier4, Executor executor) Tuple variant ofCffuFactory.mSupplyFailFastAsync(Executor, Supplier[]).mSupplyTupleFailFastAsync(Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3, Supplier<? extends T4> supplier4, Supplier<? extends T5> supplier5) Tuple variant ofCffuFactory.mSupplyFailFastAsync(Supplier[]).mSupplyTupleFailFastAsync(Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3, Supplier<? extends T4> supplier4, Supplier<? extends T5> supplier5, Executor executor) Tuple variant ofCffuFactory.mSupplyFailFastAsync(Executor, Supplier[]).
-
Method Details
-
mSupplyTupleFailFastAsync
@CheckReturnValue(explanation="should use the returned Cffu; otherwise, use method `CffuFactory#mRunAsyncAndForget`") public <T1,T2> Cffu<Tuple2<T1,T2>> mSupplyTupleFailFastAsync(Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2) Tuple variant ofCffuFactory.mSupplyFailFastAsync(Supplier[]). -
mSupplyTupleFailFastAsync
@CheckReturnValue(explanation="should use the returned Cffu; otherwise, use method `CffuFactory#mRunAsyncAndForget`") public <T1,T2> Cffu<Tuple2<T1,T2>> mSupplyTupleFailFastAsync(Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Executor executor) Tuple variant ofCffuFactory.mSupplyFailFastAsync(Executor, Supplier[]). -
mSupplyTupleFailFastAsync
@CheckReturnValue(explanation="should use the returned Cffu; otherwise, use method `CffuFactory#mRunAsyncAndForget`") public <T1,T2, Cffu<Tuple3<T1,T3> T2, mSupplyTupleFailFastAsyncT3>> (Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3) Tuple variant ofCffuFactory.mSupplyFailFastAsync(Supplier[]). -
mSupplyTupleFailFastAsync
@CheckReturnValue(explanation="should use the returned Cffu; otherwise, use method `CffuFactory#mRunAsyncAndForget`") public <T1,T2, Cffu<Tuple3<T1,T3> T2, mSupplyTupleFailFastAsyncT3>> (Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3, Executor executor) Tuple variant ofCffuFactory.mSupplyFailFastAsync(Executor, Supplier[]). -
mSupplyTupleFailFastAsync
@CheckReturnValue(explanation="should use the returned Cffu; otherwise, use method `CffuFactory#mRunAsyncAndForget`") public <T1,T2, Cffu<Tuple4<T1,T3, T4> T2, mSupplyTupleFailFastAsyncT3, T4>> (Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3, Supplier<? extends T4> supplier4) Tuple variant ofCffuFactory.mSupplyFailFastAsync(Supplier[]). -
mSupplyTupleFailFastAsync
@CheckReturnValue(explanation="should use the returned Cffu; otherwise, use method `CffuFactory#mRunAsyncAndForget`") public <T1,T2, Cffu<Tuple4<T1,T3, T4> T2, mSupplyTupleFailFastAsyncT3, T4>> (Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3, Supplier<? extends T4> supplier4, Executor executor) Tuple variant ofCffuFactory.mSupplyFailFastAsync(Executor, Supplier[]). -
mSupplyTupleFailFastAsync
@CheckReturnValue(explanation="should use the returned Cffu; otherwise, use method `CffuFactory#mRunAsyncAndForget`") public <T1,T2, Cffu<Tuple5<T1,T3, T4, T5> T2, mSupplyTupleFailFastAsyncT3, T4, T5>> (Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3, Supplier<? extends T4> supplier4, Supplier<? extends T5> supplier5) Tuple variant ofCffuFactory.mSupplyFailFastAsync(Supplier[]). -
mSupplyTupleFailFastAsync
@CheckReturnValue(explanation="should use the returned Cffu; otherwise, use method `CffuFactory#mRunAsyncAndForget`") public <T1,T2, Cffu<Tuple5<T1,T3, T4, T5> T2, mSupplyTupleFailFastAsyncT3, T4, T5>> (Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3, Supplier<? extends T4> supplier4, Supplier<? extends T5> supplier5, Executor executor) Tuple variant ofCffuFactory.mSupplyFailFastAsync(Executor, Supplier[]). -
mSupplyAllSuccessTupleAsync
@CheckReturnValue(explanation="should use the returned Cffu; otherwise, use method `CffuFactory#mRunAsyncAndForget`") public <T1,T2> Cffu<Tuple2<T1,T2>> mSupplyAllSuccessTupleAsync(Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2) Tuple variant ofCffuFactory.mSupplyAllSuccessAsync(Object, Supplier[])withnullvalueIfFailed.If any of the provided suppliers fails, its corresponding position will contain
null(which is indistinguishable from the supplier having a successful value ofnull). -
mSupplyAllSuccessTupleAsync
@CheckReturnValue(explanation="should use the returned Cffu; otherwise, use method `CffuFactory#mRunAsyncAndForget`") public <T1,T2> Cffu<Tuple2<T1,T2>> mSupplyAllSuccessTupleAsync(Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Executor executor) Tuple variant ofCffuFactory.mSupplyAllSuccessAsync(Executor, Object, Supplier[])withnullvalueIfFailed.If any of the provided suppliers fails, its corresponding position will contain
null(which is indistinguishable from the supplier having a successful value ofnull). -
mSupplyAllSuccessTupleAsync
@CheckReturnValue(explanation="should use the returned Cffu; otherwise, use method `CffuFactory#mRunAsyncAndForget`") public <T1,T2, Cffu<Tuple3<T1,T3> T2, mSupplyAllSuccessTupleAsyncT3>> (Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3) Tuple variant ofCffuFactory.mSupplyAllSuccessAsync(Object, Supplier[])withnullvalueIfFailed.If any of the provided suppliers fails, its corresponding position will contain
null(which is indistinguishable from the supplier having a successful value ofnull). -
mSupplyAllSuccessTupleAsync
@CheckReturnValue(explanation="should use the returned Cffu; otherwise, use method `CffuFactory#mRunAsyncAndForget`") public <T1,T2, Cffu<Tuple3<T1,T3> T2, mSupplyAllSuccessTupleAsyncT3>> (Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3, Executor executor) Tuple variant ofCffuFactory.mSupplyAllSuccessAsync(Executor, Object, Supplier[])withnullvalueIfFailed.If any of the provided suppliers fails, its corresponding position will contain
null(which is indistinguishable from the supplier having a successful value ofnull). -
mSupplyAllSuccessTupleAsync
@CheckReturnValue(explanation="should use the returned Cffu; otherwise, use method `CffuFactory#mRunAsyncAndForget`") public <T1,T2, Cffu<Tuple4<T1,T3, T4> T2, mSupplyAllSuccessTupleAsyncT3, T4>> (Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3, Supplier<? extends T4> supplier4) Tuple variant ofCffuFactory.mSupplyAllSuccessAsync(Object, Supplier[])withnullvalueIfFailed.If any of the provided suppliers fails, its corresponding position will contain
null(which is indistinguishable from the supplier having a successful value ofnull). -
mSupplyAllSuccessTupleAsync
@CheckReturnValue(explanation="should use the returned Cffu; otherwise, use method `CffuFactory#mRunAsyncAndForget`") public <T1,T2, Cffu<Tuple4<T1,T3, T4> T2, mSupplyAllSuccessTupleAsyncT3, T4>> (Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3, Supplier<? extends T4> supplier4, Executor executor) Tuple variant ofCffuFactory.mSupplyAllSuccessAsync(Executor, Object, Supplier[])withnullvalueIfFailed.If any of the provided suppliers fails, its corresponding position will contain
null(which is indistinguishable from the supplier having a successful value ofnull). -
mSupplyAllSuccessTupleAsync
@CheckReturnValue(explanation="should use the returned Cffu; otherwise, use method `CffuFactory#mRunAsyncAndForget`") public <T1,T2, Cffu<Tuple5<T1,T3, T4, T5> T2, mSupplyAllSuccessTupleAsyncT3, T4, T5>> (Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3, Supplier<? extends T4> supplier4, Supplier<? extends T5> supplier5) Tuple variant ofCffuFactory.mSupplyAllSuccessAsync(Object, Supplier[])withnullvalueIfFailed.If any of the provided suppliers fails, its corresponding position will contain
null(which is indistinguishable from the supplier having a successful value ofnull). -
mSupplyAllSuccessTupleAsync
@CheckReturnValue(explanation="should use the returned Cffu; otherwise, use method `CffuFactory#mRunAsyncAndForget`") public <T1,T2, Cffu<Tuple5<T1,T3, T4, T5> T2, mSupplyAllSuccessTupleAsyncT3, T4, T5>> (Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3, Supplier<? extends T4> supplier4, Supplier<? extends T5> supplier5, Executor executor) Tuple variant ofCffuFactory.mSupplyAllSuccessAsync(Executor, Object, Supplier[])withnullvalueIfFailed.If any of the provided suppliers fails, its corresponding position will contain
null(which is indistinguishable from the supplier having a successful value ofnull). -
mSupplyMostSuccessTupleAsync
@CheckReturnValue(explanation="should use the returned Cffu; otherwise, use method `CffuFactory#mRunAsyncAndForget`") public <T1,T2> Cffu<Tuple2<T1,T2>> mSupplyMostSuccessTupleAsync(long timeout, TimeUnit unit, Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2) Tuple variant ofCffuFactory.mSupplyMostSuccessAsync(Object, long, TimeUnit, Supplier[])withnullvalueIfNotSuccess.If any of the provided suppliers is not completed normally, its corresponding position will contain
null(which is indistinguishable from the supplier having a successful value ofnull). -
mSupplyMostSuccessTupleAsync
@CheckReturnValue(explanation="should use the returned Cffu; otherwise, use method `CffuFactory#mRunAsyncAndForget`") public <T1,T2> Cffu<Tuple2<T1,T2>> mSupplyMostSuccessTupleAsync(long timeout, TimeUnit unit, Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Executor executor) Tuple variant ofCffuFactory.mSupplyMostSuccessAsync(Executor, Object, long, TimeUnit, Supplier[])withnullvalueIfNotSuccess.If any of the provided suppliers is not completed normally, its corresponding position will contain
null(which is indistinguishable from the supplier having a successful value ofnull). -
mSupplyMostSuccessTupleAsync
@CheckReturnValue(explanation="should use the returned Cffu; otherwise, use method `CffuFactory#mRunAsyncAndForget`") public <T1,T2, Cffu<Tuple3<T1,T3> T2, mSupplyMostSuccessTupleAsyncT3>> (long timeout, TimeUnit unit, Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3) Tuple variant ofCffuFactory.mSupplyMostSuccessAsync(Object, long, TimeUnit, Supplier[])withnullvalueIfNotSuccess.If any of the provided suppliers is not completed normally, its corresponding position will contain
null(which is indistinguishable from the supplier having a successful value ofnull). -
mSupplyMostSuccessTupleAsync
@CheckReturnValue(explanation="should use the returned Cffu; otherwise, use method `CffuFactory#mRunAsyncAndForget`") public <T1,T2, Cffu<Tuple3<T1,T3> T2, mSupplyMostSuccessTupleAsyncT3>> (long timeout, TimeUnit unit, Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3, Executor executor) Tuple variant ofCffuFactory.mSupplyMostSuccessAsync(Executor, Object, long, TimeUnit, Supplier[])withnullvalueIfNotSuccess.If any of the provided suppliers is not completed normally, its corresponding position will contain
null(which is indistinguishable from the supplier having a successful value ofnull). -
mSupplyMostSuccessTupleAsync
@CheckReturnValue(explanation="should use the returned Cffu; otherwise, use method `CffuFactory#mRunAsyncAndForget`") public <T1,T2, Cffu<Tuple4<T1,T3, T4> T2, mSupplyMostSuccessTupleAsyncT3, T4>> (long timeout, TimeUnit unit, Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3, Supplier<? extends T4> supplier4) Tuple variant ofCffuFactory.mSupplyMostSuccessAsync(Object, long, TimeUnit, Supplier[])withnullvalueIfNotSuccess.If any of the provided suppliers is not completed normally, its corresponding position will contain
null(which is indistinguishable from the supplier having a successful value ofnull). -
mSupplyMostSuccessTupleAsync
@CheckReturnValue(explanation="should use the returned Cffu; otherwise, use method `CffuFactory#mRunAsyncAndForget`") public <T1,T2, Cffu<Tuple4<T1,T3, T4> T2, mSupplyMostSuccessTupleAsyncT3, T4>> (long timeout, TimeUnit unit, Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3, Supplier<? extends T4> supplier4, Executor executor) Tuple variant ofCffuFactory.mSupplyMostSuccessAsync(Executor, Object, long, TimeUnit, Supplier[])withnullvalueIfNotSuccess.If any of the provided suppliers is not completed normally, its corresponding position will contain
null(which is indistinguishable from the supplier having a successful value ofnull). -
mSupplyMostSuccessTupleAsync
@CheckReturnValue(explanation="should use the returned Cffu; otherwise, use method `CffuFactory#mRunAsyncAndForget`") public <T1,T2, Cffu<Tuple5<T1,T3, T4, T5> T2, mSupplyMostSuccessTupleAsyncT3, T4, T5>> (long timeout, TimeUnit unit, Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3, Supplier<? extends T4> supplier4, Supplier<? extends T5> supplier5) Tuple variant ofCffuFactory.mSupplyMostSuccessAsync(Object, long, TimeUnit, Supplier[])withnullvalueIfNotSuccess.If any of the provided suppliers is not completed normally, its corresponding position will contain
null(which is indistinguishable from the supplier having a successful value ofnull). -
mSupplyMostSuccessTupleAsync
@CheckReturnValue(explanation="should use the returned Cffu; otherwise, use method `CffuFactory#mRunAsyncAndForget`") public <T1,T2, Cffu<Tuple5<T1,T3, T4, T5> T2, mSupplyMostSuccessTupleAsyncT3, T4, T5>> (long timeout, TimeUnit unit, Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3, Supplier<? extends T4> supplier4, Supplier<? extends T5> supplier5, Executor executor) Tuple variant ofCffuFactory.mSupplyMostSuccessAsync(Executor, Object, long, TimeUnit, Supplier[])withnullvalueIfNotSuccess.If any of the provided suppliers is not completed normally, its corresponding position will contain
null(which is indistinguishable from the supplier having a successful value ofnull). -
mSupplyTupleAsync
@CheckReturnValue(explanation="should use the returned Cffu; otherwise, use method `CffuFactory#mRunAsyncAndForget`") public <T1,T2> Cffu<Tuple2<T1,T2>> mSupplyTupleAsync(Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2) Tuple variant ofCffuFactory.mSupplyAsync(Supplier[]). -
mSupplyTupleAsync
@CheckReturnValue(explanation="should use the returned Cffu; otherwise, use method `CffuFactory#mRunAsyncAndForget`") public <T1,T2> Cffu<Tuple2<T1,T2>> mSupplyTupleAsync(Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Executor executor) Tuple variant ofCffuFactory.mSupplyFailFastAsync(Executor, Supplier[]). -
mSupplyTupleAsync
@CheckReturnValue(explanation="should use the returned Cffu; otherwise, use method `CffuFactory#mRunAsyncAndForget`") public <T1,T2, Cffu<Tuple3<T1,T3> T2, mSupplyTupleAsyncT3>> (Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3) Tuple variant ofCffuFactory.mSupplyAsync(Supplier[]). -
mSupplyTupleAsync
@CheckReturnValue(explanation="should use the returned Cffu; otherwise, use method `CffuFactory#mRunAsyncAndForget`") public <T1,T2, Cffu<Tuple3<T1,T3> T2, mSupplyTupleAsyncT3>> (Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3, Executor executor) Tuple variant ofCffuFactory.mSupplyFailFastAsync(Executor, Supplier[]). -
mSupplyTupleAsync
@CheckReturnValue(explanation="should use the returned Cffu; otherwise, use method `CffuFactory#mRunAsyncAndForget`") public <T1,T2, Cffu<Tuple4<T1,T3, T4> T2, mSupplyTupleAsyncT3, T4>> (Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3, Supplier<? extends T4> supplier4) Tuple variant ofCffuFactory.mSupplyAsync(Supplier[]). -
mSupplyTupleAsync
@CheckReturnValue(explanation="should use the returned Cffu; otherwise, use method `CffuFactory#mRunAsyncAndForget`") public <T1,T2, Cffu<Tuple4<T1,T3, T4> T2, mSupplyTupleAsyncT3, T4>> (Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3, Supplier<? extends T4> supplier4, Executor executor) Tuple variant ofCffuFactory.mSupplyFailFastAsync(Executor, Supplier[]). -
mSupplyTupleAsync
@CheckReturnValue(explanation="should use the returned Cffu; otherwise, use method `CffuFactory#mRunAsyncAndForget`") public <T1,T2, Cffu<Tuple5<T1,T3, T4, T5> T2, mSupplyTupleAsyncT3, T4, T5>> (Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3, Supplier<? extends T4> supplier4, Supplier<? extends T5> supplier5) Tuple variant ofCffuFactory.mSupplyAsync(Supplier[]). -
mSupplyTupleAsync
@CheckReturnValue(explanation="should use the returned Cffu; otherwise, use method `CffuFactory#mRunAsyncAndForget`") public <T1,T2, Cffu<Tuple5<T1,T3, T4, T5> T2, mSupplyTupleAsyncT3, T4, T5>> (Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3, Supplier<? extends T4> supplier4, Supplier<? extends T5> supplier5, Executor executor) Tuple variant ofCffuFactory.mSupplyFailFastAsync(Executor, Supplier[]). -
allTupleFailFastOf
@Contract(pure=true) public <T1,T2> Cffu<Tuple2<T1,T2>> allTupleFailFastOf(CompletionStage<? extends T1> cf1, CompletionStage<? extends T2> cf2) Tuple variant ofCffuFactory.allResultsFailFastOf(CompletionStage[]). -
allTupleFailFastOf
@Contract(pure=true) public <T1,T2, Cffu<Tuple3<T1,T3> T2, allTupleFailFastOfT3>> (CompletionStage<? extends T1> cf1, CompletionStage<? extends T2> cf2, CompletionStage<? extends T3> cf3) Tuple variant ofCffuFactory.allResultsFailFastOf(CompletionStage[]). -
allTupleFailFastOf
@Contract(pure=true) public <T1,T2, Cffu<Tuple4<T1,T3, T4> T2, allTupleFailFastOfT3, T4>> (CompletionStage<? extends T1> cf1, CompletionStage<? extends T2> cf2, CompletionStage<? extends T3> cf3, CompletionStage<? extends T4> cf4) Tuple variant ofCffuFactory.allResultsFailFastOf(CompletionStage[]). -
allTupleFailFastOf
@Contract(pure=true) public <T1,T2, Cffu<Tuple5<T1,T3, T4, T5> T2, allTupleFailFastOfT3, T4, T5>> (CompletionStage<? extends T1> cf1, CompletionStage<? extends T2> cf2, CompletionStage<? extends T3> cf3, CompletionStage<? extends T4> cf4, CompletionStage<? extends T5> cf5) Tuple variant ofCffuFactory.allResultsFailFastOf(CompletionStage[]). -
allSuccessTupleOf
@Contract(pure=true) public <T1,T2> Cffu<Tuple2<T1,T2>> allSuccessTupleOf(CompletionStage<? extends T1> cf1, CompletionStage<? extends T2> cf2) Tuple variant ofCffuFactory.allSuccessResultsOf(Object, CompletionStage[])withnullvalueIfFailed.If any of the provided stages fails, its corresponding position will contain
null(which is indistinguishable from the stage having a successful value ofnull). -
allSuccessTupleOf
@Contract(pure=true) public <T1,T2, Cffu<Tuple3<T1,T3> T2, allSuccessTupleOfT3>> (CompletionStage<? extends T1> cf1, CompletionStage<? extends T2> cf2, CompletionStage<? extends T3> cf3) Tuple variant ofCffuFactory.allSuccessResultsOf(Object, CompletionStage[])withnullvalueIfFailed.If any of the provided stages fails, its corresponding position will contain
null(which is indistinguishable from the stage having a successful value ofnull). -
allSuccessTupleOf
@Contract(pure=true) public <T1,T2, Cffu<Tuple4<T1,T3, T4> T2, allSuccessTupleOfT3, T4>> (CompletionStage<? extends T1> cf1, CompletionStage<? extends T2> cf2, CompletionStage<? extends T3> cf3, CompletionStage<? extends T4> cf4) Tuple variant ofCffuFactory.allSuccessResultsOf(Object, CompletionStage[])withnullvalueIfFailed.If any of the provided stages fails, its corresponding position will contain
null(which is indistinguishable from the stage having a successful value ofnull). -
allSuccessTupleOf
@Contract(pure=true) public <T1,T2, Cffu<Tuple5<T1,T3, T4, T5> T2, allSuccessTupleOfT3, T4, T5>> (CompletionStage<? extends T1> cf1, CompletionStage<? extends T2> cf2, CompletionStage<? extends T3> cf3, CompletionStage<? extends T4> cf4, CompletionStage<? extends T5> cf5) Tuple variant ofCffuFactory.allSuccessResultsOf(Object, CompletionStage[])withnullvalueIfFailed.If any of the provided stages fails, its corresponding position will contain
null(which is indistinguishable from the stage having a successful value ofnull). -
mostSuccessTupleOf
@Contract(pure=true) public <T1,T2> Cffu<Tuple2<T1,T2>> mostSuccessTupleOf(long timeout, TimeUnit unit, CompletionStage<? extends T1> cf1, CompletionStage<? extends T2> cf2) Tuple variant ofCffuFactory.mostSuccessResultsOf(Object, long, TimeUnit, CompletionStage[])withnullvalueIfNotSuccess.If any of the provided stages is not completed normally, its corresponding position will contain
null(which is indistinguishable from the supplier having a successful value ofnull). -
mostSuccessTupleOf
@Contract(pure=true) public <T1,T2, Cffu<Tuple3<T1,T3> T2, mostSuccessTupleOfT3>> (long timeout, TimeUnit unit, CompletionStage<? extends T1> cf1, CompletionStage<? extends T2> cf2, CompletionStage<? extends T3> cf3) Tuple variant ofCffuFactory.mostSuccessResultsOf(Object, long, TimeUnit, CompletionStage[])withnullvalueIfNotSuccess.If any of the provided stages is not completed normally, its corresponding position will contain
null(which is indistinguishable from the supplier having a successful value ofnull). -
mostSuccessTupleOf
@Contract(pure=true) public <T1,T2, Cffu<Tuple4<T1,T3, T4> T2, mostSuccessTupleOfT3, T4>> (long timeout, TimeUnit unit, CompletionStage<? extends T1> cf1, CompletionStage<? extends T2> cf2, CompletionStage<? extends T3> cf3, CompletionStage<? extends T4> cf4) Tuple variant ofCffuFactory.mostSuccessResultsOf(Object, long, TimeUnit, CompletionStage[])withnullvalueIfNotSuccess.If any of the provided stages is not completed normally, its corresponding position will contain
null(which is indistinguishable from the supplier having a successful value ofnull). -
mostSuccessTupleOf
@Contract(pure=true) public <T1,T2, Cffu<Tuple5<T1,T3, T4, T5> T2, mostSuccessTupleOfT3, T4, T5>> (long timeout, TimeUnit unit, CompletionStage<? extends T1> cf1, CompletionStage<? extends T2> cf2, CompletionStage<? extends T3> cf3, CompletionStage<? extends T4> cf4, CompletionStage<? extends T5> cf5) Tuple variant ofCffuFactory.mostSuccessResultsOf(Object, long, TimeUnit, CompletionStage[])withnullvalueIfNotSuccess.If any of the provided stages is not completed normally, its corresponding position will contain
null(which is indistinguishable from the supplier having a successful value ofnull). -
allTupleOf
@Contract(pure=true) public <T1,T2> Cffu<Tuple2<T1,T2>> allTupleOf(CompletionStage<? extends T1> cf1, CompletionStage<? extends T2> cf2) Tuple variant ofCffuFactory.allResultsOf(CompletionStage[]). -
allTupleOf
@Contract(pure=true) public <T1,T2, Cffu<Tuple3<T1,T3> T2, allTupleOfT3>> (CompletionStage<? extends T1> cf1, CompletionStage<? extends T2> cf2, CompletionStage<? extends T3> cf3) Tuple variant ofCffuFactory.allResultsOf(CompletionStage[]). -
allTupleOf
@Contract(pure=true) public <T1,T2, Cffu<Tuple4<T1,T3, T4> T2, allTupleOfT3, T4>> (CompletionStage<? extends T1> cf1, CompletionStage<? extends T2> cf2, CompletionStage<? extends T3> cf3, CompletionStage<? extends T4> cf4) Tuple variant ofCffuFactory.allResultsOf(CompletionStage[]). -
allTupleOf
@Contract(pure=true) public <T1,T2, Cffu<Tuple5<T1,T3, T4, T5> T2, allTupleOfT3, T4, T5>> (CompletionStage<? extends T1> cf1, CompletionStage<? extends T2> cf2, CompletionStage<? extends T3> cf3, CompletionStage<? extends T4> cf4, CompletionStage<? extends T5> cf5) Tuple variant ofCffuFactory.allResultsOf(CompletionStage[]).
-