Uses of Class
io.foldright.cffu.tuple.Tuple5

Packages that use Tuple5
Package
Description
A tiny sidekick library for CompletableFuture to improve user experience and reduce misuse.
the Tuple util classes for Cffu use.
  • Uses of Tuple5 in io.foldright.cffu

    Methods in io.foldright.cffu that return types with arguments of type Tuple5
    Modifier and Type
    Method
    Description
    <T1, T2, T3, T4, T5>
    Cffu<Tuple5<T1,T2,T3,T4,T5>>
    CffuFactory.allTupleFastFailOf(CompletionStage<? extends T1> cf1, CompletionStage<? extends T2> cf2, CompletionStage<? extends T3> cf3, CompletionStage<? extends T4> cf4, CompletionStage<? extends T5> cf5)
    Returns a new Cffu that is successful when the given five stages success.
    static <T1, T2, T3, T4, T5>
    CompletableFuture<Tuple5<T1,T2,T3,T4,T5>>
    CompletableFutureUtils.allTupleFastFailOf(CompletionStage<? extends T1> cf1, CompletionStage<? extends T2> cf2, CompletionStage<? extends T3> cf3, CompletionStage<? extends T4> cf4, CompletionStage<? extends T5> cf5)
    Returns a new CompletableFuture that is successful when the given five stages success.
    <T1, T2, T3, T4, T5>
    Cffu<Tuple5<T1,T2,T3,T4,T5>>
    CffuFactory.allTupleOf(CompletionStage<? extends T1> cf1, CompletionStage<? extends T2> cf2, CompletionStage<? extends T3> cf3, CompletionStage<? extends T4> cf4, CompletionStage<? extends T5> cf5)
    Returns a new Cffu that is completed when the given five stages complete.
    static <T1, T2, T3, T4, T5>
    CompletableFuture<Tuple5<T1,T2,T3,T4,T5>>
    CompletableFutureUtils.allTupleOf(CompletionStage<? extends T1> cf1, CompletionStage<? extends T2> cf2, CompletionStage<? extends T3> cf3, CompletionStage<? extends T4> cf4, CompletionStage<? extends T5> cf5)
    Returns a new CompletableFuture that is completed when the given five stages complete.
    <T1, T2, T3, T4, T5>
    Cffu<Tuple5<T1,T2,T3,T4,T5>>
    CffuFactory.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)
    Returns a new Cffu with the most results in the same order of the given five stages arguments in the given time(timeout, aka as many results as possible in the given time).
    static <T1, T2, T3, T4, T5>
    CompletableFuture<Tuple5<T1,T2,T3,T4,T5>>
    CompletableFutureUtils.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)
    Returns a new CompletableFuture with the most results in the same order of the given five stages arguments in the given time(timeout, aka as many results as possible in the given time).
    static <T1, T2, T3, T4, T5>
    CompletableFuture<Tuple5<T1,T2,T3,T4,T5>>
    CompletableFutureUtils.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)
    Returns a new CompletableFuture with the most results in the same order of the given five stages arguments in the given time(timeout, aka as many results as possible in the given time).
    <U1, U2, U3, U4, U5>
    Cffu<Tuple5<U1,U2,U3,U4,U5>>
    Cffu.thenTupleMApplyAsync(Executor executor, Function<? super T,? extends U1> fn1, Function<? super T,? extends U2> fn2, Function<? super T,? extends U3> fn3, Function<? super T,? extends U4> fn4, Function<? super T,? extends U5> fn5)
    Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, with the values obtained by calling the given Functions (with this Cffu's result as the argument to the given functions) in the same order of the given Functions arguments.
    <U1, U2, U3, U4, U5>
    Cffu<Tuple5<U1,U2,U3,U4,U5>>
    Cffu.thenTupleMApplyAsync(Function<? super T,? extends U1> fn1, Function<? super T,? extends U2> fn2, Function<? super T,? extends U3> fn3, Function<? super T,? extends U4> fn4, Function<? super T,? extends U5> fn5)
    Returns a new Cffu that, when this Cffu completes normally, is executed using the Cffu.defaultExecutor(), with the values obtained by calling the given Functions (with this Cffu's result as the argument to the given functions) in the same order of the given Functions arguments.
    static <T, U1, U2, U3, U4, U5>
    CompletableFuture<Tuple5<U1,U2,U3,U4,U5>>
    CompletableFutureUtils.thenTupleMApplyAsync(CompletableFuture<? extends T> cfThis, Executor executor, Function<? super T,? extends U1> fn1, Function<? super T,? extends U2> fn2, Function<? super T,? extends U3> fn3, Function<? super T,? extends U4> fn4, Function<? super T,? extends U5> fn5)
    Returns a new CompletableFuture that, when the given stage completes normally, is executed using the given Executor, with the values obtained by calling the given Functions (with the given stage's result as the argument to the given functions) in the same order of the given Functions arguments.
    static <T, U1, U2, U3, U4, U5>
    CompletableFuture<Tuple5<U1,U2,U3,U4,U5>>
    CompletableFutureUtils.thenTupleMApplyAsync(CompletableFuture<? extends T> cfThis, Function<? super T,? extends U1> fn1, Function<? super T,? extends U2> fn2, Function<? super T,? extends U3> fn3, Function<? super T,? extends U4> fn4, Function<? super T,? extends U5> fn5)
    Returns a new CompletableFuture that, when the given stage completes normally, is executed using the CompletableFuture's default asynchronous execution facility, with the values obtained by calling the given Functions (with the given stage's result as the argument to the given functions) in the same order of the given Functions arguments.
    <U1, U2, U3, U4, U5>
    Cffu<Tuple5<U1,U2,U3,U4,U5>>
    Cffu.thenTupleMApplyFastFailAsync(Executor executor, Function<? super T,? extends U1> fn1, Function<? super T,? extends U2> fn2, Function<? super T,? extends U3> fn3, Function<? super T,? extends U4> fn4, Function<? super T,? extends U5> fn5)
    Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, with the values obtained by calling the given Functions (with this Cffu's result as the argument to the given functions) in the same order of the given Functions arguments.
    <U1, U2, U3, U4, U5>
    Cffu<Tuple5<U1,U2,U3,U4,U5>>
    Cffu.thenTupleMApplyFastFailAsync(Function<? super T,? extends U1> fn1, Function<? super T,? extends U2> fn2, Function<? super T,? extends U3> fn3, Function<? super T,? extends U4> fn4, Function<? super T,? extends U5> fn5)
    Returns a new Cffu that, when this Cffu completes normally, is executed using the Cffu.defaultExecutor(), with the values obtained by calling the given Functions (with this Cffu's result as the argument to the given functions) in the same order of the given Functions arguments.
    static <T, U1, U2, U3, U4, U5>
    CompletableFuture<Tuple5<U1,U2,U3,U4,U5>>
    CompletableFutureUtils.thenTupleMApplyFastFailAsync(CompletableFuture<? extends T> cfThis, Executor executor, Function<? super T,? extends U1> fn1, Function<? super T,? extends U2> fn2, Function<? super T,? extends U3> fn3, Function<? super T,? extends U4> fn4, Function<? super T,? extends U5> fn5)
    Returns a new CompletableFuture that, when the given stage completes normally, is executed using the given Executor, with the values obtained by calling the given Functions (with the given stage's result as the argument to the given functions) in the same order of the given Functions arguments.
    static <T, U1, U2, U3, U4, U5>
    CompletableFuture<Tuple5<U1,U2,U3,U4,U5>>
    CompletableFutureUtils.thenTupleMApplyFastFailAsync(CompletableFuture<? extends T> cfThis, Function<? super T,? extends U1> fn1, Function<? super T,? extends U2> fn2, Function<? super T,? extends U3> fn3, Function<? super T,? extends U4> fn4, Function<? super T,? extends U5> fn5)
    Returns a new CompletableFuture that, when the given stage completes normally, is executed using the CompletableFuture's default asynchronous execution facility, with the values obtained by calling the given Functions (with the given stage's result as the argument to the given functions) in the same order of the given Functions arguments.
    <U1, U2, U3, U4, U5>
    Cffu<Tuple5<U1,U2,U3,U4,U5>>
    Cffu.thenTupleMApplyMostSuccessAsync(long timeout, TimeUnit unit, Function<? super T,? extends U1> fn1, Function<? super T,? extends U2> fn2, Function<? super T,? extends U3> fn3, Function<? super T,? extends U4> fn4, Function<? super T,? extends U5> fn5)
    Returns a new Cffu that, when this Cffu completes normally, is executed using the Cffu.defaultExecutor(), with the values obtained by calling the given Functions (with this Cffu's result as the argument to the given functions) in the same order of the given Functions arguments.
    <U1, U2, U3, U4, U5>
    Cffu<Tuple5<U1,U2,U3,U4,U5>>
    Cffu.thenTupleMApplyMostSuccessAsync(Executor executor, long timeout, TimeUnit unit, Function<? super T,? extends U1> fn1, Function<? super T,? extends U2> fn2, Function<? super T,? extends U3> fn3, Function<? super T,? extends U4> fn4, Function<? super T,? extends U5> fn5)
    Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, with the values obtained by calling the given Functions (with this Cffu's result as the argument to the given functions) in the same order of the given Functions arguments.
    static <T, U1, U2, U3, U4, U5>
    CompletableFuture<Tuple5<U1,U2,U3,U4,U5>>
    CompletableFutureUtils.thenTupleMApplyMostSuccessAsync(CompletableFuture<? extends T> cfThis, long timeout, TimeUnit unit, Function<? super T,? extends U1> fn1, Function<? super T,? extends U2> fn2, Function<? super T,? extends U3> fn3, Function<? super T,? extends U4> fn4, Function<? super T,? extends U5> fn5)
    Returns a new CompletableFuture that, when the given stage completes normally, is executed using the CompletableFuture's default asynchronous execution facility, with the most values obtained by calling the given Functions (with the given stage's result as the argument to the given functions) in the given time(timeout, aka as many results as possible in the given time) in the same order of the given Functions arguments.
    static <T, U1, U2, U3, U4, U5>
    CompletableFuture<Tuple5<U1,U2,U3,U4,U5>>
    CompletableFutureUtils.thenTupleMApplyMostSuccessAsync(CompletableFuture<? extends T> cfThis, Executor executor, long timeout, TimeUnit unit, Function<? super T,? extends U1> fn1, Function<? super T,? extends U2> fn2, Function<? super T,? extends U3> fn3, Function<? super T,? extends U4> fn4, Function<? super T,? extends U5> fn5)
    Returns a new CompletableFuture that, when the given stage completes normally, is executed using the given Executor, with the most values obtained by calling the given Functions (with the given stage's result as the argument to the given functions) in the given time(timeout, aka as many results as possible in the given time) in the same order of the given Functions arguments.
    <T1, T2, T3, T4, T5>
    Cffu<Tuple5<T1,T2,T3,T4,T5>>
    CffuFactory.tupleMSupplyAsync(Executor executor, Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3, Supplier<? extends T4> supplier4, Supplier<? extends T5> supplier5)
    Returns a new Cffu that is asynchronously completed by tasks running in the given Executor with the values obtained by calling the given Suppliers in the same order of the given Suppliers arguments.
    <T1, T2, T3, T4, T5>
    Cffu<Tuple5<T1,T2,T3,T4,T5>>
    CffuFactory.tupleMSupplyAsync(Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3, Supplier<? extends T4> supplier4, Supplier<? extends T5> supplier5)
    Returns a new Cffu that is asynchronously completed by tasks running in the CffuFactory.defaultExecutor() with the values obtained by calling the given Suppliers in the same order of the given Suppliers arguments.
    static <T1, T2, T3, T4, T5>
    CompletableFuture<Tuple5<T1,T2,T3,T4,T5>>
    CompletableFutureUtils.tupleMSupplyAsync(Executor executor, Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3, Supplier<? extends T4> supplier4, Supplier<? extends T5> supplier5)
    Returns a new CompletableFuture that is asynchronously completed by tasks running in the given Executor with the values obtained by calling the given Suppliers in the same order of the given Suppliers arguments.
    static <T1, T2, T3, T4, T5>
    CompletableFuture<Tuple5<T1,T2,T3,T4,T5>>
    CompletableFutureUtils.tupleMSupplyAsync(Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3, Supplier<? extends T4> supplier4, Supplier<? extends T5> supplier5)
    Returns a new CompletableFuture that is asynchronously completed by tasks running in the CompletableFuture's default asynchronous execution facility with the values obtained by calling the given Suppliers in the same order of the given Suppliers arguments.
    <T1, T2, T3, T4, T5>
    Cffu<Tuple5<T1,T2,T3,T4,T5>>
    CffuFactory.tupleMSupplyFastFailAsync(Executor executor, Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3, Supplier<? extends T4> supplier4, Supplier<? extends T5> supplier5)
    Returns a new Cffu that is asynchronously completed by tasks running in the given Executor with the values obtained by calling the given Suppliers in the same order of the given Suppliers arguments.
    <T1, T2, T3, T4, T5>
    Cffu<Tuple5<T1,T2,T3,T4,T5>>
    CffuFactory.tupleMSupplyFastFailAsync(Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3, Supplier<? extends T4> supplier4, Supplier<? extends T5> supplier5)
    Returns a new Cffu that is asynchronously completed by tasks running in the CffuFactory.defaultExecutor() with the values obtained by calling the given Suppliers in the same order of the given Suppliers arguments.
    static <T1, T2, T3, T4, T5>
    CompletableFuture<Tuple5<T1,T2,T3,T4,T5>>
    CompletableFutureUtils.tupleMSupplyFastFailAsync(Executor executor, Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3, Supplier<? extends T4> supplier4, Supplier<? extends T5> supplier5)
    Returns a new CompletableFuture that is asynchronously completed by tasks running in the given Executor with the values obtained by calling the given Suppliers in the same order of the given Suppliers arguments.
    static <T1, T2, T3, T4, T5>
    CompletableFuture<Tuple5<T1,T2,T3,T4,T5>>
    CompletableFutureUtils.tupleMSupplyFastFailAsync(Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3, Supplier<? extends T4> supplier4, Supplier<? extends T5> supplier5)
    Returns a new CompletableFuture that is asynchronously completed by tasks running in the CompletableFuture's default asynchronous execution facility with the values obtained by calling the given Suppliers in the same order of the given Suppliers arguments.
    <T1, T2, T3, T4, T5>
    Cffu<Tuple5<T1,T2,T3,T4,T5>>
    CffuFactory.tupleMSupplyMostSuccessAsync(long timeout, TimeUnit unit, Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3, Supplier<? extends T4> supplier4, Supplier<? extends T5> supplier5)
    Returns a new Cffu that is asynchronously completed by tasks running in the CffuFactory.defaultExecutor() with the values obtained by calling the given Suppliers in the same order of the given Suppliers arguments.
    <T1, T2, T3, T4, T5>
    Cffu<Tuple5<T1,T2,T3,T4,T5>>
    CffuFactory.tupleMSupplyMostSuccessAsync(Executor executor, long timeout, TimeUnit unit, Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3, Supplier<? extends T4> supplier4, Supplier<? extends T5> supplier5)
    Returns a new Cffu that is asynchronously completed by tasks running in the given Executor with the values obtained by calling the given Suppliers in the same order of the given Suppliers arguments.
    static <T1, T2, T3, T4, T5>
    CompletableFuture<Tuple5<T1,T2,T3,T4,T5>>
    CompletableFutureUtils.tupleMSupplyMostSuccessAsync(long timeout, TimeUnit unit, Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3, Supplier<? extends T4> supplier4, Supplier<? extends T5> supplier5)
    Returns a new CompletableFuture that is asynchronously completed by tasks running in the CompletableFuture's default asynchronous execution facility with the most values obtained by calling the given Suppliers in the given time(timeout, aka as many results as possible in the given time) in the same order of the given Suppliers arguments.
    static <T1, T2, T3, T4, T5>
    CompletableFuture<Tuple5<T1,T2,T3,T4,T5>>
    CompletableFutureUtils.tupleMSupplyMostSuccessAsync(Executor executor, long timeout, TimeUnit unit, Supplier<? extends T1> supplier1, Supplier<? extends T2> supplier2, Supplier<? extends T3> supplier3, Supplier<? extends T4> supplier4, Supplier<? extends T5> supplier5)
    Returns a new CompletableFuture that is asynchronously completed by tasks running in the given Executor with the most values obtained by calling the given Suppliers in the given time(timeout, aka as many results as possible in the given time) in the same order of the given Suppliers arguments.
  • Uses of Tuple5 in io.foldright.cffu.tuple

    Methods in io.foldright.cffu.tuple that return Tuple5
    Modifier and Type
    Method
    Description
    static <T1, T2, T3, T4, T5>
    Tuple5<T1,T2,T3,T4,T5>
    Tuple5.of(T1 _1, T2 _2, T3 _3, T4 _4, T5 _5)