Index
All Classes and Interfaces|All Packages|Serialized Form
A
- acceptEither(CompletionStage<? extends T>, Consumer<? super T>) - Method in class io.foldright.cffu.Cffu
-
Returns a new Cffu that, when either this or the other given stage complete normally, is executed with the corresponding result as argument to the supplied action.
- acceptEitherAsync(CompletionStage<? extends T>, Consumer<? super T>) - Method in class io.foldright.cffu.Cffu
-
Returns a new Cffu that, when either this or the other given stage complete normally, is executed using
Cffu.defaultExecutor()
, with the corresponding result as argument to the supplied action. - acceptEitherAsync(CompletionStage<? extends T>, Consumer<? super T>, Executor) - Method in class io.foldright.cffu.Cffu
-
Returns a new Cffu that, when either this or the other given stage complete normally, is executed using the supplied executor, with the corresponding result as argument to the supplied action.
- acceptEitherSuccess(CompletableFuture<? extends T>, CompletionStage<? extends T>, Consumer<? super T>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Returns a new CompletableFuture that, when either given stage success, is executed with the corresponding result as argument to the supplied action.
- acceptEitherSuccess(CompletionStage<? extends T>, Consumer<? super T>) - Method in class io.foldright.cffu.Cffu
-
Returns a new Cffu that, when either this or the other given stage complete normally, is executed with the corresponding result as argument to the supplied action.
- acceptEitherSuccessAsync(CompletableFuture<? extends T>, CompletionStage<? extends T>, Consumer<? super T>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Returns a new CompletableFuture that, when either given stage success, is executed using the default executor of parameter cfThis, with the corresponding result as argument to the supplied action.
- acceptEitherSuccessAsync(CompletableFuture<? extends T>, CompletionStage<? extends T>, Consumer<? super T>, Executor) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Returns a new CompletableFuture that, when either given stage success, is executed using the supplied executor, with the corresponding result as argument to the supplied action.
- acceptEitherSuccessAsync(CompletionStage<? extends T>, Consumer<? super T>) - Method in class io.foldright.cffu.Cffu
-
Returns a new Cffu that, when either this or the other given stage complete normally, is executed using
Cffu.defaultExecutor()
, with the corresponding result as argument to the supplied action. - acceptEitherSuccessAsync(CompletionStage<? extends T>, Consumer<? super T>, Executor) - Method in class io.foldright.cffu.Cffu
-
Returns a new Cffu that, when either this or the other given stage complete normally, is executed using the supplied executor, with the corresponding result as argument to the supplied action.
- allFailFastOf(CompletionStage<?>...) - Method in class io.foldright.cffu.CffuFactory
-
Returns a new Cffu that is completed normally when all the given stages complete normally; If any of the given stages complete exceptionally, then the returned Cffu also does so, WITHOUT waiting other incomplete given stages, with a CompletionException holding this exception as its cause.
- allFailFastOf(CompletionStage<?>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Returns a new CompletableFuture that is completed normally when all the given stages complete normally; If any of the given stages complete exceptionally, then the returned CompletableFuture also does so, WITHOUT waiting other incomplete given stages, with a CompletionException holding this exception as its cause.
- allOf(CompletionStage<?>...) - Method in class io.foldright.cffu.CffuFactory
-
Returns a new Cffu that is completed when all the given stages complete; If any of the given stages complete exceptionally, then the returned Cffu also does so, with a CompletionException holding this exception as its cause.
- allOf(CompletionStage<?>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Returns a new CompletableFuture that is completed when all the given stages complete; If any of the given stages complete exceptionally, then the returned CompletableFuture also does so, with a CompletionException holding this exception as its cause.
- allResultsFailFastOf(CompletionStage<? extends T>...) - Method in class io.foldright.cffu.CffuFactory
-
Returns a new Cffu that is completed normally with a list containing the successful results of all given stages when all the given stages complete normally; If any of the given stages complete exceptionally, then the returned Cffu also does so, WITHOUT waiting other incomplete given stages, with a CompletionException holding this exception as its cause.
- allResultsFailFastOf(CompletionStage<? extends T>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Returns a new CompletableFuture that is completed normally with a list containing the successful results of all given stages when all the given stages complete normally; If any of the given stages complete exceptionally, then the returned CompletableFuture also does so, WITHOUT waiting other incomplete given stages, with a CompletionException holding this exception as its cause.
- allResultsOf(CompletionStage<? extends T>...) - Method in class io.foldright.cffu.CffuFactory
-
Returns a new Cffu that is completed normally with a list containing the successful results of all given stages when all the given stages complete; If any of the given stages complete exceptionally, then the returned Cffu also does so, with a CompletionException holding this exception as its cause.
- allResultsOf(CompletionStage<? extends T>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Returns a new CompletableFuture that is completed normally with a list containing the successful results of all given stages when all the given stages complete; If any of the given stages complete exceptionally, then the returned CompletableFuture also does so, with a CompletionException holding this exception as its cause.
- allSuccessResultsOf(T, CompletionStage<? extends T>...) - Method in class io.foldright.cffu.CffuFactory
-
Returns a new Cffu that is completed normally with a list containing the successful results of all given stages when all the given stages complete; The list of results is in the same order as the input list, and if any of given stages complete exceptionally, their corresponding position will contain
valueIfFailed
(which is indistinguishable from the stage having a successful value ofvalueIfFailed
). - allSuccessResultsOf(T, CompletionStage<? extends T>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Returns a new CompletableFuture that is completed normally with a list containing the successful results of all given stages when all the given stages complete; The list of results is in the same order as the input list, and if any of given stages complete exceptionally, their corresponding position will contain
valueIfFailed
(which is indistinguishable from the stage having a successful value ofvalueIfFailed
). - allSuccessTupleOf(CompletionStage<? extends T1>, CompletionStage<? extends T2>) - Method in class io.foldright.cffu.CffuFactory
-
Tuple variant of
CffuFactory.allSuccessResultsOf(Object, CompletionStage[])
withnull
valueIfFailed. - allSuccessTupleOf(CompletionStage<? extends T1>, CompletionStage<? extends T2>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Tuple variant of
CompletableFutureUtils.allSuccessResultsOf(Object, CompletionStage[])
withnull
valueIfFailed. - allSuccessTupleOf(CompletionStage<? extends T1>, CompletionStage<? extends T2>, CompletionStage<? extends T3>) - Method in class io.foldright.cffu.CffuFactory
-
Tuple variant of
CffuFactory.allSuccessResultsOf(Object, CompletionStage[])
withnull
valueIfFailed. - allSuccessTupleOf(CompletionStage<? extends T1>, CompletionStage<? extends T2>, CompletionStage<? extends T3>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Tuple variant of
CompletableFutureUtils.allSuccessResultsOf(Object, CompletionStage[])
withnull
valueIfFailed. - allSuccessTupleOf(CompletionStage<? extends T1>, CompletionStage<? extends T2>, CompletionStage<? extends T3>, CompletionStage<? extends T4>) - Method in class io.foldright.cffu.CffuFactory
-
Tuple variant of
CffuFactory.allSuccessResultsOf(Object, CompletionStage[])
withnull
valueIfFailed. - allSuccessTupleOf(CompletionStage<? extends T1>, CompletionStage<? extends T2>, CompletionStage<? extends T3>, CompletionStage<? extends T4>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Tuple variant of
CompletableFutureUtils.allSuccessResultsOf(Object, CompletionStage[])
withnull
valueIfFailed. - allSuccessTupleOf(CompletionStage<? extends T1>, CompletionStage<? extends T2>, CompletionStage<? extends T3>, CompletionStage<? extends T4>, CompletionStage<? extends T5>) - Method in class io.foldright.cffu.CffuFactory
-
Tuple variant of
CffuFactory.allSuccessResultsOf(Object, CompletionStage[])
withnull
valueIfFailed. - allSuccessTupleOf(CompletionStage<? extends T1>, CompletionStage<? extends T2>, CompletionStage<? extends T3>, CompletionStage<? extends T4>, CompletionStage<? extends T5>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Tuple variant of
CompletableFutureUtils.allSuccessResultsOf(Object, CompletionStage[])
withnull
valueIfFailed. - allTupleFailFastOf(CompletionStage<? extends T1>, CompletionStage<? extends T2>) - Method in class io.foldright.cffu.CffuFactory
-
Tuple variant of
CffuFactory.allResultsFailFastOf(CompletionStage[])
. - allTupleFailFastOf(CompletionStage<? extends T1>, CompletionStage<? extends T2>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Tuple variant of
CompletableFutureUtils.allResultsFailFastOf(CompletionStage[])
. - allTupleFailFastOf(CompletionStage<? extends T1>, CompletionStage<? extends T2>, CompletionStage<? extends T3>) - Method in class io.foldright.cffu.CffuFactory
-
Tuple variant of
CffuFactory.allResultsFailFastOf(CompletionStage[])
. - allTupleFailFastOf(CompletionStage<? extends T1>, CompletionStage<? extends T2>, CompletionStage<? extends T3>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Tuple variant of
CompletableFutureUtils.allResultsFailFastOf(CompletionStage[])
. - allTupleFailFastOf(CompletionStage<? extends T1>, CompletionStage<? extends T2>, CompletionStage<? extends T3>, CompletionStage<? extends T4>) - Method in class io.foldright.cffu.CffuFactory
-
Tuple variant of
CffuFactory.allResultsFailFastOf(CompletionStage[])
. - allTupleFailFastOf(CompletionStage<? extends T1>, CompletionStage<? extends T2>, CompletionStage<? extends T3>, CompletionStage<? extends T4>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Tuple variant of
CompletableFutureUtils.allResultsFailFastOf(CompletionStage[])
. - allTupleFailFastOf(CompletionStage<? extends T1>, CompletionStage<? extends T2>, CompletionStage<? extends T3>, CompletionStage<? extends T4>, CompletionStage<? extends T5>) - Method in class io.foldright.cffu.CffuFactory
-
Tuple variant of
CffuFactory.allResultsFailFastOf(CompletionStage[])
. - allTupleFailFastOf(CompletionStage<? extends T1>, CompletionStage<? extends T2>, CompletionStage<? extends T3>, CompletionStage<? extends T4>, CompletionStage<? extends T5>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Tuple variant of
CompletableFutureUtils.allResultsFailFastOf(CompletionStage[])
. - allTupleOf(CompletionStage<? extends T1>, CompletionStage<? extends T2>) - Method in class io.foldright.cffu.CffuFactory
-
Tuple variant of
CffuFactory.allResultsOf(CompletionStage[])
. - allTupleOf(CompletionStage<? extends T1>, CompletionStage<? extends T2>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Tuple variant of
CompletableFutureUtils.allResultsOf(CompletionStage[])
. - allTupleOf(CompletionStage<? extends T1>, CompletionStage<? extends T2>, CompletionStage<? extends T3>) - Method in class io.foldright.cffu.CffuFactory
-
Tuple variant of
CffuFactory.allResultsOf(CompletionStage[])
. - allTupleOf(CompletionStage<? extends T1>, CompletionStage<? extends T2>, CompletionStage<? extends T3>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Tuple variant of
CompletableFutureUtils.allResultsOf(CompletionStage[])
. - allTupleOf(CompletionStage<? extends T1>, CompletionStage<? extends T2>, CompletionStage<? extends T3>, CompletionStage<? extends T4>) - Method in class io.foldright.cffu.CffuFactory
-
Tuple variant of
CffuFactory.allResultsOf(CompletionStage[])
. - allTupleOf(CompletionStage<? extends T1>, CompletionStage<? extends T2>, CompletionStage<? extends T3>, CompletionStage<? extends T4>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Tuple variant of
CompletableFutureUtils.allResultsOf(CompletionStage[])
. - allTupleOf(CompletionStage<? extends T1>, CompletionStage<? extends T2>, CompletionStage<? extends T3>, CompletionStage<? extends T4>, CompletionStage<? extends T5>) - Method in class io.foldright.cffu.CffuFactory
-
Tuple variant of
CffuFactory.allResultsOf(CompletionStage[])
. - allTupleOf(CompletionStage<? extends T1>, CompletionStage<? extends T2>, CompletionStage<? extends T3>, CompletionStage<? extends T4>, CompletionStage<? extends T5>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Tuple variant of
CompletableFutureUtils.allResultsOf(CompletionStage[])
. - anyOf(CompletionStage<? extends T>...) - Method in class io.foldright.cffu.CffuFactory
-
Returns a new Cffu that is completed with the same successful result or exception of any of the given stages when one stage completes.
- anyOf(CompletionStage<? extends T>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Returns a new CompletableFuture that is completed with the same successful result or exception of any of the given stages when one stage completes.
- anySuccessOf(CompletionStage<? extends T>...) - Method in class io.foldright.cffu.CffuFactory
-
Returns a new Cffu that completed normally when any of the given stages complete normally, with the same result; Otherwise, when all the given stages complete exceptionally, the returned Cffu also does so, with a CompletionException holding an exception from any of the given stages as its cause.
- anySuccessOf(CompletionStage<? extends T>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Returns a new CompletableFuture that completed normally when any of the given stages complete normally, with the same result; Otherwise, when all the given stages complete exceptionally, the returned CompletableFuture also does so, with a CompletionException holding an exception from any of the given stages as its cause.
- applyToEither(CompletionStage<? extends T>, Function<? super T, U>) - Method in class io.foldright.cffu.Cffu
-
Returns a new Cffu that, when either this or the other given stage complete normally, is executed with the corresponding result as argument to the supplied function.
- applyToEitherAsync(CompletionStage<? extends T>, Function<? super T, U>) - Method in class io.foldright.cffu.Cffu
-
Returns a new Cffu that, when either this or the other given stage complete normally, is executed using
Cffu.defaultExecutor()
, with the corresponding result as argument to the supplied function. - applyToEitherAsync(CompletionStage<? extends T>, Function<? super T, U>, Executor) - Method in class io.foldright.cffu.Cffu
-
Returns a new Cffu that, when either this or the other given stage complete normally, is executed using the supplied executor, with the corresponding result as argument to the supplied function.
- applyToEitherSuccess(CompletableFuture<? extends T>, CompletionStage<? extends T>, Function<? super T, ? extends U>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Returns a new CompletableFuture that, when either given stage success, is executed with the corresponding result as argument to the supplied function.
- applyToEitherSuccess(CompletionStage<? extends T>, Function<? super T, U>) - Method in class io.foldright.cffu.Cffu
-
Returns a new Cffu that, when either this or the other given stage complete normally, is executed with the corresponding result as argument to the supplied function.
- applyToEitherSuccessAsync(CompletableFuture<? extends T>, CompletionStage<? extends T>, Function<? super T, ? extends U>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Returns a new CompletableFuture that, when either given stage success, is executed using the default executor of parameter cfThis, with the corresponding result as argument to the supplied function.
- applyToEitherSuccessAsync(CompletableFuture<? extends T>, CompletionStage<? extends T>, Function<? super T, ? extends U>, Executor) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Returns a new CompletableFuture that, when either given stage success, is executed using the supplied executor, with the corresponding result as argument to the supplied function.
- applyToEitherSuccessAsync(CompletionStage<? extends T>, Function<? super T, U>) - Method in class io.foldright.cffu.Cffu
-
Returns a new Cffu that, when either this or the other given stage complete normally, is executed using
Cffu.defaultExecutor()
, with the corresponding result as argument to the supplied function. - applyToEitherSuccessAsync(CompletionStage<? extends T>, Function<? super T, U>, Executor) - Method in class io.foldright.cffu.Cffu
-
Returns a new Cffu that, when either this or the other given stage complete normally, is executed using the supplied executor, with the corresponding result as argument to the supplied function.
- ASYNC_POOL - Static variable in class io.foldright.cffu.LLCF
-
Default executor of CompletableFuture(NOT including the customized subclasses of CompletableFuture) --
ForkJoinPool.commonPool()
unless it cannot support parallelism. - attachment - Variable in class io.foldright.cffu.eh.ExceptionInfo
-
An optional attachment object that may contain additional context; can be
null
.
B
- build() - Method in class io.foldright.cffu.CffuFactoryBuilder
-
Builds the cffu factory.
- builder(Executor) - Static method in class io.foldright.cffu.CffuFactory
-
Returns a
CffuFactoryBuilder
withdefaultExecutor
setting.
C
- cancel(boolean) - Method in class io.foldright.cffu.Cffu
-
If not already completed, completes this Cffu with a
CancellationException
. - CANCELLED - Enum constant in enum io.foldright.cffu.CffuState
-
The task was cancelled.
- catching(C, Class<X>, Function<? super X, ? extends T>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Returns a new CompletableFuture that, when given stage completes exceptionally with the given exceptionType, is executed with the exception from the given stage(
argument cfThis
) as the argument to the supplied function. - catching(Class<X>, Function<? super X, ? extends T>) - Method in class io.foldright.cffu.Cffu
-
Returns a new Cffu that, when this Cffu completes exceptionally with the given exceptionType, is executed with the exception from this Cffu as the argument to the supplied function.
- catchingAsync(C, Class<X>, Function<? super X, ? extends T>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Returns a new CompletableFuture that, when given stage completes exceptionally with the given exceptionType, is executed with the exception from the given stage(
argument cfThis
) as the argument to the supplied function, using the default executor of parameter the given stage. - catchingAsync(C, Class<X>, Function<? super X, ? extends T>, Executor) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Returns a new CompletableFuture that, when given stage completes exceptionally with the given exceptionType, is executed with the exception from the given stage(
argument cfThis
) as the argument to the supplied function, using the supplied Executor. - catchingAsync(Class<X>, Function<? super X, ? extends T>) - Method in class io.foldright.cffu.Cffu
-
Returns a new Cffu that, when this Cffu completes exceptionally with the given exceptionType, is executed with the exception from this Cffu as the argument to the supplied function, using
Cffu.defaultExecutor()
. - catchingAsync(Class<X>, Function<? super X, ? extends T>, Executor) - Method in class io.foldright.cffu.Cffu
-
Returns a new Cffu that, when this Cffu completes exceptionally with the given exceptionType, is executed with the exception from this Cffu as the argument to the supplied function, using the supplied Executor.
- catchingCompose(C, Class<X>, Function<? super X, ? extends CompletionStage<T>>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Returns a new CompletionStage that, when given stage completes exceptionally with the given exceptionType, is composed using the results of the supplied function applied to the exception from the given stage(
argument cfThis
). - catchingCompose(Class<X>, Function<? super X, ? extends CompletionStage<T>>) - Method in class io.foldright.cffu.Cffu
-
Returns a new Cffu that, when this Cffu completes exceptionally with the given exceptionType, is composed using the results of the supplied function applied to the exception from this Cffu.
- catchingComposeAsync(C, Class<X>, Function<? super X, ? extends CompletionStage<T>>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Returns a new CompletionStage that, when given stage completes exceptionally with the given exceptionType, is composed using the results of the supplied function applied to the exception from the given stage(
argument cfThis
), using the default executor of parameter the given stage. - catchingComposeAsync(C, Class<X>, Function<? super X, ? extends CompletionStage<T>>, Executor) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Returns a new CompletionStage that, when given stage completes exceptionally with the given exceptionType, is composed using the results of the supplied function applied to the exception from the given stage(
argument cfThis
), using the supplied Executor. - catchingComposeAsync(Class<X>, Function<? super X, ? extends CompletionStage<T>>) - Method in class io.foldright.cffu.Cffu
-
Returns a new Cffu that, when this Cffu completes exceptionally with the given exceptionType, is composed using the results of the supplied function applied to the exception from this Cffu using
Cffu.defaultExecutor()
. - catchingComposeAsync(Class<X>, Function<? super X, ? extends CompletionStage<T>>, Executor) - Method in class io.foldright.cffu.Cffu
-
Returns a new Cffu that, when this Cffu completes exceptionally with the given exceptionType, is composed using the results of the supplied function applied to the exception from this Cffu, using the supplied Executor.
- Cffu<T> - Class in io.foldright.cffu
-
This class
Cffu
is the equivalent class toCompletableFuture
, contains the equivalent instance methods ofCompletionStage
andCompletableFuture
. - cffuCompleteOnTimeout(C, T, long, TimeUnit) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Returns a new CompletableFuture that is completed normally with the given value when the given CompletableFuture is not completed before the given timeout; otherwise the returned CompletableFuture completed with the same successful result or exception of the given CompletableFuture.
- cffuCompleteOnTimeout(C, T, long, TimeUnit, Executor) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Returns a new CompletableFuture that is completed normally with the given value when the given CompletableFuture is not completed before the given timeout; otherwise the returned CompletableFuture completed with the same successful result or exception of the given CompletableFuture.
- cffuFactory() - Method in class io.foldright.cffu.Cffu
-
Returns the
CffuFactory
of this Cffu. - CffuFactory - Class in io.foldright.cffu
-
This class
CffuFactory
is equivalent toCompletableFuture
, contains the static (factory) methods ofCompletableFuture
. - CffuFactoryBuilder - Class in io.foldright.cffu
- cffuListToArray(List<Cffu<T>>) - Static method in class io.foldright.cffu.CffuFactory
-
Convert Cffu list to Cffu array.
- cffuOrTimeout(C, long, TimeUnit) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Returns a new CompletableFuture that is completed exceptionally with a
TimeoutException
when the given CompletableFuture is not completed before the given timeout; otherwise the returned CompletableFuture completed with the same successful result or exception of the given CompletableFuture. - cffuOrTimeout(C, long, TimeUnit, Executor) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Returns a new CompletableFuture that is completed exceptionally with a
TimeoutException
when the given CompletableFuture is not completed before the given timeout; otherwise the returned CompletableFuture completed with the same successful result or exception of the given CompletableFuture. - cffuState() - Method in class io.foldright.cffu.Cffu
-
Returns the computation state (
CffuState
). - CffuState - Enum in io.foldright.cffu
-
This class is the same as
Future.State
, existed for java version compatibility. - cffuSwallowedExceptionHandler() - Static method in class io.foldright.cffu.eh.SwallowedExceptionHandleUtils
-
Returns an exception handler that logs swallowed exceptions from CompletionStages at warning level using the cffu logger.
- CffuTtlExecutorWrapperProvider - Class in io.foldright.cffu.ttl
-
Cffu executor wrapper provider(
ExecutorWrapperProvider
) SPI implementation for 📌 TransmittableThreadLocal (TTL). - CffuTtlExecutorWrapperProvider() - Constructor for class io.foldright.cffu.ttl.CffuTtlExecutorWrapperProvider
- cffuUnwrap() - Method in class io.foldright.cffu.Cffu
-
Returns the underlying CompletableFuture.
- completableFutureListToArray(List<CompletableFuture<T>>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Converts input
CompletableFuture
list to CompletableFuture array. - CompletableFutureUtils - Class in io.foldright.cffu
-
This class contains the new enhanced and backport methods for
CompletableFuture
. - complete(T) - Method in class io.foldright.cffu.Cffu
-
If not already completed, sets the value returned by
Cffu.get()
and related methods to the given value. - completeAsync(C, Supplier<? extends T>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Completes given CompletableFuture with the result of the given Supplier function invoked from an asynchronous task using the default executor of parameter cfThis.
- completeAsync(C, Supplier<? extends T>, Executor) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Completes given CompletableFuture with the result of the given Supplier function invoked from an asynchronous task using the given executor.
- completeAsync(Supplier<? extends T>) - Method in class io.foldright.cffu.Cffu
-
Completes this Cffu with the result of the given Supplier function invoked from an asynchronous task using
Cffu.defaultExecutor()
. - completeAsync(Supplier<? extends T>, Executor) - Method in class io.foldright.cffu.Cffu
-
Completes this Cffu with the result of the given Supplier function invoked from an asynchronous task using the given executor.
- completeCf0(CompletableFuture<? super T>, T, Throwable) - Static method in class io.foldright.cffu.LLCF
-
Completes the given CompletableFuture with the exception(if non-null), otherwise with the value.
- completedFuture(T) - Method in class io.foldright.cffu.CffuFactory
-
Returns a new Cffu that is already completed with the given value.
- completedStage(T) - Method in class io.foldright.cffu.CffuFactory
-
Returns a new CompletionStage that is already completed with the given value and supports only those methods in interface
CompletionStage
. - completedStage(T) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Returns a new CompletionStage that is already completed with the given value and supports only those methods in interface
CompletionStage
. - completeExceptionally(Throwable) - Method in class io.foldright.cffu.Cffu
-
If not already completed, causes invocations of
Cffu.get()
and related methods to throw the given exception. - completeExceptionallyAsync(C, Supplier<? extends Throwable>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
If not already completed, completes given CompletableFuture with the exception result of the given Supplier function invoked from an asynchronous task using the default executor of parameter cfThis.
- completeExceptionallyAsync(C, Supplier<? extends Throwable>, Executor) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
If not already completed, completes given CompletableFuture with the exception result of the given Supplier function invoked from an asynchronous task using the given executor.
- completeExceptionallyAsync(Supplier<? extends Throwable>) - Method in class io.foldright.cffu.Cffu
-
If not already completed, completes this Cffu with the exception result of the given Supplier function invoked from an asynchronous task using the default executor.
- completeExceptionallyAsync(Supplier<? extends Throwable>, Executor) - Method in class io.foldright.cffu.Cffu
-
If not already completed, completes this Cffu with the exception result of the given Supplier function invoked from an asynchronous task using the given executor.
- completeOnTimeout(C, T, long, TimeUnit) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Completes given CompletableFuture with the given value if not otherwise completed before the given timeout.
- completeOnTimeout(T, long, TimeUnit) - Method in class io.foldright.cffu.Cffu
-
Returns a new Cffu that is completed normally with the given value when this Cffu is not completed before the given timeout; otherwise the returned Cffu completed with the same successful result or exception of this Cffu.
- copy() - Method in class io.foldright.cffu.Cffu
-
Returns a new Cffu that is completed normally with the same value as this Cffu when it completes normally.
- copy(CompletableFuture<T>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Returns a new CompletableFuture that is completed normally with the same value as this CompletableFuture when it completes normally.
D
- defaultExecutor() - Method in class io.foldright.cffu.Cffu
-
Returns the default Executor used for async methods that do not specify an Executor.
- defaultExecutor() - Method in class io.foldright.cffu.CffuFactory
-
Returns the default Executor used for async methods that do not specify an Executor.
- defaultExecutor(CompletionStage<?>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Returns the default Executor of parameter cfThis used for async methods that do not specify an Executor.
- delayedExecutor(long, TimeUnit) - Method in class io.foldright.cffu.CffuFactory
-
Returns a new Executor that submits a task to the default executor after the given delay (or no delay if non-positive).
- delayedExecutor(long, TimeUnit) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Returns a new Executor that submits a task to the default executor after the given delay (or no delay if non-positive).
- delayedExecutor(long, TimeUnit, Executor) - Method in class io.foldright.cffu.CffuFactory
-
Returns a new Executor that submits a task to the given base executor after the given delay (or no delay if non-positive).
- delayedExecutor(long, TimeUnit, Executor) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Returns a new Executor that submits a task to the given base executor after the given delay (or no delay if non-positive).
E
- equals(Object) - Method in class io.foldright.cffu.tuple.Tuple2
- equals(Object) - Method in class io.foldright.cffu.tuple.Tuple3
- equals(Object) - Method in class io.foldright.cffu.tuple.Tuple4
- equals(Object) - Method in class io.foldright.cffu.tuple.Tuple5
- exception - Variable in class io.foldright.cffu.eh.ExceptionInfo
-
The exception.
- exceptionally(Function<Throwable, ? extends T>) - Method in class io.foldright.cffu.Cffu
-
Returns a new Cffu that, when this stage completes exceptionally, is executed with this stage's exception as the argument to the supplied function.
- exceptionallyAsync(C, Function<Throwable, ? extends T>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Returns a new CompletableFuture that, when given stage completes exceptionally, is executed with given stage's exception as the argument to the supplied function, using the default executor of parameter cfThis.
- exceptionallyAsync(C, Function<Throwable, ? extends T>, Executor) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Returns a new CompletableFuture that, when given stage completes exceptionally, is executed with given stage's exception as the argument to the supplied function, using the supplied Executor.
- exceptionallyAsync(Function<Throwable, ? extends T>) - Method in class io.foldright.cffu.Cffu
-
Returns a new Cffu that, when this stage completes exceptionally, is executed with this stage's exception as the argument to the supplied function, using
Cffu.defaultExecutor()
. - exceptionallyAsync(Function<Throwable, ? extends T>, Executor) - Method in class io.foldright.cffu.Cffu
-
Returns a new Cffu that, when this stage completes exceptionally, is executed with this stage's exception as the argument to the supplied function, using the supplied Executor.
- exceptionallyCompose(C, Function<Throwable, ? extends CompletionStage<T>>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Returns a new CompletableFuture that, when given CompletableFuture completes exceptionally, is composed using the results of the supplied function applied to given stage's exception.
- exceptionallyCompose(Function<Throwable, ? extends CompletionStage<T>>) - Method in class io.foldright.cffu.Cffu
-
Returns a new Cffu that, when this stage completes exceptionally, is composed using the results of the supplied function applied to this stage's exception.
- exceptionallyComposeAsync(C, Function<Throwable, ? extends CompletionStage<T>>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Returns a new CompletableFuture that, when given CompletableFuture completes exceptionally, is composed using the results of the supplied function applied to given stage's exception, using the default executor of parameter cfThis.
- exceptionallyComposeAsync(C, Function<Throwable, ? extends CompletionStage<T>>, Executor) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Returns a new CompletableFuture that, when given CompletableFuture completes exceptionally, is composed using the results of the supplied function applied to given stage's exception, using the supplied Executor.
- exceptionallyComposeAsync(Function<Throwable, ? extends CompletionStage<T>>) - Method in class io.foldright.cffu.Cffu
-
Returns a new Cffu that, when this stage completes exceptionally, is composed using the results of the supplied function applied to this stage's exception, using
Cffu.defaultExecutor()
. - exceptionallyComposeAsync(Function<Throwable, ? extends CompletionStage<T>>, Executor) - Method in class io.foldright.cffu.Cffu
-
Returns a new Cffu that, when this stage completes exceptionally, is composed using the results of the supplied function applied to this stage's exception, using the supplied Executor.
- ExceptionHandler - Interface in io.foldright.cffu.eh
-
Exception handler, used by the methods of
SwallowedExceptionHandleUtils
. - ExceptionInfo - Class in io.foldright.cffu.eh
-
Exception info of exceptions, used as argument of
ExceptionHandler
. - ExceptionInfo(String, int, Throwable, Object) - Constructor for class io.foldright.cffu.eh.ExceptionInfo
-
Constructs an
ExceptionInfo
with the specified location, index, exception, and attachment. - exceptionNow() - Method in class io.foldright.cffu.Cffu
-
Returns the exception thrown by the task, without waiting.
- exceptionNow(Future<?>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Returns the exception thrown by the task, without waiting.
- ExecutorWrapperProvider - Interface in io.foldright.cffu.spi
F
- f_cast(CompletableFuture<?>) - Static method in class io.foldright.cffu.LLCF
-
Force casts CompletableFuture with the value type, IGNORE the compile-time type check.
- f_toCf0(CompletionStage<? extends T>) - Static method in class io.foldright.cffu.LLCF
-
Force converts CompletionStage to CompletableFuture, reuse cf instances as many as possible.
- f_toCfArray0(CompletionStage<? extends T>[]) - Static method in class io.foldright.cffu.LLCF
-
Force converts CompletionStage array to CompletableFuture array, reuse cf instances as many as possible.
- f_toCfCopy0(CompletionStage<? extends T>) - Static method in class io.foldright.cffu.LLCF
-
Converts CompletionStage to a CompletableFuture copy.
- f_toCfCopyArray0(CompletionStage<? extends T>[]) - Static method in class io.foldright.cffu.LLCF
-
Converts CompletionStage array to a CompletableFuture copy array.
- FAILED - Enum constant in enum io.foldright.cffu.CffuState
-
The task completed with an exception.
- failedFuture(Throwable) - Method in class io.foldright.cffu.CffuFactory
-
Returns a new Cffu that is already completed exceptionally with the given exception.
- failedFuture(Throwable) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Returns a new CompletableFuture that is already completed exceptionally with the given exception.
- failedStage(Throwable) - Method in class io.foldright.cffu.CffuFactory
-
Returns a new CompletionStage that is already completed exceptionally with the given exception and supports only those methods in interface
CompletionStage
. - failedStage(Throwable) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Returns a new CompletionStage that is already completed exceptionally with the given exception and supports only those methods in interface
CompletionStage
. - forbidObtrudeMethods() - Method in class io.foldright.cffu.Cffu
-
Returns
forbidObtrudeMethods
or not. - forbidObtrudeMethods() - Method in class io.foldright.cffu.CffuFactory
-
Returns
forbidObtrudeMethods
or not. - forbidObtrudeMethods(boolean) - Method in class io.foldright.cffu.CffuFactoryBuilder
-
Sets
forbidObtrudeMethods
or not.
G
- get() - Method in class io.foldright.cffu.Cffu
-
Waits if necessary for the computation to complete, and then retrieves its result.
- get(long, TimeUnit) - Method in class io.foldright.cffu.Cffu
-
Waits if necessary for at most the given time for the computation to complete, and then retrieves its result, if available.
- getNow(T) - Method in class io.foldright.cffu.Cffu
-
Returns the result value (or throws any encountered exception) if completed, else returns the given valueIfAbsent.
- getNumberOfDependents() - Method in class io.foldright.cffu.Cffu
-
Returns the estimated number of CompletableFuture(including Cffu wrapper) whose completions are awaiting completion of this Cffu(aka its underlying CompletableFuture).
- getSuccessNow(CompletableFuture<? extends T>, T) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Returns the result value if the given stage is completed normally, else returns the given valueIfNotSuccess.
- getSuccessNow(T) - Method in class io.foldright.cffu.Cffu
-
Returns the result value if completed normally, else returns the given valueIfNotSuccess.
H
- handle(ExceptionInfo) - Method in interface io.foldright.cffu.eh.ExceptionHandler
-
Handles the exception.
- handle(BiFunction<? super T, Throwable, ? extends U>) - Method in class io.foldright.cffu.Cffu
-
Returns a new Cffu that, when this cffu completes either normally or exceptionally, is executed with this cffu's result and exception as arguments to the supplied function.
- handleAllSwallowedExceptions(String, ExceptionHandler, CompletionStage<?>...) - Static method in class io.foldright.cffu.eh.SwallowedExceptionHandleUtils
-
Handles all exceptions from multiple input
CompletionStage
s as swallowed exceptions, calling back the exceptionHandler with null attachment. - handleAllSwallowedExceptions(String, Object[], ExceptionHandler, CompletionStage<?>...) - Static method in class io.foldright.cffu.eh.SwallowedExceptionHandleUtils
-
Handles all exceptions from multiple input
CompletionStage
s as swallowed exceptions. - handleAllSwallowedExceptions(String, CompletionStage<?>...) - Static method in class io.foldright.cffu.eh.SwallowedExceptionHandleUtils
-
Handles all exceptions from multiple input
CompletionStage
s as swallowed exceptions, usingSwallowedExceptionHandleUtils.cffuSwallowedExceptionHandler()
and calling back it with null attachment. - handleAsync(BiFunction<? super T, Throwable, ? extends U>) - Method in class io.foldright.cffu.Cffu
-
Returns a new Cffu that, when this cffu completes either normally or exceptionally, is executed using
Cffu.defaultExecutor()
, with this cffu's result and exception as arguments to the supplied function. - handleAsync(BiFunction<? super T, Throwable, ? extends U>, Executor) - Method in class io.foldright.cffu.Cffu
-
Returns a new Cffu that, when this cffu completes either normally or exceptionally, is executed using the supplied executor, with this cffu's result and exception as arguments to the supplied function.
- handleSwallowedExceptions(String, ExceptionHandler, CompletableFuture<?>, CompletionStage<?>...) - Static method in class io.foldright.cffu.eh.SwallowedExceptionHandleUtils
-
Handles swallowed exceptions from multiple input
CompletionStage
s that are discarded (not propagated) by the outputCompletionStage
, calling back the exceptionHandler with null attachment. - handleSwallowedExceptions(String, Object[], ExceptionHandler, CompletableFuture<?>, CompletionStage<?>...) - Static method in class io.foldright.cffu.eh.SwallowedExceptionHandleUtils
-
Handles swallowed exceptions from multiple input
CompletionStage
s that are discarded (not propagated) by the outputCompletionStage
. - handleSwallowedExceptions(String, CompletableFuture<?>, CompletionStage<?>...) - Static method in class io.foldright.cffu.eh.SwallowedExceptionHandleUtils
-
Handles swallowed exceptions from multiple input
CompletionStage
s that are discarded (not propagated) by the outputCompletionStage
, usingSwallowedExceptionHandleUtils.cffuSwallowedExceptionHandler()
and calling back it with null attachment. - hashCode() - Method in class io.foldright.cffu.tuple.Tuple2
- hashCode() - Method in class io.foldright.cffu.tuple.Tuple3
- hashCode() - Method in class io.foldright.cffu.tuple.Tuple4
- hashCode() - Method in class io.foldright.cffu.tuple.Tuple5
I
- index - Variable in class io.foldright.cffu.eh.ExceptionInfo
-
The 0-based index of the input
CompletionStage
that throws the exception. - io.foldright.cffu - package io.foldright.cffu
-
A tiny sidekick library to make CompletableFuture usage more convenient, more efficient and safer in your application.
- io.foldright.cffu.eh - package io.foldright.cffu.eh
- io.foldright.cffu.lf - package io.foldright.cffu.lf
-
Guava ListenableFuture Integration with CF.
- io.foldright.cffu.spi - package io.foldright.cffu.spi
-
Cffu
SPI
interfaces. - io.foldright.cffu.ttl - package io.foldright.cffu.ttl
-
Cffu executor wrapper provider(
ExecutorWrapperProvider
) SPI implementation for 📌 TransmittableThreadLocal (TTL). - io.foldright.cffu.tuple - package io.foldright.cffu.tuple
-
the
Tuple
utility classes forCffu
use. - isCancelled() - Method in class io.foldright.cffu.Cffu
-
Returns
true
if this Cffu was cancelled before it completed normally. - isCompletedExceptionally() - Method in class io.foldright.cffu.Cffu
-
Returns
true
if this Cffu completed exceptionally, in any way. - isDone() - Method in class io.foldright.cffu.Cffu
-
Returns
true
if this task completed. - isMinimalStage() - Method in class io.foldright.cffu.Cffu
-
Returns whether is a
minimal stage
or not. - isMinStageCf(CompletableFuture<?>) - Static method in class io.foldright.cffu.LLCF
-
Checks if the given
CompletableFuture
instance is a minimal-stage.
J
- join() - Method in class io.foldright.cffu.Cffu
-
Returns the result value when complete, or throws an (unchecked) exception if completed exceptionally.
- join(long, TimeUnit) - Method in class io.foldright.cffu.Cffu
-
Waits if necessary for at most the given time for the computation to complete, and then retrieves its result value when complete, or throws an (unchecked) exception if completed exceptionally.
- join(CompletableFuture<? extends T>, long, TimeUnit) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Waits if necessary for at most the given time for the computation to complete, and then retrieves its result value when complete, or throws an (unchecked) exception if completed exceptionally.
L
- ListenableFutureUtils - Class in io.foldright.cffu.lf
-
Integration with guava
ListenableFuture
. - LLCF - Class in io.foldright.cffu
-
Low Level CompletableFuture utility methods for manipulating CompletableFuture.
M
- minimalCompletionStage() - Method in class io.foldright.cffu.Cffu
-
Returns a new CompletionStage that is completed normally with the same value as this Cffu when it completes normally, and cannot be independently completed or otherwise used in ways not defined by the methods of interface
CompletionStage
. - minimalCompletionStage(CompletableFuture<T>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Returns a new CompletionStage that is completed normally with the same value as given CompletableFuture when it completes normally, and cannot be independently completed or otherwise used in ways not defined by the methods of interface
CompletionStage
. - mostSuccessResultsOf(Executor, T, long, TimeUnit, CompletionStage<? extends T>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Returns a new CompletableFuture that is completed normally with a list containing the successful results of the given stages before the given timeout (aka as many results as possible in the given time); The list of results is in the same order as the input list, and if any of given stages complete exceptionally or are incomplete, their corresponding positions will contain
valueIfNotSuccess
(which is indistinguishable from the stage having a successful value ofvalueIfNotSuccess
). - mostSuccessResultsOf(T, long, TimeUnit, CompletionStage<? extends T>...) - Method in class io.foldright.cffu.CffuFactory
-
Returns a new Cffu that is completed normally with a list containing the successful results of the given stages before the given timeout (aka as many results as possible in the given time); The list of results is in the same order as the input list, and if any of given stages complete exceptionally or are incomplete, their corresponding positions will contain
valueIfNotSuccess
(which is indistinguishable from the stage having a successful value ofvalueIfNotSuccess
). - mostSuccessResultsOf(T, long, TimeUnit, CompletionStage<? extends T>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Returns a new CompletableFuture that is completed normally with a list containing the successful results of the given stages before the given timeout (aka as many results as possible in the given time); The list of results is in the same order as the input list, and if any of given stages complete exceptionally or are incomplete, their corresponding positions will contain
valueIfNotSuccess
(which is indistinguishable from the stage having a successful value ofvalueIfNotSuccess
). - mostSuccessTupleOf(long, TimeUnit, CompletionStage<? extends T1>, CompletionStage<? extends T2>) - Method in class io.foldright.cffu.CffuFactory
-
Tuple variant of
CffuFactory.mostSuccessResultsOf(Object, long, TimeUnit, CompletionStage[])
withnull
valueIfNotSuccess. - mostSuccessTupleOf(long, TimeUnit, CompletionStage<? extends T1>, CompletionStage<? extends T2>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Tuple variant of
CompletableFutureUtils.mostSuccessResultsOf(Object, long, TimeUnit, CompletionStage[])
withnull
valueIfNotSuccess. - mostSuccessTupleOf(long, TimeUnit, CompletionStage<? extends T1>, CompletionStage<? extends T2>, CompletionStage<? extends T3>) - Method in class io.foldright.cffu.CffuFactory
-
Tuple variant of
CffuFactory.mostSuccessResultsOf(Object, long, TimeUnit, CompletionStage[])
withnull
valueIfNotSuccess. - mostSuccessTupleOf(long, TimeUnit, CompletionStage<? extends T1>, CompletionStage<? extends T2>, CompletionStage<? extends T3>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Tuple variant of
CompletableFutureUtils.mostSuccessResultsOf(Object, long, TimeUnit, CompletionStage[])
withnull
valueIfNotSuccess. - mostSuccessTupleOf(long, TimeUnit, CompletionStage<? extends T1>, CompletionStage<? extends T2>, CompletionStage<? extends T3>, CompletionStage<? extends T4>) - Method in class io.foldright.cffu.CffuFactory
-
Tuple variant of
CffuFactory.mostSuccessResultsOf(Object, long, TimeUnit, CompletionStage[])
withnull
valueIfNotSuccess. - mostSuccessTupleOf(long, TimeUnit, CompletionStage<? extends T1>, CompletionStage<? extends T2>, CompletionStage<? extends T3>, CompletionStage<? extends T4>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Tuple variant of
CompletableFutureUtils.mostSuccessResultsOf(Object, long, TimeUnit, CompletionStage[])
withnull
valueIfNotSuccess. - mostSuccessTupleOf(long, TimeUnit, CompletionStage<? extends T1>, CompletionStage<? extends T2>, CompletionStage<? extends T3>, CompletionStage<? extends T4>, CompletionStage<? extends T5>) - Method in class io.foldright.cffu.CffuFactory
-
Tuple variant of
CffuFactory.mostSuccessResultsOf(Object, long, TimeUnit, CompletionStage[])
withnull
valueIfNotSuccess. - mostSuccessTupleOf(long, TimeUnit, CompletionStage<? extends T1>, CompletionStage<? extends T2>, CompletionStage<? extends T3>, CompletionStage<? extends T4>, CompletionStage<? extends T5>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Tuple variant of
CompletableFutureUtils.mostSuccessResultsOf(Object, long, TimeUnit, CompletionStage[])
withnull
valueIfNotSuccess. - mostSuccessTupleOf(Executor, long, TimeUnit, CompletionStage<? extends T1>, CompletionStage<? extends T2>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Tuple variant of
CompletableFutureUtils.mostSuccessResultsOf(Executor, Object, long, TimeUnit, CompletionStage[])
withnull
valueIfNotSuccess. - mostSuccessTupleOf(Executor, long, TimeUnit, CompletionStage<? extends T1>, CompletionStage<? extends T2>, CompletionStage<? extends T3>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Tuple variant of
CompletableFutureUtils.mostSuccessResultsOf(Executor, Object, long, TimeUnit, CompletionStage[])
withnull
valueIfNotSuccess. - mostSuccessTupleOf(Executor, long, TimeUnit, CompletionStage<? extends T1>, CompletionStage<? extends T2>, CompletionStage<? extends T3>, CompletionStage<? extends T4>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Tuple variant of
CompletableFutureUtils.mostSuccessResultsOf(Executor, Object, long, TimeUnit, CompletionStage[])
withnull
valueIfNotSuccess. - mostSuccessTupleOf(Executor, long, TimeUnit, CompletionStage<? extends T1>, CompletionStage<? extends T2>, CompletionStage<? extends T3>, CompletionStage<? extends T4>, CompletionStage<? extends T5>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Tuple variant of
CompletableFutureUtils.mostSuccessResultsOf(Executor, Object, long, TimeUnit, CompletionStage[])
withnull
valueIfNotSuccess. - mRunAnyAsync(Runnable...) - Method in class io.foldright.cffu.CffuFactory
-
Shortcut to method
anyOf
, wraps input actions to Cffu byCffuFactory.runAsync(Runnable)
. - mRunAnyAsync(Runnable...) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Shortcut to method
anyOf
, wraps input actions to CompletableFuture byCompletableFuture.runAsync(Runnable)
. - mRunAnyAsync(Executor, Runnable...) - Method in class io.foldright.cffu.CffuFactory
-
Shortcut to method
anyOf
, wraps input actions to Cffu byCffuFactory.runAsync(Runnable, Executor)
. - mRunAnyAsync(Executor, Runnable...) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Shortcut to method
anyOf
, wraps input actions to CompletableFuture byCompletableFuture.runAsync(Runnable, Executor)
. - mRunAnySuccessAsync(Runnable...) - Method in class io.foldright.cffu.CffuFactory
-
Shortcut to method
anySuccessOf
, wraps input actions to Cffu byCffuFactory.runAsync(Runnable)
. - mRunAnySuccessAsync(Runnable...) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Shortcut to method
anySuccessOf
, wraps input actions to CompletableFuture byCompletableFuture.runAsync(Runnable)
. - mRunAnySuccessAsync(Executor, Runnable...) - Method in class io.foldright.cffu.CffuFactory
-
Shortcut to method
anySuccessOf
, wraps input actions to Cffu byCffuFactory.runAsync(Runnable, Executor)
. - mRunAnySuccessAsync(Executor, Runnable...) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Shortcut to method
anySuccessOf
, wraps input actions to CompletableFuture byCompletableFuture.runAsync(Runnable, Executor)
. - mRunAsync(Runnable...) - Method in class io.foldright.cffu.CffuFactory
-
Shortcut to method
allOf
, wraps input actions to Cffu byCffuFactory.runAsync(Runnable)
. - mRunAsync(Runnable...) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Shortcut to method
allOf
, wraps input actions to CompletableFuture byCompletableFuture.runAsync(Runnable)
. - mRunAsync(Executor, Runnable...) - Method in class io.foldright.cffu.CffuFactory
-
Shortcut to method
allOf
, wraps input actions to Cffu byCffuFactory.runAsync(Runnable, Executor)
. - mRunAsync(Executor, Runnable...) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Shortcut to method
allOf
, wraps input actions to CompletableFuture byCompletableFuture.runAsync(Runnable, Executor)
. - mRunFailFastAsync(Runnable...) - Method in class io.foldright.cffu.CffuFactory
-
Shortcut to method
allFailFastOf
, wraps input actions to Cffu byCffuFactory.runAsync(Runnable)
. - mRunFailFastAsync(Runnable...) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Shortcut to method
allFailFastOf
, wraps input actions to CompletableFuture byCompletableFuture.runAsync(Runnable)
. - mRunFailFastAsync(Executor, Runnable...) - Method in class io.foldright.cffu.CffuFactory
-
Shortcut to method
allFailFastOf
, wraps input actions to Cffu byCffuFactory.runAsync(Runnable, Executor)
. - mRunFailFastAsync(Executor, Runnable...) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Shortcut to method
allFailFastOf
, wraps input actions to CompletableFuture byCompletableFuture.runAsync(Runnable, Executor)
. - mSupplyAllSuccessAsync(Executor, T, Supplier<? extends T>...) - Method in class io.foldright.cffu.CffuFactory
-
Shortcut to method
allSuccessResultsOf
, wraps input suppliers to Cffu byCffuFactory.supplyAsync(Supplier, Executor)
. - mSupplyAllSuccessAsync(Executor, T, Supplier<? extends T>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Shortcut to method
allSuccessResultsOf
, wraps input suppliers to CompletableFuture byCompletableFuture.supplyAsync(Supplier, Executor)
. - mSupplyAllSuccessAsync(T, Supplier<? extends T>...) - Method in class io.foldright.cffu.CffuFactory
-
Shortcut to method
allSuccessResultsOf
, wraps input suppliers to Cffu byCffuFactory.supplyAsync(Supplier)
. - mSupplyAllSuccessAsync(T, Supplier<? extends T>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Shortcut to method
allSuccessResultsOf
, wraps input suppliers to CompletableFuture byCompletableFuture.supplyAsync(Supplier)
. - mSupplyAllSuccessTupleAsync(Executor, Supplier<? extends T1>, Supplier<? extends T2>) - Method in class io.foldright.cffu.CffuFactory
-
Tuple variant of
CffuFactory.mSupplyAllSuccessAsync(Executor, Object, Supplier[])
withnull
valueIfFailed. - mSupplyAllSuccessTupleAsync(Executor, Supplier<? extends T1>, Supplier<? extends T2>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Tuple variant of
CompletableFutureUtils.mSupplyAllSuccessAsync(Executor, Object, Supplier[])
withnull
valueIfFailed. - mSupplyAllSuccessTupleAsync(Executor, Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>) - Method in class io.foldright.cffu.CffuFactory
-
Tuple variant of
CffuFactory.mSupplyAllSuccessAsync(Executor, Object, Supplier[])
withnull
valueIfFailed. - mSupplyAllSuccessTupleAsync(Executor, Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Tuple variant of
CompletableFutureUtils.mSupplyAllSuccessAsync(Executor, Object, Supplier[])
withnull
valueIfFailed. - mSupplyAllSuccessTupleAsync(Executor, Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>, Supplier<? extends T4>) - Method in class io.foldright.cffu.CffuFactory
-
Tuple variant of
CffuFactory.mSupplyAllSuccessAsync(Executor, Object, Supplier[])
withnull
valueIfFailed. - mSupplyAllSuccessTupleAsync(Executor, Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>, Supplier<? extends T4>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Tuple variant of
CompletableFutureUtils.mSupplyAllSuccessAsync(Executor, Object, Supplier[])
withnull
valueIfFailed. - mSupplyAllSuccessTupleAsync(Executor, Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>, Supplier<? extends T4>, Supplier<? extends T5>) - Method in class io.foldright.cffu.CffuFactory
-
Tuple variant of
CffuFactory.mSupplyAllSuccessAsync(Executor, Object, Supplier[])
withnull
valueIfFailed. - mSupplyAllSuccessTupleAsync(Executor, Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>, Supplier<? extends T4>, Supplier<? extends T5>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Tuple variant of
CompletableFutureUtils.mSupplyAllSuccessAsync(Executor, Object, Supplier[])
withnull
valueIfFailed. - mSupplyAllSuccessTupleAsync(Supplier<? extends T1>, Supplier<? extends T2>) - Method in class io.foldright.cffu.CffuFactory
-
Tuple variant of
CffuFactory.mSupplyAllSuccessAsync(Object, Supplier[])
withnull
valueIfFailed. - mSupplyAllSuccessTupleAsync(Supplier<? extends T1>, Supplier<? extends T2>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Tuple variant of
CompletableFutureUtils.mSupplyAllSuccessAsync(Object, Supplier[])
withnull
valueIfFailed. - mSupplyAllSuccessTupleAsync(Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>) - Method in class io.foldright.cffu.CffuFactory
-
Tuple variant of
CffuFactory.mSupplyAllSuccessAsync(Object, Supplier[])
withnull
valueIfFailed. - mSupplyAllSuccessTupleAsync(Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Tuple variant of
CompletableFutureUtils.mSupplyAllSuccessAsync(Object, Supplier[])
withnull
valueIfFailed. - mSupplyAllSuccessTupleAsync(Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>, Supplier<? extends T4>) - Method in class io.foldright.cffu.CffuFactory
-
Tuple variant of
CffuFactory.mSupplyAllSuccessAsync(Object, Supplier[])
withnull
valueIfFailed. - mSupplyAllSuccessTupleAsync(Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>, Supplier<? extends T4>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Tuple variant of
CompletableFutureUtils.mSupplyAllSuccessAsync(Object, Supplier[])
withnull
valueIfFailed. - mSupplyAllSuccessTupleAsync(Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>, Supplier<? extends T4>, Supplier<? extends T5>) - Method in class io.foldright.cffu.CffuFactory
-
Tuple variant of
CffuFactory.mSupplyAllSuccessAsync(Object, Supplier[])
withnull
valueIfFailed. - mSupplyAllSuccessTupleAsync(Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>, Supplier<? extends T4>, Supplier<? extends T5>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Tuple variant of
CompletableFutureUtils.mSupplyAllSuccessAsync(Object, Supplier[])
withnull
valueIfFailed. - mSupplyAnyAsync(Executor, Supplier<? extends T>...) - Method in class io.foldright.cffu.CffuFactory
-
Shortcut to method
anySuccessOf
, wraps input suppliers to Cffu byCffuFactory.supplyAsync(Supplier, Executor)
. - mSupplyAnyAsync(Executor, Supplier<? extends T>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Shortcut to method
anyOf
, wraps input suppliers to CompletableFuture byCompletableFuture.supplyAsync(Supplier, Executor)
. - mSupplyAnyAsync(Supplier<? extends T>...) - Method in class io.foldright.cffu.CffuFactory
-
Shortcut to method
anyOf
, wraps input suppliers to Cffu byCffuFactory.supplyAsync(Supplier)
. - mSupplyAnyAsync(Supplier<? extends T>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Shortcut to method
anyOf
, wraps input suppliers to CompletableFuture byCompletableFuture.supplyAsync(Supplier)
. - mSupplyAnySuccessAsync(Executor, Supplier<? extends T>...) - Method in class io.foldright.cffu.CffuFactory
-
Shortcut to method
anySuccessOf
, wraps input suppliers to Cffu byCffuFactory.supplyAsync(Supplier, Executor)
. - mSupplyAnySuccessAsync(Executor, Supplier<? extends T>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Shortcut to method
anySuccessOf
, wraps input suppliers to CompletableFuture byCompletableFuture.supplyAsync(Supplier, Executor)
. - mSupplyAnySuccessAsync(Supplier<? extends T>...) - Method in class io.foldright.cffu.CffuFactory
-
Shortcut to method
anySuccessOf
, wraps input suppliers to Cffu byCffuFactory.supplyAsync(Supplier)
. - mSupplyAnySuccessAsync(Supplier<? extends T>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Shortcut to method
anySuccessOf
, wraps input suppliers to CompletableFuture byCompletableFuture.supplyAsync(Supplier)
. - mSupplyAsync(Executor, Supplier<? extends T>...) - Method in class io.foldright.cffu.CffuFactory
-
Shortcut to method
allResultsOf
, wraps input suppliers to Cffu byCffuFactory.supplyAsync(Supplier, Executor)
. - mSupplyAsync(Executor, Supplier<? extends T>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Shortcut to method
allResultsOf
, wraps input suppliers to CompletableFuture byCompletableFuture.supplyAsync(Supplier, Executor)
. - mSupplyAsync(Supplier<? extends T>...) - Method in class io.foldright.cffu.CffuFactory
-
Shortcut to method
allResultsOf
, wraps input suppliers to Cffu byCffuFactory.supplyAsync(Supplier)
. - mSupplyAsync(Supplier<? extends T>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Shortcut to method
allResultsOf
, wraps input suppliers to CompletableFuture byCompletableFuture.supplyAsync(Supplier)
. - mSupplyFailFastAsync(Executor, Supplier<? extends T>...) - Method in class io.foldright.cffu.CffuFactory
-
Shortcut to method
allResultsFailFastOf
, wraps input suppliers to Cffu byCffuFactory.supplyAsync(Supplier, Executor)
. - mSupplyFailFastAsync(Executor, Supplier<? extends T>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Shortcut to method
allResultsFailFastOf
, wraps input suppliers to CompletableFuture byCompletableFuture.supplyAsync(Supplier, Executor)
. - mSupplyFailFastAsync(Supplier<? extends T>...) - Method in class io.foldright.cffu.CffuFactory
-
Shortcut to method
allResultsFailFastOf
, wraps input suppliers to Cffu byCffuFactory.supplyAsync(Supplier)
. - mSupplyFailFastAsync(Supplier<? extends T>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Shortcut to method
allResultsFailFastOf
, wraps input suppliers to CompletableFuture byCompletableFuture.supplyAsync(Supplier)
. - mSupplyMostSuccessAsync(Executor, T, long, TimeUnit, Supplier<? extends T>...) - Method in class io.foldright.cffu.CffuFactory
-
Shortcut to method
mostSuccessResultsOf
, wraps input suppliers to Cffu byCffuFactory.supplyAsync(Supplier)
. - mSupplyMostSuccessAsync(Executor, T, long, TimeUnit, Supplier<? extends T>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Shortcut to method
mostSuccessResultsOf
, wraps input suppliers to CompletableFuture byCompletableFuture.supplyAsync(Supplier, Executor)
. - mSupplyMostSuccessAsync(T, long, TimeUnit, Supplier<? extends T>...) - Method in class io.foldright.cffu.CffuFactory
-
Shortcut to method
mostSuccessResultsOf
, wraps input suppliers to Cffu byCffuFactory.supplyAsync(Supplier)
. - mSupplyMostSuccessAsync(T, long, TimeUnit, Supplier<? extends T>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Shortcut to method
mostSuccessResultsOf
, wraps input suppliers to CompletableFuture byCompletableFuture.supplyAsync(Supplier)
. - mSupplyMostSuccessTupleAsync(long, TimeUnit, Supplier<? extends T1>, Supplier<? extends T2>) - Method in class io.foldright.cffu.CffuFactory
-
Tuple variant of
CffuFactory.mSupplyMostSuccessAsync(Object, long, TimeUnit, Supplier[])
withnull
valueIfNotSuccess. - mSupplyMostSuccessTupleAsync(long, TimeUnit, Supplier<? extends T1>, Supplier<? extends T2>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Tuple variant of
CompletableFutureUtils.mSupplyMostSuccessAsync(Object, long, TimeUnit, Supplier[])
withnull
valueIfNotSuccess. - mSupplyMostSuccessTupleAsync(long, TimeUnit, Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>) - Method in class io.foldright.cffu.CffuFactory
-
Tuple variant of
CffuFactory.mSupplyMostSuccessAsync(Object, long, TimeUnit, Supplier[])
withnull
valueIfNotSuccess. - mSupplyMostSuccessTupleAsync(long, TimeUnit, Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Tuple variant of
CompletableFutureUtils.mSupplyMostSuccessAsync(Object, long, TimeUnit, Supplier[])
withnull
valueIfNotSuccess. - mSupplyMostSuccessTupleAsync(long, TimeUnit, Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>, Supplier<? extends T4>) - Method in class io.foldright.cffu.CffuFactory
-
Tuple variant of
CffuFactory.mSupplyMostSuccessAsync(Object, long, TimeUnit, Supplier[])
withnull
valueIfNotSuccess. - mSupplyMostSuccessTupleAsync(long, TimeUnit, Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>, Supplier<? extends T4>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Tuple variant of
CompletableFutureUtils.mSupplyMostSuccessAsync(Object, long, TimeUnit, Supplier[])
withnull
valueIfNotSuccess. - mSupplyMostSuccessTupleAsync(long, TimeUnit, Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>, Supplier<? extends T4>, Supplier<? extends T5>) - Method in class io.foldright.cffu.CffuFactory
-
Tuple variant of
CffuFactory.mSupplyMostSuccessAsync(Object, long, TimeUnit, Supplier[])
withnull
valueIfNotSuccess. - mSupplyMostSuccessTupleAsync(long, TimeUnit, Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>, Supplier<? extends T4>, Supplier<? extends T5>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Tuple variant of
CompletableFutureUtils.mSupplyMostSuccessAsync(Object, long, TimeUnit, Supplier[])
withnull
valueIfNotSuccess. - mSupplyMostSuccessTupleAsync(Executor, long, TimeUnit, Supplier<? extends T1>, Supplier<? extends T2>) - Method in class io.foldright.cffu.CffuFactory
-
Tuple variant of
CffuFactory.mSupplyMostSuccessAsync(Executor, Object, long, TimeUnit, Supplier[])
withnull
valueIfNotSuccess. - mSupplyMostSuccessTupleAsync(Executor, long, TimeUnit, Supplier<? extends T1>, Supplier<? extends T2>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Tuple variant of
CompletableFutureUtils.mSupplyMostSuccessAsync(Executor, Object, long, TimeUnit, Supplier[])
withnull
valueIfNotSuccess. - mSupplyMostSuccessTupleAsync(Executor, long, TimeUnit, Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>) - Method in class io.foldright.cffu.CffuFactory
-
Tuple variant of
CffuFactory.mSupplyMostSuccessAsync(Executor, Object, long, TimeUnit, Supplier[])
withnull
valueIfNotSuccess. - mSupplyMostSuccessTupleAsync(Executor, long, TimeUnit, Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Tuple variant of
CompletableFutureUtils.mSupplyMostSuccessAsync(Executor, Object, long, TimeUnit, Supplier[])
withnull
valueIfNotSuccess. - mSupplyMostSuccessTupleAsync(Executor, long, TimeUnit, Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>, Supplier<? extends T4>) - Method in class io.foldright.cffu.CffuFactory
-
Tuple variant of
CffuFactory.mSupplyMostSuccessAsync(Executor, Object, long, TimeUnit, Supplier[])
withnull
valueIfNotSuccess. - mSupplyMostSuccessTupleAsync(Executor, long, TimeUnit, Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>, Supplier<? extends T4>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Tuple variant of
CompletableFutureUtils.mSupplyMostSuccessAsync(Executor, Object, long, TimeUnit, Supplier[])
withnull
valueIfNotSuccess. - mSupplyMostSuccessTupleAsync(Executor, long, TimeUnit, Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>, Supplier<? extends T4>, Supplier<? extends T5>) - Method in class io.foldright.cffu.CffuFactory
-
Tuple variant of
CffuFactory.mSupplyMostSuccessAsync(Executor, Object, long, TimeUnit, Supplier[])
withnull
valueIfNotSuccess. - mSupplyMostSuccessTupleAsync(Executor, long, TimeUnit, Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>, Supplier<? extends T4>, Supplier<? extends T5>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Tuple variant of
CompletableFutureUtils.mSupplyMostSuccessAsync(Executor, Object, long, TimeUnit, Supplier[])
withnull
valueIfNotSuccess. - mSupplyTupleAsync(Executor, Supplier<? extends T1>, Supplier<? extends T2>) - Method in class io.foldright.cffu.CffuFactory
-
Tuple variant of
CffuFactory.mSupplyFailFastAsync(Executor, Supplier[])
. - mSupplyTupleAsync(Executor, Supplier<? extends T1>, Supplier<? extends T2>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Tuple variant of
CompletableFutureUtils.mSupplyFailFastAsync(Executor, Supplier[])
. - mSupplyTupleAsync(Executor, Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>) - Method in class io.foldright.cffu.CffuFactory
-
Tuple variant of
CffuFactory.mSupplyFailFastAsync(Executor, Supplier[])
. - mSupplyTupleAsync(Executor, Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Tuple variant of
CompletableFutureUtils.mSupplyFailFastAsync(Executor, Supplier[])
. - mSupplyTupleAsync(Executor, Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>, Supplier<? extends T4>) - Method in class io.foldright.cffu.CffuFactory
-
Tuple variant of
CffuFactory.mSupplyFailFastAsync(Executor, Supplier[])
. - mSupplyTupleAsync(Executor, Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>, Supplier<? extends T4>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Tuple variant of
CompletableFutureUtils.mSupplyFailFastAsync(Executor, Supplier[])
. - mSupplyTupleAsync(Executor, Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>, Supplier<? extends T4>, Supplier<? extends T5>) - Method in class io.foldright.cffu.CffuFactory
-
Tuple variant of
CffuFactory.mSupplyFailFastAsync(Executor, Supplier[])
. - mSupplyTupleAsync(Executor, Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>, Supplier<? extends T4>, Supplier<? extends T5>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Tuple variant of
CompletableFutureUtils.mSupplyFailFastAsync(Executor, Supplier[])
. - mSupplyTupleAsync(Supplier<? extends T1>, Supplier<? extends T2>) - Method in class io.foldright.cffu.CffuFactory
-
Tuple variant of
CffuFactory.mSupplyAsync(Supplier[])
. - mSupplyTupleAsync(Supplier<? extends T1>, Supplier<? extends T2>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Tuple variant of
CompletableFutureUtils.mSupplyAsync(Supplier[])
. - mSupplyTupleAsync(Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>) - Method in class io.foldright.cffu.CffuFactory
-
Tuple variant of
CffuFactory.mSupplyAsync(Supplier[])
. - mSupplyTupleAsync(Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Tuple variant of
CompletableFutureUtils.mSupplyAsync(Supplier[])
. - mSupplyTupleAsync(Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>, Supplier<? extends T4>) - Method in class io.foldright.cffu.CffuFactory
-
Tuple variant of
CffuFactory.mSupplyAsync(Supplier[])
. - mSupplyTupleAsync(Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>, Supplier<? extends T4>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Tuple variant of
CompletableFutureUtils.mSupplyAsync(Supplier[])
. - mSupplyTupleAsync(Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>, Supplier<? extends T4>, Supplier<? extends T5>) - Method in class io.foldright.cffu.CffuFactory
-
Tuple variant of
CffuFactory.mSupplyAsync(Supplier[])
. - mSupplyTupleAsync(Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>, Supplier<? extends T4>, Supplier<? extends T5>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Tuple variant of
CompletableFutureUtils.mSupplyAsync(Supplier[])
. - mSupplyTupleFailFastAsync(Executor, Supplier<? extends T1>, Supplier<? extends T2>) - Method in class io.foldright.cffu.CffuFactory
-
Tuple variant of
CffuFactory.mSupplyFailFastAsync(Executor, Supplier[])
. - mSupplyTupleFailFastAsync(Executor, Supplier<? extends T1>, Supplier<? extends T2>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Tuple variant of
CompletableFutureUtils.mSupplyFailFastAsync(Executor, Supplier[])
. - mSupplyTupleFailFastAsync(Executor, Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>) - Method in class io.foldright.cffu.CffuFactory
-
Tuple variant of
CffuFactory.mSupplyFailFastAsync(Executor, Supplier[])
. - mSupplyTupleFailFastAsync(Executor, Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Tuple variant of
CompletableFutureUtils.mSupplyFailFastAsync(Executor, Supplier[])
. - mSupplyTupleFailFastAsync(Executor, Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>, Supplier<? extends T4>) - Method in class io.foldright.cffu.CffuFactory
-
Tuple variant of
CffuFactory.mSupplyFailFastAsync(Executor, Supplier[])
. - mSupplyTupleFailFastAsync(Executor, Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>, Supplier<? extends T4>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Tuple variant of
CompletableFutureUtils.mSupplyFailFastAsync(Executor, Supplier[])
. - mSupplyTupleFailFastAsync(Executor, Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>, Supplier<? extends T4>, Supplier<? extends T5>) - Method in class io.foldright.cffu.CffuFactory
-
Tuple variant of
CffuFactory.mSupplyFailFastAsync(Executor, Supplier[])
. - mSupplyTupleFailFastAsync(Executor, Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>, Supplier<? extends T4>, Supplier<? extends T5>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Tuple variant of
CompletableFutureUtils.mSupplyFailFastAsync(Executor, Supplier[])
. - mSupplyTupleFailFastAsync(Supplier<? extends T1>, Supplier<? extends T2>) - Method in class io.foldright.cffu.CffuFactory
-
Tuple variant of
CffuFactory.mSupplyFailFastAsync(Supplier[])
. - mSupplyTupleFailFastAsync(Supplier<? extends T1>, Supplier<? extends T2>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Tuple variant of
CompletableFutureUtils.mSupplyFailFastAsync(Supplier[])
. - mSupplyTupleFailFastAsync(Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>) - Method in class io.foldright.cffu.CffuFactory
-
Tuple variant of
CffuFactory.mSupplyFailFastAsync(Supplier[])
. - mSupplyTupleFailFastAsync(Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Tuple variant of
CompletableFutureUtils.mSupplyFailFastAsync(Supplier[])
. - mSupplyTupleFailFastAsync(Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>, Supplier<? extends T4>) - Method in class io.foldright.cffu.CffuFactory
-
Tuple variant of
CffuFactory.mSupplyFailFastAsync(Supplier[])
. - mSupplyTupleFailFastAsync(Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>, Supplier<? extends T4>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Tuple variant of
CompletableFutureUtils.mSupplyFailFastAsync(Supplier[])
. - mSupplyTupleFailFastAsync(Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>, Supplier<? extends T4>, Supplier<? extends T5>) - Method in class io.foldright.cffu.CffuFactory
-
Tuple variant of
CffuFactory.mSupplyFailFastAsync(Supplier[])
. - mSupplyTupleFailFastAsync(Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>, Supplier<? extends T4>, Supplier<? extends T5>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Tuple variant of
CompletableFutureUtils.mSupplyFailFastAsync(Supplier[])
.
N
- newIncompleteCffu() - Method in class io.foldright.cffu.CffuFactory
-
Return an incomplete Cffu, equivalent to
CompletableFuture()
constructor. - newIncompleteFuture() - Method in class io.foldright.cffu.Cffu
-
Returns a new incomplete Cffu with CompletableFuture of the type to be returned by a CompletionStage method.
- newIncompleteFuture(CompletableFuture<?>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Returns a new incomplete CompletableFuture of the type to be returned by a CompletionStage method.
- NoCfsProvidedException - Exception Class in io.foldright.cffu
-
Exception indicates that NO cfs(
CompletionStage
, including subclassCffu
/CompletableFuture
) are provided for methods that require cf arguments. - NoCfsProvidedException() - Constructor for exception class io.foldright.cffu.NoCfsProvidedException
O
- obtrudeException(Throwable) - Method in class io.foldright.cffu.Cffu
-
Forcibly causes subsequent invocations of method
Cffu.get()
and related methods to throw the given exception, whether already completed or not. - obtrudeValue(T) - Method in class io.foldright.cffu.Cffu
-
Forcibly sets or resets the value subsequently returned by method
Cffu.get()
and related methods, whether already completed or not. - of(T1, T2) - Static method in class io.foldright.cffu.tuple.Tuple2
- of(T1, T2, T3) - Static method in class io.foldright.cffu.tuple.Tuple3
- of(T1, T2, T3, T4) - Static method in class io.foldright.cffu.tuple.Tuple4
- of(T1, T2, T3, T4, T5) - Static method in class io.foldright.cffu.tuple.Tuple5
- orTimeout(long, TimeUnit) - Method in class io.foldright.cffu.Cffu
-
Returns a new Cffu that is completed exceptionally with a
TimeoutException
when this Cffu is not completed before the given timeout; otherwise the returned Cffu completed with the same successful result or exception of this Cffu. - orTimeout(C, long, TimeUnit) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Exceptionally completes given CompletableFuture with a
TimeoutException
if not otherwise completed before the given timeout.
P
- peek(C, BiConsumer<? super T, ? super Throwable>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Peeks the result by executing the given action when the given stage completes, returns the given stage.
- peek(BiConsumer<? super T, ? super Throwable>) - Method in class io.foldright.cffu.Cffu
-
Peeks the result by executing the given action when this cffu completes, returns this cffu.
- peek0(C, BiConsumer<? super T, ? super Throwable>, String) - Static method in class io.foldright.cffu.LLCF
-
Peeks the result by executing the given action when the given stage completes, returns the given stage.
- peekAsync(C, BiConsumer<? super T, ? super Throwable>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Peeks the result by executing the given action using the default executor of parameter cfThis when the given stage completes, returns the given stage.
- peekAsync(C, BiConsumer<? super T, ? super Throwable>, Executor) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Peeks the result by executing the given action using the supplied executor when the given stage completes, returns the given stage.
- peekAsync(BiConsumer<? super T, ? super Throwable>) - Method in class io.foldright.cffu.Cffu
-
Peeks the result by executing the given action using
Cffu.defaultExecutor()
when this cffu completes, returns this cffu. - peekAsync(BiConsumer<? super T, ? super Throwable>, Executor) - Method in class io.foldright.cffu.Cffu
-
Peeks the result by executing the given action using the supplied executor when this cffu completes, returns this cffu.
- peekAsync0(C, BiConsumer<? super T, ? super Throwable>, String, Executor) - Static method in class io.foldright.cffu.LLCF
-
Peeks the result by executing the given action using the supplied executor when the given stage completes, returns the given stage.
- POISON_FACTORY - Static variable in class io.foldright.cffu.CffuFactoryBuilder
-
A poison object of type CffuFactory.
R
- resultNow() - Method in class io.foldright.cffu.Cffu
-
Returns the computed result, without waiting.
- resultNow(Future<? extends T>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Returns the computed result, without waiting.
- runAfterBoth(CompletionStage<?>, Runnable) - Method in class io.foldright.cffu.Cffu
-
Returns a new Cffu that, when this and the other given stage both complete normally, executes the given action.
- runAfterBothAsync(CompletionStage<?>, Runnable) - Method in class io.foldright.cffu.Cffu
-
Returns a new Cffu that, when this and the other given stage both complete normally, executes the given action using
Cffu.defaultExecutor()
. - runAfterBothAsync(CompletionStage<?>, Runnable, Executor) - Method in class io.foldright.cffu.Cffu
-
Returns a new Cffu that, when this and the other given stage both complete normally, executes the given action using the supplied executor.
- runAfterBothFailFast(CompletableFuture<?>, CompletionStage<?>, Runnable) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Returns a new CompletableFuture that, when two given stages both complete normally, executes the given action.
- runAfterBothFailFast(CompletionStage<?>, Runnable) - Method in class io.foldright.cffu.Cffu
-
Returns a new Cffu that, when this and the other given stage both complete normally, executes the given action.
- runAfterBothFailFastAsync(CompletableFuture<?>, CompletionStage<?>, Runnable) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Returns a new CompletableFuture that, when two given stages both complete normally, executes the given action using the default executor of parameter cfThis.
- runAfterBothFailFastAsync(CompletableFuture<?>, CompletionStage<?>, Runnable, Executor) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Returns a new CompletableFuture that, when two given stages both complete normally, executes the given action using the supplied executor.
- runAfterBothFailFastAsync(CompletionStage<?>, Runnable) - Method in class io.foldright.cffu.Cffu
-
Returns a new Cffu that, when this and the other given stage both complete normally, executes the given action using
Cffu.defaultExecutor()
. - runAfterBothFailFastAsync(CompletionStage<?>, Runnable, Executor) - Method in class io.foldright.cffu.Cffu
-
Returns a new Cffu that, when this and the other given stage both complete normally, executes the given action using the supplied executor.
- runAfterEither(CompletionStage<?>, Runnable) - Method in class io.foldright.cffu.Cffu
-
Returns a new Cffu that, when either this or the other given stage complete normally, executes the given action.
- runAfterEitherAsync(CompletionStage<?>, Runnable) - Method in class io.foldright.cffu.Cffu
-
Returns a new Cffu that, when either this or the other given stage complete normally, executes the given action using
Cffu.defaultExecutor()
. - runAfterEitherAsync(CompletionStage<?>, Runnable, Executor) - Method in class io.foldright.cffu.Cffu
-
Returns a new Cffu that, when either this or the other given stage complete normally, executes the given action using the supplied executor.
- runAfterEitherSuccess(CompletableFuture<?>, CompletionStage<?>, Runnable) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Returns a new CompletableFuture that, when either given stage success, executes the given action.
- runAfterEitherSuccess(CompletionStage<?>, Runnable) - Method in class io.foldright.cffu.Cffu
-
Returns a new Cffu that, when either this or the other given stage complete normally, executes the given action.
- runAfterEitherSuccessAsync(CompletableFuture<?>, CompletionStage<?>, Runnable) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Returns a new CompletableFuture that, when either given stage success, executes the given action using the default executor of parameter cfThis.
- runAfterEitherSuccessAsync(CompletableFuture<?>, CompletionStage<?>, Runnable, Executor) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Returns a new CompletableFuture that, when either given stage success, executes the given action using the supplied executor.
- runAfterEitherSuccessAsync(CompletionStage<?>, Runnable) - Method in class io.foldright.cffu.Cffu
-
Returns a new Cffu that, when either this or the other given stage complete normally, executes the given action using
Cffu.defaultExecutor()
. - runAfterEitherSuccessAsync(CompletionStage<?>, Runnable, Executor) - Method in class io.foldright.cffu.Cffu
-
Returns a new Cffu that, when either this or the other given stage complete normally, executes the given action using the supplied executor.
- runAsync(Runnable) - Method in class io.foldright.cffu.CffuFactory
-
Returns a new Cffu that is asynchronously completed by a task running in the
CffuFactory.defaultExecutor()
after it runs the given action. - runAsync(Runnable, Executor) - Method in class io.foldright.cffu.CffuFactory
-
Returns a new Cffu that is asynchronously completed by a task running in the given executor after it runs the given action.
- RUNNING - Enum constant in enum io.foldright.cffu.CffuState
-
The task has not completed.
S
- screenExecutor(Executor) - Static method in class io.foldright.cffu.LLCF
-
Null-checks user executor argument, and translates uses of commonPool to ASYNC_POOL in case parallelism disabled.
- state() - Method in class io.foldright.cffu.Cffu
-
Returns the computation state.
- state(Future<?>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Returns the computation state (
CffuState
). - SUCCESS - Enum constant in enum io.foldright.cffu.CffuState
-
The task completed with a result.
- supplyAsync(Supplier<T>) - Method in class io.foldright.cffu.CffuFactory
-
Returns a new Cffu that is asynchronously completed by a task running in the
CffuFactory.defaultExecutor()
with the value obtained by calling the given Supplier. - supplyAsync(Supplier<T>, Executor) - Method in class io.foldright.cffu.CffuFactory
-
Returns a new Cffu that is asynchronously completed by a task running in the given executor with the value obtained by calling the given Supplier.
- SwallowedExceptionHandleUtils - Class in io.foldright.cffu.eh
-
Utilities to handle swallowed exceptions from MULTIPLE
CompletionStage
s (includingCompletableFuture
s andCffu
s).
T
- thenAccept(Consumer<? super T>) - Method in class io.foldright.cffu.Cffu
-
Returns a new Cffu that, when this stage completes normally, is executed with this stage's result as the argument to the supplied action.
- thenAcceptAsync(Consumer<? super T>) - Method in class io.foldright.cffu.Cffu
-
Returns a new Cffu that, when this stage completes normally, is executed using
Cffu.defaultExecutor()
, with this stage's result as the argument to the supplied action. - thenAcceptAsync(Consumer<? super T>, Executor) - Method in class io.foldright.cffu.Cffu
-
Returns a new Cffu that, when this stage completes normally, is executed using the supplied Executor, with this stage's result as the argument to the supplied action.
- thenAcceptBoth(CompletionStage<? extends U>, BiConsumer<? super T, ? super U>) - Method in class io.foldright.cffu.Cffu
-
Returns a new Cffu that, when this and the other given stage both complete normally, is executed with the two results as arguments to the supplied action.
- thenAcceptBothAsync(CompletionStage<? extends U>, BiConsumer<? super T, ? super U>) - Method in class io.foldright.cffu.Cffu
-
Returns a new Cffu that, when this and the other given stage both complete normally, is executed using
Cffu.defaultExecutor()
, with the two results as arguments to the supplied action. - thenAcceptBothAsync(CompletionStage<? extends U>, BiConsumer<? super T, ? super U>, Executor) - Method in class io.foldright.cffu.Cffu
-
Returns a new Cffu that, when this and the other given stage both complete normally, is executed using the supplied executor, with the two results as arguments to the supplied action.
- thenAcceptBothFailFast(CompletableFuture<? extends T>, CompletionStage<? extends U>, BiConsumer<? super T, ? super U>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Returns a new CompletableFuture that, when tow given stage both complete normally, is executed with the two results as arguments to the supplied action.
- thenAcceptBothFailFast(CompletionStage<? extends U>, BiConsumer<? super T, ? super U>) - Method in class io.foldright.cffu.Cffu
-
Returns a new Cffu that, when this and the other given stage both complete normally, is executed with the two results as arguments to the supplied action.
- thenAcceptBothFailFastAsync(CompletableFuture<? extends T>, CompletionStage<? extends U>, BiConsumer<? super T, ? super U>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Returns a new CompletableFuture that, when tow given stage both complete normally, is executed using the default executor of parameter cfThis, with the two results as arguments to the supplied action.
- thenAcceptBothFailFastAsync(CompletableFuture<? extends T>, CompletionStage<? extends U>, BiConsumer<? super T, ? super U>, Executor) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Returns a new CompletableFuture that, when tow given stage both complete normally, is executed using the supplied executor, with the two results as arguments to the supplied action.
- thenAcceptBothFailFastAsync(CompletionStage<? extends U>, BiConsumer<? super T, ? super U>) - Method in class io.foldright.cffu.Cffu
-
Returns a new Cffu that, when this and the other given stage both complete normally, is executed using
Cffu.defaultExecutor()
, with the two results as arguments to the supplied action. - thenAcceptBothFailFastAsync(CompletionStage<? extends U>, BiConsumer<? super T, ? super U>, Executor) - Method in class io.foldright.cffu.Cffu
-
Returns a new Cffu that, when this and the other given stage both complete normally, is executed using the supplied executor, with the two results as arguments to the supplied action.
- thenApply(Function<? super T, ? extends U>) - Method in class io.foldright.cffu.Cffu
-
Returns a new Cffu that, when this stage completes normally, is executed with this stage's result as the argument to the supplied function.
- thenApplyAsync(Function<? super T, ? extends U>) - Method in class io.foldright.cffu.Cffu
-
Returns a new Cffu that, when this stage completes normally, is executed using
Cffu.defaultExecutor()
, with this stage's result as the argument to the supplied function. - thenApplyAsync(Function<? super T, ? extends U>, Executor) - Method in class io.foldright.cffu.Cffu
-
Returns a new Cffu that, when this stage completes normally, is executed using the supplied Executor, with this stage's result as the argument to the supplied function.
- thenCombine(CompletionStage<? extends U>, BiFunction<? super T, ? super U, ? extends V>) - Method in class io.foldright.cffu.Cffu
-
Returns a new Cffu that, when this and the other given stage both complete normally, is executed with the two results as arguments to the supplied function.
- thenCombineAsync(CompletionStage<? extends U>, BiFunction<? super T, ? super U, ? extends V>) - Method in class io.foldright.cffu.Cffu
-
Returns a new Cffu that, when this and the other given stage both complete normally, is executed using
Cffu.defaultExecutor()
, with the two results as arguments to the supplied function. - thenCombineAsync(CompletionStage<? extends U>, BiFunction<? super T, ? super U, ? extends V>, Executor) - Method in class io.foldright.cffu.Cffu
-
Returns a new Cffu that, when this and the other given stage both complete normally, is executed using the supplied executor, with the two results as arguments to the supplied function.
- thenCombineFailFast(CompletableFuture<? extends T>, CompletionStage<? extends U>, BiFunction<? super T, ? super U, ? extends V>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Returns a new CompletableFuture that, when tow given stage both complete normally, is executed with the two results as arguments to the supplied function.
- thenCombineFailFast(CompletionStage<? extends U>, BiFunction<? super T, ? super U, ? extends V>) - Method in class io.foldright.cffu.Cffu
-
Returns a new Cffu that, when this and the other given stage both complete normally, is executed with the two results as arguments to the supplied function.
- thenCombineFailFastAsync(CompletableFuture<? extends T>, CompletionStage<? extends U>, BiFunction<? super T, ? super U, ? extends V>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Returns a new CompletableFuture that, when tow given stage both complete normally, is executed using the default executor of parameter cfThis, with the two results as arguments to the supplied function.
- thenCombineFailFastAsync(CompletableFuture<? extends T>, CompletionStage<? extends U>, BiFunction<? super T, ? super U, ? extends V>, Executor) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Returns a new CompletableFuture that, when tow given stage both complete normally, is executed using the supplied executor, with the two results as arguments to the supplied function.
- thenCombineFailFastAsync(CompletionStage<? extends U>, BiFunction<? super T, ? super U, ? extends V>) - Method in class io.foldright.cffu.Cffu
-
Returns a new Cffu that, when this and the other given stage both complete normally, is executed using
Cffu.defaultExecutor()
, with the two results as arguments to the supplied function. - thenCombineFailFastAsync(CompletionStage<? extends U>, BiFunction<? super T, ? super U, ? extends V>, Executor) - Method in class io.foldright.cffu.Cffu
-
Returns a new Cffu that, when this and the other given stage both complete normally, is executed using the supplied executor, with the two results as arguments to the supplied function.
- thenCompose(Function<? super T, ? extends CompletionStage<U>>) - Method in class io.foldright.cffu.Cffu
-
Returns a new Cffu that is completed with the same value as the CompletionStage returned by the given function.
- thenComposeAsync(Function<? super T, ? extends CompletionStage<U>>) - Method in class io.foldright.cffu.Cffu
-
Returns a new Cffu that is completed with the same value as the CompletionStage returned by the given function, executed using
Cffu.defaultExecutor()
. - thenComposeAsync(Function<? super T, ? extends CompletionStage<U>>, Executor) - Method in class io.foldright.cffu.Cffu
-
Returns a new Cffu that is completed with the same value as the CompletionStage returned by the given function, executed using the supplied Executor.
- thenMAcceptAnyAsync(CompletableFuture<? extends T>, Executor, Consumer<? super T>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Shortcut to method
anyOf
, wraps input functions to CompletableFuture byCompletableFuture.supplyAsync(Supplier, Executor)
; The given stage's result is used as the argument of actions. - thenMAcceptAnyAsync(CompletableFuture<? extends T>, Consumer<? super T>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Shortcut to method
anyOf
, wraps input functions to CompletableFuture byCompletableFuture.supplyAsync(Supplier)
; The given stage's result is used as the argument of actions. - thenMAcceptAnyAsync(Executor, Consumer<? super T>...) - Method in class io.foldright.cffu.Cffu
-
Shortcut to method
anyOf
, wraps input functions to Cffu byCffuFactory.supplyAsync(Supplier, Executor)
; The given stage's result is used as the argument of actions. - thenMAcceptAnyAsync(Consumer<? super T>...) - Method in class io.foldright.cffu.Cffu
-
Shortcut to method
anyOf
, wraps input functions to Cffu byCffuFactory.supplyAsync(Supplier)
; The given stage's result is used as the argument of actions. - thenMAcceptAnySuccessAsync(CompletableFuture<? extends T>, Executor, Consumer<? super T>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Shortcut to method
anySuccessOf
, wraps input functions to CompletableFuture byCompletableFuture.supplyAsync(Supplier, Executor)
; The given stage's result is used as the argument of actions. - thenMAcceptAnySuccessAsync(CompletableFuture<? extends T>, Consumer<? super T>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Shortcut to method
anySuccessOf
, wraps input functions to CompletableFuture byCompletableFuture.supplyAsync(Supplier)
; The given stage's result is used as the argument of actions. - thenMAcceptAnySuccessAsync(Executor, Consumer<? super T>...) - Method in class io.foldright.cffu.Cffu
-
Shortcut to method
anySuccessOf
, wraps input functions to Cffu byCffuFactory.supplyAsync(Supplier, Executor)
; The given stage's result is used as the argument of actions. - thenMAcceptAnySuccessAsync(Consumer<? super T>...) - Method in class io.foldright.cffu.Cffu
-
Shortcut to method
anySuccessOf
, wraps input functions to Cffu byCffuFactory.supplyAsync(Supplier)
; The given stage's result is used as the argument of actions. - thenMAcceptAsync(CompletableFuture<? extends T>, Executor, Consumer<? super T>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Shortcut to method
allOf
, wraps input functions to CompletableFuture byCompletableFuture.supplyAsync(Supplier, Executor)
; The given stage's result is used as the argument of actions. - thenMAcceptAsync(CompletableFuture<? extends T>, Consumer<? super T>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Shortcut to method
allOf
, wraps input functions to CompletableFuture byCompletableFuture.supplyAsync(Supplier)
; The given stage's result is used as the argument of actions. - thenMAcceptAsync(Executor, Consumer<? super T>...) - Method in class io.foldright.cffu.Cffu
-
Shortcut to method
allOf
, wraps input functions to Cffu byCffuFactory.supplyAsync(Supplier, Executor)
; The given stage's result is used as the argument of actions. - thenMAcceptAsync(Consumer<? super T>...) - Method in class io.foldright.cffu.Cffu
-
Shortcut to method
allOf
, wraps input functions to Cffu byCffuFactory.supplyAsync(Supplier)
; The given stage's result is used as the argument of actions. - thenMAcceptFailFastAsync(CompletableFuture<? extends T>, Executor, Consumer<? super T>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Shortcut to method
allFailFastOf
, wraps input functions to CompletableFuture byCompletableFuture.supplyAsync(Supplier, Executor)
; The given stage's result is used as the argument of actions. - thenMAcceptFailFastAsync(CompletableFuture<? extends T>, Consumer<? super T>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Shortcut to method
allFailFastOf
, wraps input functions to CompletableFuture byCompletableFuture.supplyAsync(Supplier)
; The given stage's result is used as the argument of actions. - thenMAcceptFailFastAsync(Executor, Consumer<? super T>...) - Method in class io.foldright.cffu.Cffu
-
Shortcut to method
allFailFastOf
, wraps input functions to Cffu byCffuFactory.supplyAsync(Supplier, Executor)
; The given stage's result is used as the argument of actions. - thenMAcceptFailFastAsync(Consumer<? super T>...) - Method in class io.foldright.cffu.Cffu
-
Shortcut to method
allFailFastOf
, wraps input functions to Cffu byCffuFactory.supplyAsync(Supplier)
; The given stage's result is used as the argument of actions. - thenMApplyAllSuccessAsync(CompletableFuture<? extends T>, Executor, U, Function<? super T, ? extends U>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Shortcut to method
allSuccessResultsOf
, wraps input functions to CompletableFuture byCompletableFuture.supplyAsync(Supplier, Executor)
; The given stage's result is used as the argument of functions. - thenMApplyAllSuccessAsync(CompletableFuture<? extends T>, U, Function<? super T, ? extends U>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Shortcut to method
allSuccessResultsOf
, wraps input functions to CompletableFuture byCompletableFuture.supplyAsync(Supplier)
; The given stage's result is used as the argument of functions. - thenMApplyAllSuccessAsync(Executor, U, Function<? super T, ? extends U>...) - Method in class io.foldright.cffu.Cffu
-
Shortcut to method
allSuccessResultsOf
, wraps input functions to Cffu byCffuFactory.supplyAsync(Supplier, Executor)
; The given stage's result is used as the argument of functions. - thenMApplyAllSuccessAsync(U, Function<? super T, ? extends U>...) - Method in class io.foldright.cffu.Cffu
-
Shortcut to method
allSuccessResultsOf
, wraps input functions to Cffu byCffuFactory.supplyAsync(Supplier)
; The given stage's result is used as the argument of functions. - thenMApplyAllSuccessTupleAsync(CompletableFuture<? extends T>, Executor, Function<? super T, ? extends U1>, Function<? super T, ? extends U2>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Tuple variant of
CompletableFutureUtils.thenMApplyAllSuccessAsync(CompletableFuture, Executor, Object, Function[])
withnull
valueIfFailed. - thenMApplyAllSuccessTupleAsync(CompletableFuture<? extends T>, Executor, Function<? super T, ? extends U1>, Function<? super T, ? extends U2>, Function<? super T, ? extends U3>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Tuple variant of
CompletableFutureUtils.thenMApplyAllSuccessAsync(CompletableFuture, Executor, Object, Function[])
withnull
valueIfFailed. - thenMApplyAllSuccessTupleAsync(CompletableFuture<? extends T>, Executor, Function<? super T, ? extends U1>, Function<? super T, ? extends U2>, Function<? super T, ? extends U3>, Function<? super T, ? extends U4>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Tuple variant of
CompletableFutureUtils.thenMApplyAllSuccessAsync(CompletableFuture, Executor, Object, Function[])
withnull
valueIfFailed. - thenMApplyAllSuccessTupleAsync(CompletableFuture<? extends T>, Executor, Function<? super T, ? extends U1>, Function<? super T, ? extends U2>, Function<? super T, ? extends U3>, Function<? super T, ? extends U4>, Function<? super T, ? extends U5>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Tuple variant of
CompletableFutureUtils.thenMApplyAllSuccessAsync(CompletableFuture, Executor, Object, Function[])
withnull
valueIfFailed. - thenMApplyAllSuccessTupleAsync(CompletableFuture<? extends T>, Function<? super T, ? extends U1>, Function<? super T, ? extends U2>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Tuple variant of
CompletableFutureUtils.thenMApplyAllSuccessAsync(CompletableFuture, Object, Function[])
withnull
valueIfFailed. - thenMApplyAllSuccessTupleAsync(CompletableFuture<? extends T>, Function<? super T, ? extends U1>, Function<? super T, ? extends U2>, Function<? super T, ? extends U3>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Tuple variant of
CompletableFutureUtils.thenMApplyAllSuccessAsync(CompletableFuture, Object, Function[])
withnull
valueIfFailed. - thenMApplyAllSuccessTupleAsync(CompletableFuture<? extends T>, Function<? super T, ? extends U1>, Function<? super T, ? extends U2>, Function<? super T, ? extends U3>, Function<? super T, ? extends U4>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Tuple variant of
CompletableFutureUtils.thenMApplyAllSuccessAsync(CompletableFuture, Object, Function[])
withnull
valueIfFailed. - thenMApplyAllSuccessTupleAsync(CompletableFuture<? extends T>, Function<? super T, ? extends U1>, Function<? super T, ? extends U2>, Function<? super T, ? extends U3>, Function<? super T, ? extends U4>, Function<? super T, ? extends U5>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Tuple variant of
CompletableFutureUtils.thenMApplyAllSuccessAsync(CompletableFuture, Object, Function[])
withnull
valueIfFailed. - thenMApplyAllSuccessTupleAsync(Executor, Function<? super T, ? extends U1>, Function<? super T, ? extends U2>) - Method in class io.foldright.cffu.Cffu
-
Tuple variant of
Cffu.thenMApplyAllSuccessAsync(Executor, Object, Function[])
withnull
valueIfFailed. - thenMApplyAllSuccessTupleAsync(Executor, Function<? super T, ? extends U1>, Function<? super T, ? extends U2>, Function<? super T, ? extends U3>) - Method in class io.foldright.cffu.Cffu
-
Tuple variant of
Cffu.thenMApplyAllSuccessAsync(Executor, Object, Function[])
withnull
valueIfFailed. - thenMApplyAllSuccessTupleAsync(Executor, Function<? super T, ? extends U1>, Function<? super T, ? extends U2>, Function<? super T, ? extends U3>, Function<? super T, ? extends U4>) - Method in class io.foldright.cffu.Cffu
-
Tuple variant of
Cffu.thenMApplyAllSuccessAsync(Executor, Object, Function[])
withnull
valueIfFailed. - thenMApplyAllSuccessTupleAsync(Executor, Function<? super T, ? extends U1>, Function<? super T, ? extends U2>, Function<? super T, ? extends U3>, Function<? super T, ? extends U4>, Function<? super T, ? extends U5>) - Method in class io.foldright.cffu.Cffu
-
Tuple variant of
Cffu.thenMApplyAllSuccessAsync(Executor, Object, Function[])
withnull
valueIfFailed. - thenMApplyAllSuccessTupleAsync(Function<? super T, ? extends U1>, Function<? super T, ? extends U2>) - Method in class io.foldright.cffu.Cffu
-
Tuple variant of
Cffu.thenMApplyAllSuccessAsync(Object, Function[])
withnull
valueIfFailed. - thenMApplyAllSuccessTupleAsync(Function<? super T, ? extends U1>, Function<? super T, ? extends U2>, Function<? super T, ? extends U3>) - Method in class io.foldright.cffu.Cffu
-
Tuple variant of
Cffu.thenMApplyAllSuccessAsync(Object, Function[])
withnull
valueIfFailed. - thenMApplyAllSuccessTupleAsync(Function<? super T, ? extends U1>, Function<? super T, ? extends U2>, Function<? super T, ? extends U3>, Function<? super T, ? extends U4>) - Method in class io.foldright.cffu.Cffu
-
Tuple variant of
Cffu.thenMApplyAllSuccessAsync(Object, Function[])
withnull
valueIfFailed. - thenMApplyAllSuccessTupleAsync(Function<? super T, ? extends U1>, Function<? super T, ? extends U2>, Function<? super T, ? extends U3>, Function<? super T, ? extends U4>, Function<? super T, ? extends U5>) - Method in class io.foldright.cffu.Cffu
-
Tuple variant of
Cffu.thenMApplyAllSuccessAsync(Object, Function[])
withnull
valueIfFailed. - thenMApplyAnyAsync(CompletableFuture<? extends T>, Executor, Function<? super T, ? extends U>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Shortcut to method
anyOf
, wraps input functions to CompletableFuture byCompletableFuture.supplyAsync(Supplier, Executor)
; The given stage's result is used as the argument of functions. - thenMApplyAnyAsync(CompletableFuture<? extends T>, Function<? super T, ? extends U>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Shortcut to method
anyOf
, wraps input functions to CompletableFuture byCompletableFuture.supplyAsync(Supplier)
; The given stage's result is used as the argument of functions. - thenMApplyAnyAsync(Executor, Function<? super T, ? extends U>...) - Method in class io.foldright.cffu.Cffu
-
Shortcut to method
anyOf
, wraps input functions to Cffu byCffuFactory.supplyAsync(Supplier, Executor)
; The given stage's result is used as the argument of functions. - thenMApplyAnyAsync(Function<? super T, ? extends U>...) - Method in class io.foldright.cffu.Cffu
-
Shortcut to method
anyOf
, wraps input functions to Cffu byCffuFactory.supplyAsync(Supplier)
; The given stage's result is used as the argument of functions. - thenMApplyAnySuccessAsync(CompletableFuture<? extends T>, Executor, Function<? super T, ? extends U>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Shortcut to method
anySuccessOf
, wraps input functions to CompletableFuture byCompletableFuture.supplyAsync(Supplier, Executor)
; The given stage's result is used as the argument of functions. - thenMApplyAnySuccessAsync(CompletableFuture<? extends T>, Function<? super T, ? extends U>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Shortcut to method
anySuccessOf
, wraps input functions to CompletableFuture byCompletableFuture.supplyAsync(Supplier)
; The given stage's result is used as the argument of functions. - thenMApplyAnySuccessAsync(Executor, Function<? super T, ? extends U>...) - Method in class io.foldright.cffu.Cffu
-
Shortcut to method
anySuccessOf
, wraps input functions to Cffu byCffuFactory.supplyAsync(Supplier, Executor)
; The given stage's result is used as the argument of functions. - thenMApplyAnySuccessAsync(Function<? super T, ? extends U>...) - Method in class io.foldright.cffu.Cffu
-
Shortcut to method
anySuccessOf
, wraps input functions to Cffu byCffuFactory.supplyAsync(Supplier)
; The given stage's result is used as the argument of functions. - thenMApplyAsync(CompletableFuture<? extends T>, Executor, Function<? super T, ? extends U>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Shortcut to method
allResultsOf
, wraps input functions to CompletableFuture byCompletableFuture.supplyAsync(Supplier, Executor)
; The given stage's result is used as the argument of functions. - thenMApplyAsync(CompletableFuture<? extends T>, Function<? super T, ? extends U>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Shortcut to method
allResultsOf
, wraps input functions to CompletableFuture byCompletableFuture.supplyAsync(Supplier)
; The given stage's result is used as the argument of functions. - thenMApplyAsync(Executor, Function<? super T, ? extends U>...) - Method in class io.foldright.cffu.Cffu
-
Shortcut to method
allResultsOf
, wraps input functions to Cffu byCffuFactory.supplyAsync(Supplier, Executor)
; The given stage's result is used as the argument of functions. - thenMApplyAsync(Function<? super T, ? extends U>...) - Method in class io.foldright.cffu.Cffu
-
Shortcut to method
allResultsOf
, wraps input functions to Cffu byCffuFactory.supplyAsync(Supplier)
; The given stage's result is used as the argument of functions. - thenMApplyFailFastAsync(CompletableFuture<? extends T>, Executor, Function<? super T, ? extends U>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Shortcut to method
allResultsFailFastOf
, wraps input functions to CompletableFuture byCompletableFuture.supplyAsync(Supplier, Executor)
; The given stage's result is used as the argument of functions. - thenMApplyFailFastAsync(CompletableFuture<? extends T>, Function<? super T, ? extends U>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Shortcut to method
allResultsFailFastOf
, wraps input functions to CompletableFuture byCompletableFuture.supplyAsync(Supplier)
; The given stage's result is used as the argument of functions. - thenMApplyFailFastAsync(Executor, Function<? super T, ? extends U>...) - Method in class io.foldright.cffu.Cffu
-
Shortcut to method
allResultsFailFastOf
, wraps input functions to Cffu byCffuFactory.supplyAsync(Supplier, Executor)
; The given stage's result is used as the argument of functions. - thenMApplyFailFastAsync(Function<? super T, ? extends U>...) - Method in class io.foldright.cffu.Cffu
-
Shortcut to method
allResultsFailFastOf
, wraps input functions to Cffu byCffuFactory.supplyAsync(Supplier)
; The given stage's result is used as the argument of functions. - thenMApplyMostSuccessAsync(CompletableFuture<? extends T>, Executor, U, long, TimeUnit, Function<? super T, ? extends U>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Shortcut to method
mostSuccessResultsOf
, wraps input functions to CompletableFuture byCompletableFuture.supplyAsync(Supplier, Executor)
; The given stage's result is used as the argument of functions. - thenMApplyMostSuccessAsync(CompletableFuture<? extends T>, U, long, TimeUnit, Function<? super T, ? extends U>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Shortcut to method
mostSuccessResultsOf
, wraps input functions to CompletableFuture byCompletableFuture.supplyAsync(Supplier, Executor)
; The given stage's result is used as the argument of functions. - thenMApplyMostSuccessAsync(Executor, U, long, TimeUnit, Function<? super T, ? extends U>...) - Method in class io.foldright.cffu.Cffu
-
Shortcut to method
mostSuccessResultsOf
, wraps input functions to Cffu byCffuFactory.supplyAsync(Supplier, Executor)
; The given stage's result is used as the argument of functions. - thenMApplyMostSuccessAsync(U, long, TimeUnit, Function<? super T, ? extends U>...) - Method in class io.foldright.cffu.Cffu
-
Shortcut to method
mostSuccessResultsOf
, wraps input functions to Cffu byCffuFactory.supplyAsync(Supplier)
; The given stage's result is used as the argument of functions. - thenMApplyMostSuccessTupleAsync(long, TimeUnit, Function<? super T, ? extends U1>, Function<? super T, ? extends U2>) - Method in class io.foldright.cffu.Cffu
-
Tuple variant of
Cffu.thenMApplyMostSuccessAsync(Object, long, TimeUnit, Function[])
withnull
valueIfNotSuccess. - thenMApplyMostSuccessTupleAsync(long, TimeUnit, Function<? super T, ? extends U1>, Function<? super T, ? extends U2>, Function<? super T, ? extends U3>) - Method in class io.foldright.cffu.Cffu
-
Tuple variant of
Cffu.thenMApplyMostSuccessAsync(Object, long, TimeUnit, Function[])
withnull
valueIfNotSuccess. - thenMApplyMostSuccessTupleAsync(long, TimeUnit, Function<? super T, ? extends U1>, Function<? super T, ? extends U2>, Function<? super T, ? extends U3>, Function<? super T, ? extends U4>) - Method in class io.foldright.cffu.Cffu
-
Tuple variant of
Cffu.thenMApplyMostSuccessAsync(Object, long, TimeUnit, Function[])
withnull
valueIfNotSuccess. - thenMApplyMostSuccessTupleAsync(long, TimeUnit, Function<? super T, ? extends U1>, Function<? super T, ? extends U2>, Function<? super T, ? extends U3>, Function<? super T, ? extends U4>, Function<? super T, ? extends U5>) - Method in class io.foldright.cffu.Cffu
-
Tuple variant of
Cffu.thenMApplyMostSuccessAsync(Object, long, TimeUnit, Function[])
withnull
valueIfNotSuccess. - thenMApplyMostSuccessTupleAsync(CompletableFuture<? extends T>, long, TimeUnit, Function<? super T, ? extends U1>, Function<? super T, ? extends U2>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Tuple variant of
CompletableFutureUtils.thenMApplyMostSuccessAsync(CompletableFuture, Object, long, TimeUnit, Function[])
withnull
valueIfNotSuccess. - thenMApplyMostSuccessTupleAsync(CompletableFuture<? extends T>, long, TimeUnit, Function<? super T, ? extends U1>, Function<? super T, ? extends U2>, Function<? super T, ? extends U3>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Tuple variant of
CompletableFutureUtils.thenMApplyMostSuccessAsync(CompletableFuture, Object, long, TimeUnit, Function[])
withnull
valueIfNotSuccess. - thenMApplyMostSuccessTupleAsync(CompletableFuture<? extends T>, long, TimeUnit, Function<? super T, ? extends U1>, Function<? super T, ? extends U2>, Function<? super T, ? extends U3>, Function<? super T, ? extends U4>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Tuple variant of
CompletableFutureUtils.thenMApplyMostSuccessAsync(CompletableFuture, Object, long, TimeUnit, Function[])
withnull
valueIfNotSuccess. - thenMApplyMostSuccessTupleAsync(CompletableFuture<? extends T>, long, TimeUnit, Function<? super T, ? extends U1>, Function<? super T, ? extends U2>, Function<? super T, ? extends U3>, Function<? super T, ? extends U4>, Function<? super T, ? extends U5>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Tuple variant of
CompletableFutureUtils.thenMApplyMostSuccessAsync(CompletableFuture, Object, long, TimeUnit, Function[])
withnull
valueIfNotSuccess. - thenMApplyMostSuccessTupleAsync(CompletableFuture<? extends T>, Executor, long, TimeUnit, Function<? super T, ? extends U1>, Function<? super T, ? extends U2>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Tuple variant of
CompletableFutureUtils.thenMApplyMostSuccessAsync(CompletableFuture, Executor, Object, long, TimeUnit, Function[])
withnull
valueIfNotSuccess. - thenMApplyMostSuccessTupleAsync(CompletableFuture<? extends T>, Executor, long, TimeUnit, Function<? super T, ? extends U1>, Function<? super T, ? extends U2>, Function<? super T, ? extends U3>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Tuple variant of
CompletableFutureUtils.thenMApplyMostSuccessAsync(CompletableFuture, Executor, Object, long, TimeUnit, Function[])
withnull
valueIfNotSuccess. - thenMApplyMostSuccessTupleAsync(CompletableFuture<? extends T>, Executor, long, TimeUnit, Function<? super T, ? extends U1>, Function<? super T, ? extends U2>, Function<? super T, ? extends U3>, Function<? super T, ? extends U4>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Tuple variant of
CompletableFutureUtils.thenMApplyMostSuccessAsync(CompletableFuture, Executor, Object, long, TimeUnit, Function[])
withnull
valueIfNotSuccess. - thenMApplyMostSuccessTupleAsync(CompletableFuture<? extends T>, Executor, long, TimeUnit, Function<? super T, ? extends U1>, Function<? super T, ? extends U2>, Function<? super T, ? extends U3>, Function<? super T, ? extends U4>, Function<? super T, ? extends U5>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Tuple variant of
CompletableFutureUtils.thenMApplyMostSuccessAsync(CompletableFuture, Executor, Object, long, TimeUnit, Function[])
withnull
valueIfNotSuccess. - thenMApplyMostSuccessTupleAsync(Executor, long, TimeUnit, Function<? super T, ? extends U1>, Function<? super T, ? extends U2>) - Method in class io.foldright.cffu.Cffu
-
Tuple variant of
Cffu.thenMApplyMostSuccessAsync(Executor, Object, long, TimeUnit, Function[])
withnull
valueIfNotSuccess. - thenMApplyMostSuccessTupleAsync(Executor, long, TimeUnit, Function<? super T, ? extends U1>, Function<? super T, ? extends U2>, Function<? super T, ? extends U3>) - Method in class io.foldright.cffu.Cffu
-
Tuple variant of
Cffu.thenMApplyMostSuccessAsync(Executor, Object, long, TimeUnit, Function[])
withnull
valueIfNotSuccess. - thenMApplyMostSuccessTupleAsync(Executor, long, TimeUnit, Function<? super T, ? extends U1>, Function<? super T, ? extends U2>, Function<? super T, ? extends U3>, Function<? super T, ? extends U4>) - Method in class io.foldright.cffu.Cffu
-
Tuple variant of
Cffu.thenMApplyMostSuccessAsync(Executor, Object, long, TimeUnit, Function[])
withnull
valueIfNotSuccess. - thenMApplyMostSuccessTupleAsync(Executor, long, TimeUnit, Function<? super T, ? extends U1>, Function<? super T, ? extends U2>, Function<? super T, ? extends U3>, Function<? super T, ? extends U4>, Function<? super T, ? extends U5>) - Method in class io.foldright.cffu.Cffu
-
Tuple variant of
Cffu.thenMApplyMostSuccessAsync(Executor, Object, long, TimeUnit, Function[])
withnull
valueIfNotSuccess. - thenMApplyTupleAsync(CompletableFuture<? extends T>, Executor, Function<? super T, ? extends U1>, Function<? super T, ? extends U2>) - Static method in class io.foldright.cffu.CompletableFutureUtils
- thenMApplyTupleAsync(CompletableFuture<? extends T>, Executor, Function<? super T, ? extends U1>, Function<? super T, ? extends U2>, Function<? super T, ? extends U3>) - Static method in class io.foldright.cffu.CompletableFutureUtils
- thenMApplyTupleAsync(CompletableFuture<? extends T>, Executor, Function<? super T, ? extends U1>, Function<? super T, ? extends U2>, Function<? super T, ? extends U3>, Function<? super T, ? extends U4>) - Static method in class io.foldright.cffu.CompletableFutureUtils
- thenMApplyTupleAsync(CompletableFuture<? extends T>, Executor, Function<? super T, ? extends U1>, Function<? super T, ? extends U2>, Function<? super T, ? extends U3>, Function<? super T, ? extends U4>, Function<? super T, ? extends U5>) - Static method in class io.foldright.cffu.CompletableFutureUtils
- thenMApplyTupleAsync(CompletableFuture<? extends T>, Function<? super T, ? extends U1>, Function<? super T, ? extends U2>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Tuple variant of
CompletableFutureUtils.thenMApplyAsync(CompletableFuture, Function[])
. - thenMApplyTupleAsync(CompletableFuture<? extends T>, Function<? super T, ? extends U1>, Function<? super T, ? extends U2>, Function<? super T, ? extends U3>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Tuple variant of
CompletableFutureUtils.thenMApplyAsync(CompletableFuture, Function[])
. - thenMApplyTupleAsync(CompletableFuture<? extends T>, Function<? super T, ? extends U1>, Function<? super T, ? extends U2>, Function<? super T, ? extends U3>, Function<? super T, ? extends U4>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Tuple variant of
CompletableFutureUtils.thenMApplyAsync(CompletableFuture, Function[])
. - thenMApplyTupleAsync(CompletableFuture<? extends T>, Function<? super T, ? extends U1>, Function<? super T, ? extends U2>, Function<? super T, ? extends U3>, Function<? super T, ? extends U4>, Function<? super T, ? extends U5>) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Tuple variant of
CompletableFutureUtils.thenMApplyAsync(CompletableFuture, Function[])
. - thenMApplyTupleAsync(Executor, Function<? super T, ? extends U1>, Function<? super T, ? extends U2>) - Method in class io.foldright.cffu.Cffu
-
Tuple variant of
Cffu.thenMApplyAsync(Executor, Function[])
. - thenMApplyTupleAsync(Executor, Function<? super T, ? extends U1>, Function<? super T, ? extends U2>, Function<? super T, ? extends U3>) - Method in class io.foldright.cffu.Cffu
-
Tuple variant of
Cffu.thenMApplyAsync(Executor, Function[])
. - thenMApplyTupleAsync(Executor, Function<? super T, ? extends U1>, Function<? super T, ? extends U2>, Function<? super T, ? extends U3>, Function<? super T, ? extends U4>) - Method in class io.foldright.cffu.Cffu
-
Tuple variant of
Cffu.thenMApplyAsync(Executor, Function[])
. - thenMApplyTupleAsync(Executor, Function<? super T, ? extends U1>, Function<? super T, ? extends U2>, Function<? super T, ? extends U3>, Function<? super T, ? extends U4>, Function<? super T, ? extends U5>) - Method in class io.foldright.cffu.Cffu
-
Tuple variant of
Cffu.thenMApplyAsync(Executor, Function[])
. - thenMApplyTupleAsync(Function<? super T, ? extends U1>, Function<? super T, ? extends U2>) - Method in class io.foldright.cffu.Cffu
-
Tuple variant of
Cffu.thenMApplyAsync(Function[])
. - thenMApplyTupleAsync(Function<? super T, ? extends U1>, Function<? super T, ? extends U2>, Function<? super T, ? extends U3>) - Method in class io.foldright.cffu.Cffu
-
Tuple variant of
Cffu.thenMApplyAsync(Function[])
. - thenMApplyTupleAsync(Function<? super T, ? extends U1>, Function<? super T, ? extends U2>, Function<? super T, ? extends U3>, Function<? super T, ? extends U4>) - Method in class io.foldright.cffu.Cffu
-
Tuple variant of
Cffu.thenMApplyAsync(Function[])
. - thenMApplyTupleAsync(Function<? super T, ? extends U1>, Function<? super T, ? extends U2>, Function<? super T, ? extends U3>, Function<? super T, ? extends U4>, Function<? super T, ? extends U5>) - Method in class io.foldright.cffu.Cffu
-
Tuple variant of
Cffu.thenMApplyAsync(Function[])
. - thenMApplyTupleFailFastAsync(CompletableFuture<? extends T>, Executor, Function<? super T, ? extends U1>, Function<? super T, ? extends U2>) - Static method in class io.foldright.cffu.CompletableFutureUtils
- thenMApplyTupleFailFastAsync(CompletableFuture<? extends T>, Executor, Function<? super T, ? extends U1>, Function<? super T, ? extends U2>, Function<? super T, ? extends U3>) - Static method in class io.foldright.cffu.CompletableFutureUtils
- thenMApplyTupleFailFastAsync(CompletableFuture<? extends T>, Executor, Function<? super T, ? extends U1>, Function<? super T, ? extends U2>, Function<? super T, ? extends U3>, Function<? super T, ? extends U4>) - Static method in class io.foldright.cffu.CompletableFutureUtils
- thenMApplyTupleFailFastAsync(CompletableFuture<? extends T>, Executor, Function<? super T, ? extends U1>, Function<? super T, ? extends U2>, Function<? super T, ? extends U3>, Function<? super T, ? extends U4>, Function<? super T, ? extends U5>) - Static method in class io.foldright.cffu.CompletableFutureUtils
- thenMApplyTupleFailFastAsync(CompletableFuture<? extends T>, Function<? super T, ? extends U1>, Function<? super T, ? extends U2>) - Static method in class io.foldright.cffu.CompletableFutureUtils
- thenMApplyTupleFailFastAsync(CompletableFuture<? extends T>, Function<? super T, ? extends U1>, Function<? super T, ? extends U2>, Function<? super T, ? extends U3>) - Static method in class io.foldright.cffu.CompletableFutureUtils
- thenMApplyTupleFailFastAsync(CompletableFuture<? extends T>, Function<? super T, ? extends U1>, Function<? super T, ? extends U2>, Function<? super T, ? extends U3>, Function<? super T, ? extends U4>) - Static method in class io.foldright.cffu.CompletableFutureUtils
- thenMApplyTupleFailFastAsync(CompletableFuture<? extends T>, Function<? super T, ? extends U1>, Function<? super T, ? extends U2>, Function<? super T, ? extends U3>, Function<? super T, ? extends U4>, Function<? super T, ? extends U5>) - Static method in class io.foldright.cffu.CompletableFutureUtils
- thenMApplyTupleFailFastAsync(Executor, Function<? super T, ? extends U1>, Function<? super T, ? extends U2>) - Method in class io.foldright.cffu.Cffu
-
Tuple variant of
Cffu.thenMApplyFailFastAsync(Executor, Function[])
. - thenMApplyTupleFailFastAsync(Executor, Function<? super T, ? extends U1>, Function<? super T, ? extends U2>, Function<? super T, ? extends U3>) - Method in class io.foldright.cffu.Cffu
-
Tuple variant of
Cffu.thenMApplyFailFastAsync(Executor, Function[])
. - thenMApplyTupleFailFastAsync(Executor, Function<? super T, ? extends U1>, Function<? super T, ? extends U2>, Function<? super T, ? extends U3>, Function<? super T, ? extends U4>) - Method in class io.foldright.cffu.Cffu
-
Tuple variant of
Cffu.thenMApplyFailFastAsync(Executor, Function[])
. - thenMApplyTupleFailFastAsync(Executor, Function<? super T, ? extends U1>, Function<? super T, ? extends U2>, Function<? super T, ? extends U3>, Function<? super T, ? extends U4>, Function<? super T, ? extends U5>) - Method in class io.foldright.cffu.Cffu
-
Tuple variant of
Cffu.thenMApplyFailFastAsync(Executor, Function[])
. - thenMApplyTupleFailFastAsync(Function<? super T, ? extends U1>, Function<? super T, ? extends U2>) - Method in class io.foldright.cffu.Cffu
-
Tuple variant of
Cffu.thenMApplyFailFastAsync(Function[])
. - thenMApplyTupleFailFastAsync(Function<? super T, ? extends U1>, Function<? super T, ? extends U2>, Function<? super T, ? extends U3>) - Method in class io.foldright.cffu.Cffu
-
Tuple variant of
Cffu.thenMApplyFailFastAsync(Function[])
. - thenMApplyTupleFailFastAsync(Function<? super T, ? extends U1>, Function<? super T, ? extends U2>, Function<? super T, ? extends U3>, Function<? super T, ? extends U4>) - Method in class io.foldright.cffu.Cffu
-
Tuple variant of
Cffu.thenMApplyFailFastAsync(Function[])
. - thenMApplyTupleFailFastAsync(Function<? super T, ? extends U1>, Function<? super T, ? extends U2>, Function<? super T, ? extends U3>, Function<? super T, ? extends U4>, Function<? super T, ? extends U5>) - Method in class io.foldright.cffu.Cffu
-
Tuple variant of
Cffu.thenMApplyFailFastAsync(Function[])
. - thenMRunAnyAsync(Runnable...) - Method in class io.foldright.cffu.Cffu
-
Shortcut to method
anyOf
, wraps input actions to Cffu byCffuFactory.runAsync(Runnable)
. - thenMRunAnyAsync(CompletableFuture<?>, Runnable...) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Shortcut to method
anyOf
, wraps input actions to CompletableFuture byCompletableFuture.runAsync(Runnable)
. - thenMRunAnyAsync(CompletableFuture<?>, Executor, Runnable...) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Shortcut to method
anyOf
, wraps input actions to CompletableFuture byCompletableFuture.runAsync(Runnable, Executor)
. - thenMRunAnyAsync(Executor, Runnable...) - Method in class io.foldright.cffu.Cffu
-
Shortcut to method
anyOf
, wraps input actions to Cffu byCffuFactory.runAsync(Runnable, Executor)
. - thenMRunAnySuccessAsync(Runnable...) - Method in class io.foldright.cffu.Cffu
-
Shortcut to method
anySuccessOf
, wraps input actions to Cffu byCffuFactory.runAsync(Runnable)
. - thenMRunAnySuccessAsync(CompletableFuture<?>, Runnable...) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Shortcut to method
anySuccessOf
, wraps input actions to CompletableFuture byCompletableFuture.runAsync(Runnable)
. - thenMRunAnySuccessAsync(CompletableFuture<?>, Executor, Runnable...) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Shortcut to method
anySuccessOf
, wraps input actions to CompletableFuture byCompletableFuture.runAsync(Runnable, Executor)
. - thenMRunAnySuccessAsync(Executor, Runnable...) - Method in class io.foldright.cffu.Cffu
-
Shortcut to method
anySuccessOf
, wraps input actions to Cffu byCffuFactory.runAsync(Runnable, Executor)
. - thenMRunAsync(Runnable...) - Method in class io.foldright.cffu.Cffu
-
Shortcut to method
allOf
, wraps input actions to Cffu byCffuFactory.runAsync(Runnable)
. - thenMRunAsync(CompletableFuture<?>, Runnable...) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Shortcut to method
allOf
, wraps input actions to CompletableFuture byCompletableFuture.runAsync(Runnable)
. - thenMRunAsync(CompletableFuture<?>, Executor, Runnable...) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Shortcut to method
allOf
, wraps input actions to CompletableFuture byCompletableFuture.runAsync(Runnable, Executor)
. - thenMRunAsync(Executor, Runnable...) - Method in class io.foldright.cffu.Cffu
-
Shortcut to method
allOf
, wraps input actions to Cffu byCffuFactory.runAsync(Runnable, Executor)
. - thenMRunFailFastAsync(Runnable...) - Method in class io.foldright.cffu.Cffu
-
Shortcut to method
allFailFastOf
, wraps input actions to Cffu byCffuFactory.runAsync(Runnable)
. - thenMRunFailFastAsync(CompletableFuture<?>, Runnable...) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Shortcut to method
allFailFastOf
, wraps input actions to CompletableFuture byCompletableFuture.runAsync(Runnable)
. - thenMRunFailFastAsync(CompletableFuture<?>, Executor, Runnable...) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Shortcut to method
allFailFastOf
, wraps input actions to CompletableFuture byCompletableFuture.runAsync(Runnable, Executor)
. - thenMRunFailFastAsync(Executor, Runnable...) - Method in class io.foldright.cffu.Cffu
-
Shortcut to method
allFailFastOf
, wraps input actions to Cffu byCffuFactory.runAsync(Runnable, Executor)
. - thenRun(Runnable) - Method in class io.foldright.cffu.Cffu
-
Returns a new Cffu that, when this stage completes normally, executes the given action.
- thenRunAsync(Runnable) - Method in class io.foldright.cffu.Cffu
-
Returns a new Cffu that, when this stage completes normally, executes the given action using
Cffu.defaultExecutor()
. - thenRunAsync(Runnable, Executor) - Method in class io.foldright.cffu.Cffu
-
Returns a new Cffu that, when this stage completes normally, executes the given action using the supplied Executor.
- toCffu(ListenableFuture<T>, CffuFactory, boolean) - Static method in class io.foldright.cffu.lf.ListenableFutureUtils
-
Converts input
ListenableFuture
toCffu
. - toCffu(CompletionStage<T>) - Method in class io.foldright.cffu.CffuFactory
-
Returns a Cffu maintaining the same completion properties as the given stage and this
CffuFactory
config. - toCffuArray(CompletionStage<T>...) - Method in class io.foldright.cffu.CffuFactory
-
Converts input
CompletionStage
(includingCompletableFuture
) array element byCffuFactory.toCffu(CompletionStage)
. - toCffuState(Future.State) - Static method in enum io.foldright.cffu.CffuState
-
Convert
Future.State
toCffuState
. - toCompletableFuture() - Method in class io.foldright.cffu.Cffu
-
Returns a
CompletableFuture
maintaining the same completion properties as this Cffu. - toCompletableFuture(ListenableFuture<T>, Executor, boolean) - Static method in class io.foldright.cffu.lf.ListenableFutureUtils
-
Converts input
ListenableFuture
toCompletableFuture
. - toCompletableFutureArray(CompletionStage<T>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Converts input
CompletionStage
(includingCffu
/CompletableFuture
) array element byCompletionStage.toCompletableFuture()
. - toFutureState() - Method in enum io.foldright.cffu.CffuState
-
Convert
CffuState
toFuture.State
. - toListenableFuture(Cffu<T>) - Static method in class io.foldright.cffu.lf.ListenableFutureUtils
-
Converts input
Cffu
toListenableFuture
. - toListenableFuture(CompletableFuture<T>) - Static method in class io.foldright.cffu.lf.ListenableFutureUtils
-
Converts input
CompletableFuture
toListenableFuture
. - toNonMinCf0(CompletionStage<? extends T>) - Static method in class io.foldright.cffu.LLCF
-
Converts CompletionStage to non-minimal-stage CompletableFuture, reuse cf instances as many as possible.
- toNonMinCfArray0(CompletionStage<? extends T>[]) - Static method in class io.foldright.cffu.LLCF
-
Converts CompletionStage array to non-minimal-stage CompletableFuture array, reuse cf instances as many as possible.
- toNonMinCfCopy0(CompletionStage<? extends T>) - Static method in class io.foldright.cffu.LLCF
-
Converts CompletionStage to a non-minimal-stage CompletableFuture copy.
- toNonMinCfCopyArray0(CompletionStage<? extends T>[]) - Static method in class io.foldright.cffu.LLCF
-
Converts CompletionStage array to a non-minimal-stage CompletableFuture copy array.
- toString() - Method in class io.foldright.cffu.Cffu
-
Returns a string identifying this Cffu, as well as its completion state.
- toString() - Method in class io.foldright.cffu.tuple.Tuple2
- toString() - Method in class io.foldright.cffu.tuple.Tuple3
- toString() - Method in class io.foldright.cffu.tuple.Tuple4
- toString() - Method in class io.foldright.cffu.tuple.Tuple5
- Tuple2<T1,
T2> - Class in io.foldright.cffu.tuple -
Tuple2(aka Pair).
- Tuple3<T1,
T2, - Class in io.foldright.cffu.tupleT3> -
Tuple3(aka Triple).
- Tuple4<T1,
T2, - Class in io.foldright.cffu.tupleT3, T4> -
Tuple4, contains 4 elements.
- Tuple5<T1,
T2, - Class in io.foldright.cffu.tupleT3, T4, T5> -
Tuple5, contains 5 elements.
U
- unsafeCompleteOnTimeout(T, long, TimeUnit) - Method in class io.foldright.cffu.Cffu
-
Completes this Cffu with the given value if not otherwise completed before the given timeout.
- unsafeOrTimeout(long, TimeUnit) - Method in class io.foldright.cffu.Cffu
-
Exceptionally completes this Cffu with a
TimeoutException
if not otherwise completed before the given timeout. - unwrapCfException(Throwable) - Static method in class io.foldright.cffu.CompletableFutureUtils
-
Unwraps CompletableFuture exception (
CompletionException
orExecutionException
) to its cause exception.
V
- valueOf(String) - Static method in enum io.foldright.cffu.CffuState
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum io.foldright.cffu.CffuState
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- whenComplete(BiConsumer<? super T, ? super Throwable>) - Method in class io.foldright.cffu.Cffu
-
Returns a new Cffu with the same result or exception as this stage, that executes the given action when this stage completes.
- whenCompleteAsync(BiConsumer<? super T, ? super Throwable>) - Method in class io.foldright.cffu.Cffu
-
Returns a new Cffu with the same result or exception as this stage, that executes the given action using
Cffu.defaultExecutor()
when this stage completes. - whenCompleteAsync(BiConsumer<? super T, ? super Throwable>, Executor) - Method in class io.foldright.cffu.Cffu
-
Returns a new Cffu with the same result or exception as this stage, that executes the given action using the supplied Executor when this stage completes.
- where - Variable in class io.foldright.cffu.eh.ExceptionInfo
-
The location where the exception occurs.
- withCffuFactory(CffuFactory) - Method in class io.foldright.cffu.Cffu
-
Returns a new Cffu with the given CffuFactory(contained configuration).
- withDefaultExecutor(Executor) - Method in class io.foldright.cffu.Cffu
-
Returns a new Cffu with the given defaultExecutor.
- withDefaultExecutor(Executor) - Method in class io.foldright.cffu.CffuFactory
-
Returns a CffuFactory from this CffuFactory with the defaultExecutor.
- wrap(Executor) - Method in interface io.foldright.cffu.spi.ExecutorWrapperProvider
-
Returns the executor wrapper of the given executor.
- wrap(Executor) - Method in class io.foldright.cffu.ttl.CffuTtlExecutorWrapperProvider
-
Returns the
TTL
executor wrapper of the given executor.
_
- _1 - Variable in class io.foldright.cffu.tuple.Tuple2
- _1 - Variable in class io.foldright.cffu.tuple.Tuple3
- _1 - Variable in class io.foldright.cffu.tuple.Tuple4
- _1 - Variable in class io.foldright.cffu.tuple.Tuple5
- _2 - Variable in class io.foldright.cffu.tuple.Tuple2
- _2 - Variable in class io.foldright.cffu.tuple.Tuple3
- _2 - Variable in class io.foldright.cffu.tuple.Tuple4
- _2 - Variable in class io.foldright.cffu.tuple.Tuple5
- _3 - Variable in class io.foldright.cffu.tuple.Tuple3
- _3 - Variable in class io.foldright.cffu.tuple.Tuple4
- _3 - Variable in class io.foldright.cffu.tuple.Tuple5
- _4 - Variable in class io.foldright.cffu.tuple.Tuple4
- _4 - Variable in class io.foldright.cffu.tuple.Tuple5
- _5 - Variable in class io.foldright.cffu.tuple.Tuple5
All Classes and Interfaces|All Packages|Serialized Form