Class CfTupleUtils
CompletableFutureUtils
for processing and composing multiple asynchronous actions and CompletableFutures in a type-safe manner.
While CompletableFutureUtils 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.
- Author:
- Jerry Lee (oldratlee at gmail dot com), HuHao (995483610 at qq dot com)
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T1,T2> CompletableFuture <Tuple2<T1, T2>> allSuccessTupleOf(CompletionStage<? extends T1> cf1, CompletionStage<? extends T2> cf2) Tuple variant ofCompletableFutureUtils.allSuccessResultsOf(Object, CompletionStage[])withnullvalueIfFailed.static <T1,T2, T3>
CompletableFuture<Tuple3<T1, T2, T3>> allSuccessTupleOf(CompletionStage<? extends T1> cf1, CompletionStage<? extends T2> cf2, CompletionStage<? extends T3> cf3) Tuple variant ofCompletableFutureUtils.allSuccessResultsOf(Object, CompletionStage[])withnullvalueIfFailed.static <T1,T2, T3, T4>
CompletableFuture<Tuple4<T1, T2, T3, T4>> allSuccessTupleOf(CompletionStage<? extends T1> cf1, CompletionStage<? extends T2> cf2, CompletionStage<? extends T3> cf3, CompletionStage<? extends T4> cf4) Tuple variant ofCompletableFutureUtils.allSuccessResultsOf(Object, CompletionStage[])withnullvalueIfFailed.static <T1,T2, T3, T4, T5>
CompletableFuture<Tuple5<T1, T2, T3, T4, T5>> allSuccessTupleOf(CompletionStage<? extends T1> cf1, CompletionStage<? extends T2> cf2, CompletionStage<? extends T3> cf3, CompletionStage<? extends T4> cf4, CompletionStage<? extends T5> cf5) Tuple variant ofCompletableFutureUtils.allSuccessResultsOf(Object, CompletionStage[])withnullvalueIfFailed.static <T1,T2> CompletableFuture <Tuple2<T1, T2>> allTupleFailFastOf(CompletionStage<? extends T1> cf1, CompletionStage<? extends T2> cf2) Tuple variant ofCompletableFutureUtils.allResultsFailFastOf(CompletionStage[]).static <T1,T2, T3>
CompletableFuture<Tuple3<T1, T2, T3>> allTupleFailFastOf(CompletionStage<? extends T1> cf1, CompletionStage<? extends T2> cf2, CompletionStage<? extends T3> cf3) Tuple variant ofCompletableFutureUtils.allResultsFailFastOf(CompletionStage[]).static <T1,T2, T3, T4>
CompletableFuture<Tuple4<T1, T2, T3, T4>> allTupleFailFastOf(CompletionStage<? extends T1> cf1, CompletionStage<? extends T2> cf2, CompletionStage<? extends T3> cf3, CompletionStage<? extends T4> cf4) Tuple variant ofCompletableFutureUtils.allResultsFailFastOf(CompletionStage[]).static <T1,T2, T3, T4, T5>
CompletableFuture<Tuple5<T1, T2, T3, T4, T5>> allTupleFailFastOf(CompletionStage<? extends T1> cf1, CompletionStage<? extends T2> cf2, CompletionStage<? extends T3> cf3, CompletionStage<? extends T4> cf4, CompletionStage<? extends T5> cf5) Tuple variant ofCompletableFutureUtils.allResultsFailFastOf(CompletionStage[]).static <T1,T2> CompletableFuture <Tuple2<T1, T2>> allTupleOf(CompletionStage<? extends T1> cf1, CompletionStage<? extends T2> cf2) Tuple variant ofCompletableFutureUtils.allResultsOf(CompletionStage[]).static <T1,T2, T3>
CompletableFuture<Tuple3<T1, T2, T3>> allTupleOf(CompletionStage<? extends T1> cf1, CompletionStage<? extends T2> cf2, CompletionStage<? extends T3> cf3) Tuple variant ofCompletableFutureUtils.allResultsOf(CompletionStage[]).static <T1,T2, T3, T4>
CompletableFuture<Tuple4<T1, T2, T3, T4>> allTupleOf(CompletionStage<? extends T1> cf1, CompletionStage<? extends T2> cf2, CompletionStage<? extends T3> cf3, CompletionStage<? extends T4> cf4) Tuple variant ofCompletableFutureUtils.allResultsOf(CompletionStage[]).static <T1,T2, T3, T4, T5>
CompletableFuture<Tuple5<T1, T2, T3, T4, T5>> allTupleOf(CompletionStage<? extends T1> cf1, CompletionStage<? extends T2> cf2, CompletionStage<? extends T3> cf3, CompletionStage<? extends T4> cf4, CompletionStage<? extends T5> cf5) Tuple variant ofCompletableFutureUtils.allResultsOf(CompletionStage[]).static <T1,T2> CompletableFuture <Tuple2<T1, T2>> mostSuccessTupleOf(long timeout, TimeUnit unit, CompletionStage<? extends T1> cf1, CompletionStage<? extends T2> cf2) Tuple variant ofCompletableFutureUtils.mostSuccessResultsOf(Object, long, TimeUnit, CompletionStage[])withnullvalueIfNotSuccess.static <T1,T2, T3>
CompletableFuture<Tuple3<T1, T2, T3>> mostSuccessTupleOf(long timeout, TimeUnit unit, CompletionStage<? extends T1> cf1, CompletionStage<? extends T2> cf2, CompletionStage<? extends T3> cf3) Tuple variant ofCompletableFutureUtils.mostSuccessResultsOf(Object, long, TimeUnit, CompletionStage[])withnullvalueIfNotSuccess.static <T1,T2, T3, T4>
CompletableFuture<Tuple4<T1, T2, T3, T4>> mostSuccessTupleOf(long timeout, TimeUnit unit, CompletionStage<? extends T1> cf1, CompletionStage<? extends T2> cf2, CompletionStage<? extends T3> cf3, CompletionStage<? extends T4> cf4) Tuple variant ofCompletableFutureUtils.mostSuccessResultsOf(Object, long, TimeUnit, CompletionStage[])withnullvalueIfNotSuccess.static <T1,T2, T3, T4, T5>
CompletableFuture<Tuple5<T1, T2, T3, T4, T5>> 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 ofCompletableFutureUtils.mostSuccessResultsOf(Object, long, TimeUnit, CompletionStage[])withnullvalueIfNotSuccess.static <T1,T2> CompletableFuture <Tuple2<T1, T2>> mostSuccessTupleOf(Executor executorWhenTimeout, long timeout, TimeUnit unit, CompletionStage<? extends T1> cf1, CompletionStage<? extends T2> cf2) Tuple variant ofCompletableFutureUtils.mostSuccessResultsOf(Executor, Object, long, TimeUnit, CompletionStage[])withnullvalueIfNotSuccess.static <T1,T2, T3>
CompletableFuture<Tuple3<T1, T2, T3>> mostSuccessTupleOf(Executor executorWhenTimeout, long timeout, TimeUnit unit, CompletionStage<? extends T1> cf1, CompletionStage<? extends T2> cf2, CompletionStage<? extends T3> cf3) Tuple variant ofCompletableFutureUtils.mostSuccessResultsOf(Executor, Object, long, TimeUnit, CompletionStage[])withnullvalueIfNotSuccess.static <T1,T2, T3, T4>
CompletableFuture<Tuple4<T1, T2, T3, T4>> mostSuccessTupleOf(Executor executorWhenTimeout, long timeout, TimeUnit unit, CompletionStage<? extends T1> cf1, CompletionStage<? extends T2> cf2, CompletionStage<? extends T3> cf3, CompletionStage<? extends T4> cf4) Tuple variant ofCompletableFutureUtils.mostSuccessResultsOf(Executor, Object, long, TimeUnit, CompletionStage[])withnullvalueIfNotSuccess.static <T1,T2, T3, T4, T5>
CompletableFuture<Tuple5<T1, T2, T3, T4, T5>> mostSuccessTupleOf(Executor executorWhenTimeout, 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 ofCompletableFutureUtils.mostSuccessResultsOf(Executor, Object, long, TimeUnit, CompletionStage[])withnullvalueIfNotSuccess.static <T1,T2> CompletableFuture <Tuple2<T1, T2>> mSupplyAllSuccessTupleAsync(Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2) Tuple variant ofCompletableFutureUtils.mSupplyAllSuccessAsync(Object, Supplier[])withnullvalueIfFailed.static <T1,T2> CompletableFuture <Tuple2<T1, T2>> mSupplyAllSuccessTupleAsync(Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Executor executor) Tuple variant ofCompletableFutureUtils.mSupplyAllSuccessAsync(Executor, Object, Supplier[])withnullvalueIfFailed.static <T1,T2, T3>
CompletableFuture<Tuple3<T1, T2, T3>> mSupplyAllSuccessTupleAsync(Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3) Tuple variant ofCompletableFutureUtils.mSupplyAllSuccessAsync(Object, Supplier[])withnullvalueIfFailed.static <T1,T2, T3>
CompletableFuture<Tuple3<T1, T2, T3>> mSupplyAllSuccessTupleAsync(Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3, Executor executor) Tuple variant ofCompletableFutureUtils.mSupplyAllSuccessAsync(Executor, Object, Supplier[])withnullvalueIfFailed.static <T1,T2, T3, T4>
CompletableFuture<Tuple4<T1, T2, T3, T4>> mSupplyAllSuccessTupleAsync(Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3, Supplier<? extends T4> supplier4) Tuple variant ofCompletableFutureUtils.mSupplyAllSuccessAsync(Object, Supplier[])withnullvalueIfFailed.static <T1,T2, T3, T4>
CompletableFuture<Tuple4<T1, T2, T3, T4>> mSupplyAllSuccessTupleAsync(Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3, Supplier<? extends T4> supplier4, Executor executor) Tuple variant ofCompletableFutureUtils.mSupplyAllSuccessAsync(Executor, Object, Supplier[])withnullvalueIfFailed.static <T1,T2, T3, T4, T5>
CompletableFuture<Tuple5<T1, T2, T3, T4, T5>> mSupplyAllSuccessTupleAsync(Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3, Supplier<? extends T4> supplier4, Supplier<? extends T5> supplier5) Tuple variant ofCompletableFutureUtils.mSupplyAllSuccessAsync(Object, Supplier[])withnullvalueIfFailed.static <T1,T2, T3, T4, T5>
CompletableFuture<Tuple5<T1, T2, T3, T4, T5>> 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 ofCompletableFutureUtils.mSupplyAllSuccessAsync(Executor, Object, Supplier[])withnullvalueIfFailed.static <T1,T2> CompletableFuture <Tuple2<T1, T2>> mSupplyMostSuccessTupleAsync(long timeout, TimeUnit unit, Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2) Tuple variant ofCompletableFutureUtils.mSupplyMostSuccessAsync(Object, long, TimeUnit, Supplier[])withnullvalueIfNotSuccess.static <T1,T2> CompletableFuture <Tuple2<T1, T2>> mSupplyMostSuccessTupleAsync(long timeout, TimeUnit unit, Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Executor executor) Tuple variant ofCompletableFutureUtils.mSupplyMostSuccessAsync(Executor, Object, long, TimeUnit, Supplier[])withnullvalueIfNotSuccess.static <T1,T2, T3>
CompletableFuture<Tuple3<T1, T2, T3>> mSupplyMostSuccessTupleAsync(long timeout, TimeUnit unit, Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3) Tuple variant ofCompletableFutureUtils.mSupplyMostSuccessAsync(Object, long, TimeUnit, Supplier[])withnullvalueIfNotSuccess.static <T1,T2, T3>
CompletableFuture<Tuple3<T1, T2, T3>> mSupplyMostSuccessTupleAsync(long timeout, TimeUnit unit, Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3, Executor executor) Tuple variant ofCompletableFutureUtils.mSupplyMostSuccessAsync(Executor, Object, long, TimeUnit, Supplier[])withnullvalueIfNotSuccess.static <T1,T2, T3, T4>
CompletableFuture<Tuple4<T1, T2, T3, T4>> mSupplyMostSuccessTupleAsync(long timeout, TimeUnit unit, Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3, Supplier<? extends T4> supplier4) Tuple variant ofCompletableFutureUtils.mSupplyMostSuccessAsync(Object, long, TimeUnit, Supplier[])withnullvalueIfNotSuccess.static <T1,T2, T3, T4>
CompletableFuture<Tuple4<T1, T2, T3, T4>> 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 ofCompletableFutureUtils.mSupplyMostSuccessAsync(Executor, Object, long, TimeUnit, Supplier[])withnullvalueIfNotSuccess.static <T1,T2, T3, T4, T5>
CompletableFuture<Tuple5<T1, T2, T3, T4, T5>> 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 ofCompletableFutureUtils.mSupplyMostSuccessAsync(Object, long, TimeUnit, Supplier[])withnullvalueIfNotSuccess.static <T1,T2, T3, T4, T5>
CompletableFuture<Tuple5<T1, T2, T3, T4, T5>> 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 ofCompletableFutureUtils.mSupplyMostSuccessAsync(Executor, Object, long, TimeUnit, Supplier[])withnullvalueIfNotSuccess.static <T1,T2> CompletableFuture <Tuple2<T1, T2>> mSupplyTupleAsync(Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2) Tuple variant ofCompletableFutureUtils.mSupplyAsync(Supplier[]).static <T1,T2> CompletableFuture <Tuple2<T1, T2>> mSupplyTupleAsync(Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Executor executor) Tuple variant ofCompletableFutureUtils.mSupplyFailFastAsync(Executor, Supplier[]).static <T1,T2, T3>
CompletableFuture<Tuple3<T1, T2, T3>> mSupplyTupleAsync(Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3) Tuple variant ofCompletableFutureUtils.mSupplyAsync(Supplier[]).static <T1,T2, T3>
CompletableFuture<Tuple3<T1, T2, T3>> mSupplyTupleAsync(Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3, Executor executor) Tuple variant ofCompletableFutureUtils.mSupplyFailFastAsync(Executor, Supplier[]).static <T1,T2, T3, T4>
CompletableFuture<Tuple4<T1, T2, T3, T4>> mSupplyTupleAsync(Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3, Supplier<? extends T4> supplier4) Tuple variant ofCompletableFutureUtils.mSupplyAsync(Supplier[]).static <T1,T2, T3, T4>
CompletableFuture<Tuple4<T1, T2, T3, T4>> mSupplyTupleAsync(Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3, Supplier<? extends T4> supplier4, Executor executor) Tuple variant ofCompletableFutureUtils.mSupplyFailFastAsync(Executor, Supplier[]).static <T1,T2, T3, T4, T5>
CompletableFuture<Tuple5<T1, T2, T3, T4, T5>> mSupplyTupleAsync(Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3, Supplier<? extends T4> supplier4, Supplier<? extends T5> supplier5) Tuple variant ofCompletableFutureUtils.mSupplyAsync(Supplier[]).static <T1,T2, T3, T4, T5>
CompletableFuture<Tuple5<T1, T2, T3, T4, T5>> 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 ofCompletableFutureUtils.mSupplyFailFastAsync(Executor, Supplier[]).static <T1,T2> CompletableFuture <Tuple2<T1, T2>> mSupplyTupleFailFastAsync(Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2) Tuple variant ofCompletableFutureUtils.mSupplyFailFastAsync(Supplier[]).static <T1,T2> CompletableFuture <Tuple2<T1, T2>> mSupplyTupleFailFastAsync(Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Executor executor) Tuple variant ofCompletableFutureUtils.mSupplyFailFastAsync(Executor, Supplier[]).static <T1,T2, T3>
CompletableFuture<Tuple3<T1, T2, T3>> mSupplyTupleFailFastAsync(Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3) Tuple variant ofCompletableFutureUtils.mSupplyFailFastAsync(Supplier[]).static <T1,T2, T3>
CompletableFuture<Tuple3<T1, T2, T3>> mSupplyTupleFailFastAsync(Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3, Executor executor) Tuple variant ofCompletableFutureUtils.mSupplyFailFastAsync(Executor, Supplier[]).static <T1,T2, T3, T4>
CompletableFuture<Tuple4<T1, T2, T3, T4>> mSupplyTupleFailFastAsync(Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3, Supplier<? extends T4> supplier4) Tuple variant ofCompletableFutureUtils.mSupplyFailFastAsync(Supplier[]).static <T1,T2, T3, T4>
CompletableFuture<Tuple4<T1, T2, T3, T4>> mSupplyTupleFailFastAsync(Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3, Supplier<? extends T4> supplier4, Executor executor) Tuple variant ofCompletableFutureUtils.mSupplyFailFastAsync(Executor, Supplier[]).static <T1,T2, T3, T4, T5>
CompletableFuture<Tuple5<T1, T2, T3, T4, T5>> mSupplyTupleFailFastAsync(Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3, Supplier<? extends T4> supplier4, Supplier<? extends T5> supplier5) Tuple variant ofCompletableFutureUtils.mSupplyFailFastAsync(Supplier[]).static <T1,T2, T3, T4, T5>
CompletableFuture<Tuple5<T1, T2, T3, T4, T5>> 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 ofCompletableFutureUtils.mSupplyFailFastAsync(Executor, Supplier[]).static <T,U1, U2>
CompletableFuture<Tuple2<U1, U2>> thenMApplyAllSuccessTupleAsync(CompletableFuture<? extends T> cfThis, Function<? super T, ? extends U1> fn1, Function<? super T, ? extends U2> fn2) Tuple variant ofCompletableFutureUtils.thenMApplyAllSuccessAsync(CompletableFuture, Object, Function[])withnullvalueIfFailed.static <T,U1, U2>
CompletableFuture<Tuple2<U1, U2>> thenMApplyAllSuccessTupleAsync(CompletableFuture<? extends T> cfThis, Function<? super T, ? extends U1> fn1, Function<? super T, ? extends U2> fn2, Executor executor) Tuple variant ofCompletableFutureUtils.thenMApplyAllSuccessAsync(CompletableFuture, Executor, Object, Function[])withnullvalueIfFailed.static <T,U1, U2, U3>
CompletableFuture<Tuple3<U1, U2, U3>> thenMApplyAllSuccessTupleAsync(CompletableFuture<? extends T> cfThis, Function<? super T, ? extends U1> fn1, Function<? super T, ? extends U2> fn2, Function<? super T, ? extends U3> fn3) Tuple variant ofCompletableFutureUtils.thenMApplyAllSuccessAsync(CompletableFuture, Object, Function[])withnullvalueIfFailed.static <T,U1, U2, U3>
CompletableFuture<Tuple3<U1, U2, U3>> thenMApplyAllSuccessTupleAsync(CompletableFuture<? extends T> cfThis, Function<? super T, ? extends U1> fn1, Function<? super T, ? extends U2> fn2, Function<? super T, ? extends U3> fn3, Executor executor) Tuple variant ofCompletableFutureUtils.thenMApplyAllSuccessAsync(CompletableFuture, Executor, Object, Function[])withnullvalueIfFailed.static <T,U1, U2, U3, U4>
CompletableFuture<Tuple4<U1, U2, U3, U4>> thenMApplyAllSuccessTupleAsync(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) Tuple variant ofCompletableFutureUtils.thenMApplyAllSuccessAsync(CompletableFuture, Object, Function[])withnullvalueIfFailed.static <T,U1, U2, U3, U4>
CompletableFuture<Tuple4<U1, U2, U3, U4>> thenMApplyAllSuccessTupleAsync(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, Executor executor) Tuple variant ofCompletableFutureUtils.thenMApplyAllSuccessAsync(CompletableFuture, Executor, Object, Function[])withnullvalueIfFailed.static <T,U1, U2, U3, U4, U5>
CompletableFuture<Tuple5<U1, U2, U3, U4, U5>> thenMApplyAllSuccessTupleAsync(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) Tuple variant ofCompletableFutureUtils.thenMApplyAllSuccessAsync(CompletableFuture, Object, Function[])withnullvalueIfFailed.static <T,U1, U2, U3, U4, U5>
CompletableFuture<Tuple5<U1, U2, U3, U4, U5>> thenMApplyAllSuccessTupleAsync(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, Executor executor) Tuple variant ofCompletableFutureUtils.thenMApplyAllSuccessAsync(CompletableFuture, Executor, Object, Function[])withnullvalueIfFailed.static <T,U1, U2>
CompletableFuture<Tuple2<U1, U2>> thenMApplyMostSuccessTupleAsync(CompletableFuture<? extends T> cfThis, long timeout, TimeUnit unit, Function<? super T, ? extends U1> fn1, Function<? super T, ? extends U2> fn2) Tuple variant ofCompletableFutureUtils.thenMApplyMostSuccessAsync(CompletableFuture, Object, long, TimeUnit, Function[])withnullvalueIfNotSuccess.static <T,U1, U2>
CompletableFuture<Tuple2<U1, U2>> thenMApplyMostSuccessTupleAsync(CompletableFuture<? extends T> cfThis, long timeout, TimeUnit unit, Function<? super T, ? extends U1> fn1, Function<? super T, ? extends U2> fn2, Executor executor) Tuple variant ofCompletableFutureUtils.thenMApplyMostSuccessAsync(CompletableFuture, Executor, Object, long, TimeUnit, Function[])withnullvalueIfNotSuccess.static <T,U1, U2, U3>
CompletableFuture<Tuple3<U1, U2, U3>> thenMApplyMostSuccessTupleAsync(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) Tuple variant ofCompletableFutureUtils.thenMApplyMostSuccessAsync(CompletableFuture, Object, long, TimeUnit, Function[])withnullvalueIfNotSuccess.static <T,U1, U2, U3>
CompletableFuture<Tuple3<U1, U2, U3>> thenMApplyMostSuccessTupleAsync(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, Executor executor) Tuple variant ofCompletableFutureUtils.thenMApplyMostSuccessAsync(CompletableFuture, Executor, Object, long, TimeUnit, Function[])withnullvalueIfNotSuccess.static <T,U1, U2, U3, U4>
CompletableFuture<Tuple4<U1, U2, U3, U4>> thenMApplyMostSuccessTupleAsync(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) Tuple variant ofCompletableFutureUtils.thenMApplyMostSuccessAsync(CompletableFuture, Object, long, TimeUnit, Function[])withnullvalueIfNotSuccess.static <T,U1, U2, U3, U4>
CompletableFuture<Tuple4<U1, U2, U3, U4>> thenMApplyMostSuccessTupleAsync(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, Executor executor) Tuple variant ofCompletableFutureUtils.thenMApplyMostSuccessAsync(CompletableFuture, Executor, Object, long, TimeUnit, Function[])withnullvalueIfNotSuccess.static <T,U1, U2, U3, U4, U5>
CompletableFuture<Tuple5<U1, U2, U3, U4, U5>> thenMApplyMostSuccessTupleAsync(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) Tuple variant ofCompletableFutureUtils.thenMApplyMostSuccessAsync(CompletableFuture, Object, long, TimeUnit, Function[])withnullvalueIfNotSuccess.static <T,U1, U2, U3, U4, U5>
CompletableFuture<Tuple5<U1, U2, U3, U4, U5>> thenMApplyMostSuccessTupleAsync(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, Executor executor) Tuple variant ofCompletableFutureUtils.thenMApplyMostSuccessAsync(CompletableFuture, Executor, Object, long, TimeUnit, Function[])withnullvalueIfNotSuccess.static <T,U1, U2>
CompletableFuture<Tuple2<U1, U2>> thenMApplyTupleAsync(CompletableFuture<? extends T> cfThis, Function<? super T, ? extends U1> fn1, Function<? super T, ? extends U2> fn2) Tuple variant ofCompletableFutureUtils.thenMApplyAsync(CompletableFuture, Function[]).static <T,U1, U2>
CompletableFuture<Tuple2<U1, U2>> thenMApplyTupleAsync(CompletableFuture<? extends T> cfThis, Function<? super T, ? extends U1> fn1, Function<? super T, ? extends U2> fn2, Executor executor) static <T,U1, U2, U3>
CompletableFuture<Tuple3<U1, U2, U3>> thenMApplyTupleAsync(CompletableFuture<? extends T> cfThis, Function<? super T, ? extends U1> fn1, Function<? super T, ? extends U2> fn2, Function<? super T, ? extends U3> fn3) Tuple variant ofCompletableFutureUtils.thenMApplyAsync(CompletableFuture, Function[]).static <T,U1, U2, U3>
CompletableFuture<Tuple3<U1, U2, U3>> thenMApplyTupleAsync(CompletableFuture<? extends T> cfThis, Function<? super T, ? extends U1> fn1, Function<? super T, ? extends U2> fn2, Function<? super T, ? extends U3> fn3, Executor executor) static <T,U1, U2, U3, U4>
CompletableFuture<Tuple4<U1, U2, U3, U4>> thenMApplyTupleAsync(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) Tuple variant ofCompletableFutureUtils.thenMApplyAsync(CompletableFuture, Function[]).static <T,U1, U2, U3, U4>
CompletableFuture<Tuple4<U1, U2, U3, U4>> thenMApplyTupleAsync(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, Executor executor) static <T,U1, U2, U3, U4, U5>
CompletableFuture<Tuple5<U1, U2, U3, U4, U5>> thenMApplyTupleAsync(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) Tuple variant ofCompletableFutureUtils.thenMApplyAsync(CompletableFuture, Function[]).static <T,U1, U2, U3, U4, U5>
CompletableFuture<Tuple5<U1, U2, U3, U4, U5>> thenMApplyTupleAsync(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, Executor executor) static <T,U1, U2>
CompletableFuture<Tuple2<U1, U2>> thenMApplyTupleFailFastAsync(CompletableFuture<? extends T> cfThis, Function<? super T, ? extends U1> fn1, Function<? super T, ? extends U2> fn2) static <T,U1, U2>
CompletableFuture<Tuple2<U1, U2>> thenMApplyTupleFailFastAsync(CompletableFuture<? extends T> cfThis, Function<? super T, ? extends U1> fn1, Function<? super T, ? extends U2> fn2, Executor executor) static <T,U1, U2, U3>
CompletableFuture<Tuple3<U1, U2, U3>> thenMApplyTupleFailFastAsync(CompletableFuture<? extends T> cfThis, Function<? super T, ? extends U1> fn1, Function<? super T, ? extends U2> fn2, Function<? super T, ? extends U3> fn3) static <T,U1, U2, U3>
CompletableFuture<Tuple3<U1, U2, U3>> thenMApplyTupleFailFastAsync(CompletableFuture<? extends T> cfThis, Function<? super T, ? extends U1> fn1, Function<? super T, ? extends U2> fn2, Function<? super T, ? extends U3> fn3, Executor executor) static <T,U1, U2, U3, U4>
CompletableFuture<Tuple4<U1, U2, U3, U4>> thenMApplyTupleFailFastAsync(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) static <T,U1, U2, U3, U4>
CompletableFuture<Tuple4<U1, U2, U3, U4>> thenMApplyTupleFailFastAsync(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, Executor executor) static <T,U1, U2, U3, U4, U5>
CompletableFuture<Tuple5<U1, U2, U3, U4, U5>> thenMApplyTupleFailFastAsync(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) static <T,U1, U2, U3, U4, U5>
CompletableFuture<Tuple5<U1, U2, U3, U4, U5>> thenMApplyTupleFailFastAsync(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, Executor executor)
-
Method Details
-
mSupplyTupleFailFastAsync
@CheckReturnValue(explanation="should use the returned CompletableFuture; otherwise, prefer simple method `mRunAsync`") public static <T1,T2> CompletableFuture<Tuple2<T1,T2>> mSupplyTupleFailFastAsync(Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2) Tuple variant ofCompletableFutureUtils.mSupplyFailFastAsync(Supplier[]). -
mSupplyTupleFailFastAsync
@CheckReturnValue(explanation="should use the returned CompletableFuture; otherwise, prefer simple method `mRunAsync`") public static <T1,T2> CompletableFuture<Tuple2<T1,T2>> mSupplyTupleFailFastAsync(Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Executor executor) Tuple variant ofCompletableFutureUtils.mSupplyFailFastAsync(Executor, Supplier[]). -
mSupplyTupleFailFastAsync
@CheckReturnValue(explanation="should use the returned CompletableFuture; otherwise, prefer simple method `mRunAsync`") public static <T1,T2, CompletableFuture<Tuple3<T1,T3> T2, mSupplyTupleFailFastAsyncT3>> (Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3) Tuple variant ofCompletableFutureUtils.mSupplyFailFastAsync(Supplier[]). -
mSupplyTupleFailFastAsync
@CheckReturnValue(explanation="should use the returned CompletableFuture; otherwise, prefer simple method `mRunAsync`") public static <T1,T2, CompletableFuture<Tuple3<T1,T3> T2, mSupplyTupleFailFastAsyncT3>> (Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3, Executor executor) Tuple variant ofCompletableFutureUtils.mSupplyFailFastAsync(Executor, Supplier[]). -
mSupplyTupleFailFastAsync
@CheckReturnValue(explanation="should use the returned CompletableFuture; otherwise, prefer simple method `mRunAsync`") public static <T1,T2, CompletableFuture<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 ofCompletableFutureUtils.mSupplyFailFastAsync(Supplier[]). -
mSupplyTupleFailFastAsync
@CheckReturnValue(explanation="should use the returned CompletableFuture; otherwise, prefer simple method `mRunAsync`") public static <T1,T2, CompletableFuture<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 ofCompletableFutureUtils.mSupplyFailFastAsync(Executor, Supplier[]). -
mSupplyTupleFailFastAsync
@CheckReturnValue(explanation="should use the returned CompletableFuture; otherwise, prefer simple method `mRunAsync`") public static <T1,T2, CompletableFuture<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 ofCompletableFutureUtils.mSupplyFailFastAsync(Supplier[]). -
mSupplyTupleFailFastAsync
@CheckReturnValue(explanation="should use the returned CompletableFuture; otherwise, prefer simple method `mRunAsync`") public static <T1,T2, CompletableFuture<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 ofCompletableFutureUtils.mSupplyFailFastAsync(Executor, Supplier[]). -
mSupplyAllSuccessTupleAsync
@CheckReturnValue(explanation="should use the returned CompletableFuture; otherwise, prefer simple method `mRunAsync`") public static <T1,T2> CompletableFuture<Tuple2<T1,T2>> mSupplyAllSuccessTupleAsync(Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2) Tuple variant ofCompletableFutureUtils.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 CompletableFuture; otherwise, prefer simple method `mRunAsync`") public static <T1,T2> CompletableFuture<Tuple2<T1,T2>> mSupplyAllSuccessTupleAsync(Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Executor executor) Tuple variant ofCompletableFutureUtils.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 CompletableFuture; otherwise, prefer simple method `mRunAsync`") public static <T1,T2, CompletableFuture<Tuple3<T1,T3> T2, mSupplyAllSuccessTupleAsyncT3>> (Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3) Tuple variant ofCompletableFutureUtils.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 CompletableFuture; otherwise, prefer simple method `mRunAsync`") public static <T1,T2, CompletableFuture<Tuple3<T1,T3> T2, mSupplyAllSuccessTupleAsyncT3>> (Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3, Executor executor) Tuple variant ofCompletableFutureUtils.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 CompletableFuture; otherwise, prefer simple method `mRunAsync`") public static <T1,T2, CompletableFuture<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 ofCompletableFutureUtils.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 CompletableFuture; otherwise, prefer simple method `mRunAsync`") public static <T1,T2, CompletableFuture<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 ofCompletableFutureUtils.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 CompletableFuture; otherwise, prefer simple method `mRunAsync`") public static <T1,T2, CompletableFuture<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 ofCompletableFutureUtils.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 CompletableFuture; otherwise, prefer simple method `mRunAsync`") public static <T1,T2, CompletableFuture<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 ofCompletableFutureUtils.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 CompletableFuture; otherwise, prefer simple method `mRunAsync`") public static <T1,T2> CompletableFuture<Tuple2<T1,T2>> mSupplyMostSuccessTupleAsync(long timeout, TimeUnit unit, Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2) Tuple variant ofCompletableFutureUtils.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 CompletableFuture; otherwise, prefer simple method `mRunAsync`") public static <T1,T2> CompletableFuture<Tuple2<T1,T2>> mSupplyMostSuccessTupleAsync(long timeout, TimeUnit unit, Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Executor executor) Tuple variant ofCompletableFutureUtils.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 CompletableFuture; otherwise, prefer simple method `mRunAsync`") public static <T1,T2, CompletableFuture<Tuple3<T1,T3> T2, mSupplyMostSuccessTupleAsyncT3>> (long timeout, TimeUnit unit, Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3) Tuple variant ofCompletableFutureUtils.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 CompletableFuture; otherwise, prefer simple method `mRunAsync`") public static <T1,T2, CompletableFuture<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 ofCompletableFutureUtils.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 CompletableFuture; otherwise, prefer simple method `mRunAsync`") public static <T1,T2, CompletableFuture<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 ofCompletableFutureUtils.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 CompletableFuture; otherwise, prefer simple method `mRunAsync`") public static <T1,T2, CompletableFuture<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 ofCompletableFutureUtils.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 CompletableFuture; otherwise, prefer simple method `mRunAsync`") public static <T1,T2, CompletableFuture<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 ofCompletableFutureUtils.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 CompletableFuture; otherwise, prefer simple method `mRunAsync`") public static <T1,T2, CompletableFuture<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 ofCompletableFutureUtils.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 CompletableFuture; otherwise, prefer simple method `mRunAsync`") public static <T1,T2> CompletableFuture<Tuple2<T1,T2>> mSupplyTupleAsync(Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2) Tuple variant ofCompletableFutureUtils.mSupplyAsync(Supplier[]). -
mSupplyTupleAsync
@CheckReturnValue(explanation="should use the returned CompletableFuture; otherwise, prefer simple method `mRunAsync`") public static <T1,T2> CompletableFuture<Tuple2<T1,T2>> mSupplyTupleAsync(Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Executor executor) Tuple variant ofCompletableFutureUtils.mSupplyFailFastAsync(Executor, Supplier[]). -
mSupplyTupleAsync
@CheckReturnValue(explanation="should use the returned CompletableFuture; otherwise, prefer simple method `mRunAsync`") public static <T1,T2, CompletableFuture<Tuple3<T1,T3> T2, mSupplyTupleAsyncT3>> (Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3) Tuple variant ofCompletableFutureUtils.mSupplyAsync(Supplier[]). -
mSupplyTupleAsync
@CheckReturnValue(explanation="should use the returned CompletableFuture; otherwise, prefer simple method `mRunAsync`") public static <T1,T2, CompletableFuture<Tuple3<T1,T3> T2, mSupplyTupleAsyncT3>> (Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3, Executor executor) Tuple variant ofCompletableFutureUtils.mSupplyFailFastAsync(Executor, Supplier[]). -
mSupplyTupleAsync
@CheckReturnValue(explanation="should use the returned CompletableFuture; otherwise, prefer simple method `mRunAsync`") public static <T1,T2, CompletableFuture<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 ofCompletableFutureUtils.mSupplyAsync(Supplier[]). -
mSupplyTupleAsync
@CheckReturnValue(explanation="should use the returned CompletableFuture; otherwise, prefer simple method `mRunAsync`") public static <T1,T2, CompletableFuture<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 ofCompletableFutureUtils.mSupplyFailFastAsync(Executor, Supplier[]). -
mSupplyTupleAsync
@CheckReturnValue(explanation="should use the returned CompletableFuture; otherwise, prefer simple method `mRunAsync`") public static <T1,T2, CompletableFuture<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 ofCompletableFutureUtils.mSupplyAsync(Supplier[]). -
mSupplyTupleAsync
@CheckReturnValue(explanation="should use the returned CompletableFuture; otherwise, prefer simple method `mRunAsync`") public static <T1,T2, CompletableFuture<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 ofCompletableFutureUtils.mSupplyFailFastAsync(Executor, Supplier[]). -
allTupleFailFastOf
@Contract(pure=true) public static <T1,T2> CompletableFuture<Tuple2<T1,T2>> allTupleFailFastOf(CompletionStage<? extends T1> cf1, CompletionStage<? extends T2> cf2) Tuple variant ofCompletableFutureUtils.allResultsFailFastOf(CompletionStage[]). -
allTupleFailFastOf
@Contract(pure=true) public static <T1,T2, CompletableFuture<Tuple3<T1,T3> T2, allTupleFailFastOfT3>> (CompletionStage<? extends T1> cf1, CompletionStage<? extends T2> cf2, CompletionStage<? extends T3> cf3) Tuple variant ofCompletableFutureUtils.allResultsFailFastOf(CompletionStage[]). -
allTupleFailFastOf
@Contract(pure=true) public static <T1,T2, CompletableFuture<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 ofCompletableFutureUtils.allResultsFailFastOf(CompletionStage[]). -
allTupleFailFastOf
@Contract(pure=true) public static <T1,T2, CompletableFuture<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 ofCompletableFutureUtils.allResultsFailFastOf(CompletionStage[]). -
allSuccessTupleOf
@Contract(pure=true) public static <T1,T2> CompletableFuture<Tuple2<T1,T2>> allSuccessTupleOf(CompletionStage<? extends T1> cf1, CompletionStage<? extends T2> cf2) Tuple variant ofCompletableFutureUtils.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 static <T1,T2, CompletableFuture<Tuple3<T1,T3> T2, allSuccessTupleOfT3>> (CompletionStage<? extends T1> cf1, CompletionStage<? extends T2> cf2, CompletionStage<? extends T3> cf3) Tuple variant ofCompletableFutureUtils.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 static <T1,T2, CompletableFuture<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 ofCompletableFutureUtils.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 static <T1,T2, CompletableFuture<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 ofCompletableFutureUtils.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 static <T1,T2> CompletableFuture<Tuple2<T1,T2>> mostSuccessTupleOf(long timeout, TimeUnit unit, CompletionStage<? extends T1> cf1, CompletionStage<? extends T2> cf2) Tuple variant ofCompletableFutureUtils.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 static <T1,T2> CompletableFuture<Tuple2<T1,T2>> mostSuccessTupleOf(Executor executorWhenTimeout, long timeout, TimeUnit unit, CompletionStage<? extends T1> cf1, CompletionStage<? extends T2> cf2) Tuple variant ofCompletableFutureUtils.mostSuccessResultsOf(Executor, 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 static <T1,T2, CompletableFuture<Tuple3<T1,T3> T2, mostSuccessTupleOfT3>> (long timeout, TimeUnit unit, CompletionStage<? extends T1> cf1, CompletionStage<? extends T2> cf2, CompletionStage<? extends T3> cf3) Tuple variant ofCompletableFutureUtils.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 static <T1,T2, CompletableFuture<Tuple3<T1,T3> T2, mostSuccessTupleOfT3>> (Executor executorWhenTimeout, long timeout, TimeUnit unit, CompletionStage<? extends T1> cf1, CompletionStage<? extends T2> cf2, CompletionStage<? extends T3> cf3) Tuple variant ofCompletableFutureUtils.mostSuccessResultsOf(Executor, 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 static <T1,T2, CompletableFuture<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 ofCompletableFutureUtils.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 static <T1,T2, CompletableFuture<Tuple4<T1,T3, T4> T2, mostSuccessTupleOfT3, T4>> (Executor executorWhenTimeout, long timeout, TimeUnit unit, CompletionStage<? extends T1> cf1, CompletionStage<? extends T2> cf2, CompletionStage<? extends T3> cf3, CompletionStage<? extends T4> cf4) Tuple variant ofCompletableFutureUtils.mostSuccessResultsOf(Executor, 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 static <T1,T2, CompletableFuture<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 ofCompletableFutureUtils.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 static <T1,T2, CompletableFuture<Tuple5<T1,T3, T4, T5> T2, mostSuccessTupleOfT3, T4, T5>> (Executor executorWhenTimeout, 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 ofCompletableFutureUtils.mostSuccessResultsOf(Executor, 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 static <T1,T2> CompletableFuture<Tuple2<T1,T2>> allTupleOf(CompletionStage<? extends T1> cf1, CompletionStage<? extends T2> cf2) Tuple variant ofCompletableFutureUtils.allResultsOf(CompletionStage[]). -
allTupleOf
@Contract(pure=true) public static <T1,T2, CompletableFuture<Tuple3<T1,T3> T2, allTupleOfT3>> (CompletionStage<? extends T1> cf1, CompletionStage<? extends T2> cf2, CompletionStage<? extends T3> cf3) Tuple variant ofCompletableFutureUtils.allResultsOf(CompletionStage[]). -
allTupleOf
@Contract(pure=true) public static <T1,T2, CompletableFuture<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 ofCompletableFutureUtils.allResultsOf(CompletionStage[]). -
allTupleOf
@Contract(pure=true) public static <T1,T2, CompletableFuture<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 ofCompletableFutureUtils.allResultsOf(CompletionStage[]). -
thenMApplyTupleFailFastAsync
@CheckReturnValue(explanation="should use the returned CompletableFuture; otherwise, prefer simple method `thenMAcceptAsync`") public static <T,U1, CompletableFuture<Tuple2<U1,U2> U2>> thenMApplyTupleFailFastAsync(CompletableFuture<? extends T> cfThis, Function<? super T, ? extends U1> fn1, Function<? super T, ? extends U2> fn2) -
thenMApplyTupleFailFastAsync
@CheckReturnValue(explanation="should use the returned CompletableFuture; otherwise, prefer simple method `thenMAcceptAsync`") public static <T,U1, CompletableFuture<Tuple2<U1,U2> U2>> thenMApplyTupleFailFastAsync(CompletableFuture<? extends T> cfThis, Function<? super T, ? extends U1> fn1, Function<? super T, ? extends U2> fn2, Executor executor) -
thenMApplyTupleFailFastAsync
@CheckReturnValue(explanation="should use the returned CompletableFuture; otherwise, prefer simple method `thenMAcceptAsync`") public static <T,U1, CompletableFuture<Tuple3<U1,U2, U3> U2, thenMApplyTupleFailFastAsyncU3>> (CompletableFuture<? extends T> cfThis, Function<? super T, ? extends U1> fn1, Function<? super T, ? extends U2> fn2, Function<? super T, ? extends U3> fn3) -
thenMApplyTupleFailFastAsync
@CheckReturnValue(explanation="should use the returned CompletableFuture; otherwise, prefer simple method `thenMAcceptAsync`") public static <T,U1, CompletableFuture<Tuple3<U1,U2, U3> U2, thenMApplyTupleFailFastAsyncU3>> (CompletableFuture<? extends T> cfThis, Function<? super T, ? extends U1> fn1, Function<? super T, ? extends U2> fn2, Function<? super T, ? extends U3> fn3, Executor executor) -
thenMApplyTupleFailFastAsync
@CheckReturnValue(explanation="should use the returned CompletableFuture; otherwise, prefer simple method `thenMAcceptAsync`") public static <T,U1, CompletableFuture<Tuple4<U1,U2, U3, U4> U2, thenMApplyTupleFailFastAsyncU3, U4>> (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) -
thenMApplyTupleFailFastAsync
@CheckReturnValue(explanation="should use the returned CompletableFuture; otherwise, prefer simple method `thenMAcceptAsync`") public static <T,U1, CompletableFuture<Tuple4<U1,U2, U3, U4> U2, thenMApplyTupleFailFastAsyncU3, U4>> (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, Executor executor) -
thenMApplyTupleFailFastAsync
@CheckReturnValue(explanation="should use the returned CompletableFuture; otherwise, prefer simple method `thenMAcceptAsync`") public static <T,U1, CompletableFuture<Tuple5<U1,U2, U3, U4, U5> U2, thenMApplyTupleFailFastAsyncU3, U4, U5>> (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) -
thenMApplyTupleFailFastAsync
@CheckReturnValue(explanation="should use the returned CompletableFuture; otherwise, prefer simple method `thenMAcceptAsync`") public static <T,U1, CompletableFuture<Tuple5<U1,U2, U3, U4, U5> U2, thenMApplyTupleFailFastAsyncU3, U4, U5>> (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, Executor executor) -
thenMApplyAllSuccessTupleAsync
@CheckReturnValue(explanation="should use the returned CompletableFuture; otherwise, prefer simple method `thenMAcceptAsync`") public static <T,U1, CompletableFuture<Tuple2<U1,U2> U2>> thenMApplyAllSuccessTupleAsync(CompletableFuture<? extends T> cfThis, Function<? super T, ? extends U1> fn1, Function<? super T, ? extends U2> fn2) Tuple variant ofCompletableFutureUtils.thenMApplyAllSuccessAsync(CompletableFuture, Object, Function[])withnullvalueIfFailed.If any of the provided functions fails, its corresponding position will contain
null(which is indistinguishable from the function having a successful value ofnull). -
thenMApplyAllSuccessTupleAsync
@CheckReturnValue(explanation="should use the returned CompletableFuture; otherwise, prefer simple method `thenMAcceptAsync`") public static <T,U1, CompletableFuture<Tuple2<U1,U2> U2>> thenMApplyAllSuccessTupleAsync(CompletableFuture<? extends T> cfThis, Function<? super T, ? extends U1> fn1, Function<? super T, ? extends U2> fn2, Executor executor) Tuple variant ofCompletableFutureUtils.thenMApplyAllSuccessAsync(CompletableFuture, Executor, Object, Function[])withnullvalueIfFailed.If any of the provided functions fails, its corresponding position will contain
null(which is indistinguishable from the function having a successful value ofnull). -
thenMApplyAllSuccessTupleAsync
@CheckReturnValue(explanation="should use the returned CompletableFuture; otherwise, prefer simple method `thenMAcceptAsync`") public static <T,U1, CompletableFuture<Tuple3<U1,U2, U3> U2, thenMApplyAllSuccessTupleAsyncU3>> (CompletableFuture<? extends T> cfThis, Function<? super T, ? extends U1> fn1, Function<? super T, ? extends U2> fn2, Function<? super T, ? extends U3> fn3) Tuple variant ofCompletableFutureUtils.thenMApplyAllSuccessAsync(CompletableFuture, Object, Function[])withnullvalueIfFailed.If any of the provided functions fails, its corresponding position will contain
null(which is indistinguishable from the function having a successful value ofnull). -
thenMApplyAllSuccessTupleAsync
@CheckReturnValue(explanation="should use the returned CompletableFuture; otherwise, prefer simple method `thenMAcceptAsync`") public static <T,U1, CompletableFuture<Tuple3<U1,U2, U3> U2, thenMApplyAllSuccessTupleAsyncU3>> (CompletableFuture<? extends T> cfThis, Function<? super T, ? extends U1> fn1, Function<? super T, ? extends U2> fn2, Function<? super T, ? extends U3> fn3, Executor executor) Tuple variant ofCompletableFutureUtils.thenMApplyAllSuccessAsync(CompletableFuture, Executor, Object, Function[])withnullvalueIfFailed.If any of the provided functions fails, its corresponding position will contain
null(which is indistinguishable from the function having a successful value ofnull). -
thenMApplyAllSuccessTupleAsync
@CheckReturnValue(explanation="should use the returned CompletableFuture; otherwise, prefer simple method `thenMAcceptAsync`") public static <T,U1, CompletableFuture<Tuple4<U1,U2, U3, U4> U2, thenMApplyAllSuccessTupleAsyncU3, U4>> (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) Tuple variant ofCompletableFutureUtils.thenMApplyAllSuccessAsync(CompletableFuture, Object, Function[])withnullvalueIfFailed.If any of the provided functions fails, its corresponding position will contain
null(which is indistinguishable from the function having a successful value ofnull). -
thenMApplyAllSuccessTupleAsync
@CheckReturnValue(explanation="should use the returned CompletableFuture; otherwise, prefer simple method `thenMAcceptAsync`") public static <T,U1, CompletableFuture<Tuple4<U1,U2, U3, U4> U2, thenMApplyAllSuccessTupleAsyncU3, U4>> (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, Executor executor) Tuple variant ofCompletableFutureUtils.thenMApplyAllSuccessAsync(CompletableFuture, Executor, Object, Function[])withnullvalueIfFailed.If any of the provided functions fails, its corresponding position will contain
null(which is indistinguishable from the function having a successful value ofnull). -
thenMApplyAllSuccessTupleAsync
@CheckReturnValue(explanation="should use the returned CompletableFuture; otherwise, prefer simple method `thenMAcceptAsync`") public static <T,U1, CompletableFuture<Tuple5<U1,U2, U3, U4, U5> U2, thenMApplyAllSuccessTupleAsyncU3, U4, U5>> (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) Tuple variant ofCompletableFutureUtils.thenMApplyAllSuccessAsync(CompletableFuture, Object, Function[])withnullvalueIfFailed.If any of the provided functions fails, its corresponding position will contain
null(which is indistinguishable from the function having a successful value ofnull). -
thenMApplyAllSuccessTupleAsync
@CheckReturnValue(explanation="should use the returned CompletableFuture; otherwise, prefer simple method `thenMAcceptAsync`") public static <T,U1, CompletableFuture<Tuple5<U1,U2, U3, U4, U5> U2, thenMApplyAllSuccessTupleAsyncU3, U4, U5>> (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, Executor executor) Tuple variant ofCompletableFutureUtils.thenMApplyAllSuccessAsync(CompletableFuture, Executor, Object, Function[])withnullvalueIfFailed.If any of the provided functions fails, its corresponding position will contain
null(which is indistinguishable from the function having a successful value ofnull). -
thenMApplyMostSuccessTupleAsync
@CheckReturnValue(explanation="should use the returned CompletableFuture; otherwise, prefer simple method `thenMAcceptAsync`") public static <T,U1, CompletableFuture<Tuple2<U1,U2> U2>> thenMApplyMostSuccessTupleAsync(CompletableFuture<? extends T> cfThis, long timeout, TimeUnit unit, Function<? super T, ? extends U1> fn1, Function<? super T, ? extends U2> fn2) Tuple variant ofCompletableFutureUtils.thenMApplyMostSuccessAsync(CompletableFuture, Object, long, TimeUnit, Function[])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). -
thenMApplyMostSuccessTupleAsync
@CheckReturnValue(explanation="should use the returned CompletableFuture; otherwise, prefer simple method `thenMAcceptAsync`") public static <T,U1, CompletableFuture<Tuple2<U1,U2> U2>> thenMApplyMostSuccessTupleAsync(CompletableFuture<? extends T> cfThis, long timeout, TimeUnit unit, Function<? super T, ? extends U1> fn1, Function<? super T, ? extends U2> fn2, Executor executor) Tuple variant ofCompletableFutureUtils.thenMApplyMostSuccessAsync(CompletableFuture, Executor, Object, long, TimeUnit, Function[])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). -
thenMApplyMostSuccessTupleAsync
@CheckReturnValue(explanation="should use the returned CompletableFuture; otherwise, prefer simple method `thenMAcceptAsync`") public static <T,U1, CompletableFuture<Tuple3<U1,U2, U3> U2, thenMApplyMostSuccessTupleAsyncU3>> (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) Tuple variant ofCompletableFutureUtils.thenMApplyMostSuccessAsync(CompletableFuture, Object, long, TimeUnit, Function[])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). -
thenMApplyMostSuccessTupleAsync
@CheckReturnValue(explanation="should use the returned CompletableFuture; otherwise, prefer simple method `thenMAcceptAsync`") public static <T,U1, CompletableFuture<Tuple3<U1,U2, U3> U2, thenMApplyMostSuccessTupleAsyncU3>> (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, Executor executor) Tuple variant ofCompletableFutureUtils.thenMApplyMostSuccessAsync(CompletableFuture, Executor, Object, long, TimeUnit, Function[])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). -
thenMApplyMostSuccessTupleAsync
@CheckReturnValue(explanation="should use the returned CompletableFuture; otherwise, prefer simple method `thenMAcceptAsync`") public static <T,U1, CompletableFuture<Tuple4<U1,U2, U3, U4> U2, thenMApplyMostSuccessTupleAsyncU3, U4>> (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) Tuple variant ofCompletableFutureUtils.thenMApplyMostSuccessAsync(CompletableFuture, Object, long, TimeUnit, Function[])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). -
thenMApplyMostSuccessTupleAsync
@CheckReturnValue(explanation="should use the returned CompletableFuture; otherwise, prefer simple method `thenMAcceptAsync`") public static <T,U1, CompletableFuture<Tuple4<U1,U2, U3, U4> U2, thenMApplyMostSuccessTupleAsyncU3, U4>> (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, Executor executor) Tuple variant ofCompletableFutureUtils.thenMApplyMostSuccessAsync(CompletableFuture, Executor, Object, long, TimeUnit, Function[])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). -
thenMApplyMostSuccessTupleAsync
@CheckReturnValue(explanation="should use the returned CompletableFuture; otherwise, prefer simple method `thenMAcceptAsync`") public static <T,U1, CompletableFuture<Tuple5<U1,U2, U3, U4, U5> U2, thenMApplyMostSuccessTupleAsyncU3, U4, U5>> (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) Tuple variant ofCompletableFutureUtils.thenMApplyMostSuccessAsync(CompletableFuture, Object, long, TimeUnit, Function[])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). -
thenMApplyMostSuccessTupleAsync
@CheckReturnValue(explanation="should use the returned CompletableFuture; otherwise, prefer simple method `thenMAcceptAsync`") public static <T,U1, CompletableFuture<Tuple5<U1,U2, U3, U4, U5> U2, thenMApplyMostSuccessTupleAsyncU3, U4, U5>> (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, Executor executor) Tuple variant ofCompletableFutureUtils.thenMApplyMostSuccessAsync(CompletableFuture, Executor, Object, long, TimeUnit, Function[])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). -
thenMApplyTupleAsync
@CheckReturnValue(explanation="should use the returned CompletableFuture; otherwise, prefer simple method `thenMAcceptAsync`") public static <T,U1, CompletableFuture<Tuple2<U1,U2> U2>> thenMApplyTupleAsync(CompletableFuture<? extends T> cfThis, Function<? super T, ? extends U1> fn1, Function<? super T, ? extends U2> fn2) Tuple variant ofCompletableFutureUtils.thenMApplyAsync(CompletableFuture, Function[]). -
thenMApplyTupleAsync
@CheckReturnValue(explanation="should use the returned CompletableFuture; otherwise, prefer simple method `thenMAcceptAsync`") public static <T,U1, CompletableFuture<Tuple2<U1,U2> U2>> thenMApplyTupleAsync(CompletableFuture<? extends T> cfThis, Function<? super T, ? extends U1> fn1, Function<? super T, ? extends U2> fn2, Executor executor) -
thenMApplyTupleAsync
@CheckReturnValue(explanation="should use the returned CompletableFuture; otherwise, prefer simple method `thenMAcceptAsync`") public static <T,U1, CompletableFuture<Tuple3<U1,U2, U3> U2, thenMApplyTupleAsyncU3>> (CompletableFuture<? extends T> cfThis, Function<? super T, ? extends U1> fn1, Function<? super T, ? extends U2> fn2, Function<? super T, ? extends U3> fn3) Tuple variant ofCompletableFutureUtils.thenMApplyAsync(CompletableFuture, Function[]). -
thenMApplyTupleAsync
@CheckReturnValue(explanation="should use the returned CompletableFuture; otherwise, prefer simple method `thenMAcceptAsync`") public static <T,U1, CompletableFuture<Tuple3<U1,U2, U3> U2, thenMApplyTupleAsyncU3>> (CompletableFuture<? extends T> cfThis, Function<? super T, ? extends U1> fn1, Function<? super T, ? extends U2> fn2, Function<? super T, ? extends U3> fn3, Executor executor) -
thenMApplyTupleAsync
@CheckReturnValue(explanation="should use the returned CompletableFuture; otherwise, prefer simple method `thenMAcceptAsync`") public static <T,U1, CompletableFuture<Tuple4<U1,U2, U3, U4> U2, thenMApplyTupleAsyncU3, U4>> (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) Tuple variant ofCompletableFutureUtils.thenMApplyAsync(CompletableFuture, Function[]). -
thenMApplyTupleAsync
@CheckReturnValue(explanation="should use the returned CompletableFuture; otherwise, prefer simple method `thenMAcceptAsync`") public static <T,U1, CompletableFuture<Tuple4<U1,U2, U3, U4> U2, thenMApplyTupleAsyncU3, U4>> (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, Executor executor) -
thenMApplyTupleAsync
@CheckReturnValue(explanation="should use the returned CompletableFuture; otherwise, prefer simple method `thenMAcceptAsync`") public static <T,U1, CompletableFuture<Tuple5<U1,U2, U3, U4, U5> U2, thenMApplyTupleAsyncU3, U4, U5>> (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) Tuple variant ofCompletableFutureUtils.thenMApplyAsync(CompletableFuture, Function[]). -
thenMApplyTupleAsync
@CheckReturnValue(explanation="should use the returned CompletableFuture; otherwise, prefer simple method `thenMAcceptAsync`") public static <T,U1, CompletableFuture<Tuple5<U1,U2, U3, U4, U5> U2, thenMApplyTupleAsyncU3, U4, U5>> (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, Executor executor)
-