diff --git a/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/accept-either-success-async.html b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/accept-either-success-async.html new file mode 100644 index 0000000..25a25df --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/accept-either-success-async.html @@ -0,0 +1,80 @@ + + + + + acceptEitherSuccessAsync + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

acceptEitherSuccessAsync

+
+

Returns a new CompletionStage that, when either given stage success, is executed using this stage's default asynchronous execution facility, with the corresponding result as argument to the supplied action.

This method is the same as CompletableFuture.acceptEitherAsync except for the either-success behavior(not either-complete).

Return

the new CompletableFuture

Parameters

action

the action to perform before completing the returned CompletableFuture

See also


Returns a new CompletionStage that, when either given stage success, is executed using the supplied executor, with the corresponding result as argument to the supplied action.

This method is the same as CompletableFuture.acceptEitherAsync except for the either-success behavior(not either-complete).

Return

the new CompletableFuture

Parameters

action

the action to perform before completing the returned CompletableFuture

executor

the executor to use for asynchronous execution

See also

+
+ +
+
+
+ + diff --git a/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/accept-either-success.html b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/accept-either-success.html new file mode 100644 index 0000000..1ca90bf --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/accept-either-success.html @@ -0,0 +1,80 @@ + + + + + acceptEitherSuccess + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

acceptEitherSuccess

+
+

Returns a new CompletableFuture that, when either given stage success, is executed with the corresponding result as argument to the supplied action.

This method is the same as CompletableFuture.acceptEither except for the either-success behavior(not either-complete).

Return

the new CompletableFuture

Parameters

action

the action to perform before completing the returned CompletableFuture

See also

+
+ +
+
+
+ + diff --git a/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/all-fast-fail-of-cffu.html b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/all-fast-fail-of-cffu.html new file mode 100644 index 0000000..cd506b0 --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/all-fast-fail-of-cffu.html @@ -0,0 +1,80 @@ + + + + + allFastFailOfCffu + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

allFastFailOfCffu

+
+
fun Collection<Cffu<*>>.allFastFailOfCffu(cffuFactory: CffuFactory = ABSENT): Cffu<Void>

Returns a new Cffu that is successful when all the given Cffus success, the results(Cffu<Void>) of the given Cffus are not reflected in the returned Cffu, but may be obtained by inspecting them individually. If any of the given Cffus complete exceptionally, then the returned Cffu also does so without waiting other incomplete given Cffus, with a CompletionException holding this exception as its cause. If no Cffus are provided, returns a Cffu completed with the value null.

This method is the same as CffuFactory.allFastFailOf, providing this method is convenient for method chaining.

If this collection is not empty, cffuFactory argument is optional, use the cffuFactory of the first cffu element. If this collection is empty and nocffuFactory provided, throw IllegalArgumentException.

See also


fun Array<out Cffu<*>>.allFastFailOfCffu(cffuFactory: CffuFactory = ABSENT): Cffu<Void>

Returns a new Cffu that is successful when all the given Cffus success, the results(Cffu<Void>) of the given Cffus are not reflected in the returned Cffu, but may be obtained by inspecting them individually. If any of the given Cffus complete exceptionally, then the returned Cffu also does so without waiting other incomplete given Cffus, with a CompletionException holding this exception as its cause. If no Cffus are provided, returns a Cffu completed with the value null.

This method is the same as CffuFactory.allFastFailOf, providing this method is convenient for method chaining.

If this array is not empty, cffuFactory argument is optional, use the cffuFactory of the first cffu element. If this array is empty and nocffuFactory provided, throw IllegalArgumentException.

See also


@JvmName(name = "allFastFailOfCffuCs")
fun Collection<CompletionStage<*>>.allFastFailOfCffu(cffuFactory: CffuFactory): Cffu<Void>

Returns a new Cffu that is successful when all the given stages success, the results(Cffu<Void>) of the given stages are not reflected in the returned Cffu, but may be obtained by inspecting them individually. 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. If no stages are provided, returns a Cffu completed with the value null.

This method is the same as CffuFactory.allFastFailOf, providing this method is convenient for method chaining.

See also

+
+ +
+
+
+ + diff --git a/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/all-fast-fail-of-completable-future.html b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/all-fast-fail-of-completable-future.html new file mode 100644 index 0000000..6108cf1 --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/all-fast-fail-of-completable-future.html @@ -0,0 +1,80 @@ + + + + + allFastFailOfCompletableFuture + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

allFastFailOfCompletableFuture

+
+

Returns a new CompletableFuture that is successful when all the given CompletableFutures success, the results(CompletableFuture<Void>) of the given CompletableFutures are not reflected in the returned CompletableFuture, but may be obtained by inspecting them individually. If any of the given CompletableFutures complete exceptionally, then the returned CompletableFuture also does so without waiting other incomplete given CompletableFutures, with a CompletionException holding this exception as its cause. If no CompletableFutures are provided, returns a CompletableFuture completed with the value null.

If you need the results of given stages, prefer below methods:

This method is the same as CompletableFutureUtils.allFastFailOf, providing this method is convenient for method chaining.

See also

+
+ +
+
+
+ + diff --git a/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/all-of-cffu.html b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/all-of-cffu.html new file mode 100644 index 0000000..22622ed --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/all-of-cffu.html @@ -0,0 +1,80 @@ + + + + + allOfCffu + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

allOfCffu

+
+
fun Collection<Cffu<*>>.allOfCffu(cffuFactory: CffuFactory = ABSENT): Cffu<Void>

Returns a new Cffu that is completed when all the given Cffus complete. If any of the given Cffu complete exceptionally, then the returned Cffu also does so, with a CompletionException holding this exception as its cause. Otherwise, the results, if any, of the given Cffus are not reflected in the returned Cffu(Cffu<Void>), but may be obtained by inspecting them individually. If no Cffus are provided, returns a Cffu completed with the value null.

This method is the same as CffuFactory.allOf, providing this method is convenient for method chaining.

If this collection is not empty, cffuFactory argument is optional, use the cffuFactory of the first cffu element. If this collection is empty and nocffuFactory provided, throw IllegalArgumentException.

See also


fun Array<out Cffu<*>>.allOfCffu(cffuFactory: CffuFactory = ABSENT): Cffu<Void>

Returns a new Cffu that is completed when all the given Cffus complete. If any of the given Cffu complete exceptionally, then the returned Cffu also does so, with a CompletionException holding this exception as its cause. Otherwise, the results, if any, of the given Cffus are not reflected in the returned Cffu(Cffu<Void>), but may be obtained by inspecting them individually. If no Cffus are provided, returns a Cffu completed with the value null.

This method is the same as CffuFactory.allOf, providing this method is convenient for method chaining.

If this array is not empty, cffuFactory argument is optional, use the cffuFactory of the first cffu element. If this array is empty and nocffuFactory provided, throw IllegalArgumentException.

See also


@JvmName(name = "allOfCffuCs")
fun Collection<CompletionStage<*>>.allOfCffu(cffuFactory: CffuFactory): Cffu<Void>
fun Array<out CompletionStage<*>>.allOfCffu(cffuFactory: CffuFactory): Cffu<Void>

Returns a new Cffu that is completed when all the given stages complete. If any of the given Cffu complete exceptionally, then the returned Cffu also does so, with a CompletionException holding this exception as its cause. Otherwise, the results, if any, of the given stages are not reflected in the returned Cffu(Cffu<Void>), but may be obtained by inspecting them individually. If no stages are provided, returns a Cffu completed with the value null.

This method is the same as CffuFactory.allOf, providing this method is convenient for method chaining.

See also

+
+ +
+
+
+ + diff --git a/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/all-of-completable-future.html b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/all-of-completable-future.html new file mode 100644 index 0000000..ed27b6f --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/all-of-completable-future.html @@ -0,0 +1,80 @@ + + + + + allOfCompletableFuture + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

allOfCompletableFuture

+
+

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. Otherwise, the results, if any, of the given stages are not reflected in the returned CompletableFuture, but may be obtained by inspecting them individually. If no stages are provided, returns a CompletableFuture completed with the value null.

If you need the results of given stages, prefer below methods:

This method is the same as CompletableFutureUtils.allOf, providing this method is convenient for method chaining.

See also

+
+ +
+
+
+ + diff --git a/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/all-results-fast-fail-of-cffu.html b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/all-results-fast-fail-of-cffu.html new file mode 100644 index 0000000..f0f7a93 --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/all-results-fast-fail-of-cffu.html @@ -0,0 +1,80 @@ + + + + + allResultsFastFailOfCffu + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

allResultsFastFailOfCffu

+
+
fun <T> Collection<Cffu<out T>>.allResultsFastFailOfCffu(cffuFactory: CffuFactory = ABSENT): Cffu<List<T>>

Returns a new Cffu with the results in the same order of the given Cffus arguments, the new Cffu success when all the given Cffus success. If any of the given Cffus complete exceptionally, then the returned Cffu also does so without waiting other incomplete given Cffus, with a CompletionException holding this exception as its cause. If no Cffus are provided, returns a Cffu completed with the value empty list.

This method is the same as allFastFailOfCffu, except the returned Cffu contains the results of input Cffus.

This method is the same as CffuFactory.allResultsFastFailOf, providing this method is convenient for method chaining.

If this collection is not empty, cffuFactory argument is optional, use the cffuFactory of the first cffu element. If this collection is empty and nocffuFactory provided, throw IllegalArgumentException.

See also


fun <T> Array<out Cffu<out T>>.allResultsFastFailOfCffu(cffuFactory: CffuFactory = ABSENT): Cffu<List<T>>

Returns a new Cffu with the results in the same order of the given Cffus arguments, the new Cffu success when all the given Cffus success. If any of the given Cffus complete exceptionally, then the returned Cffu also does so without waiting other incomplete given Cffus, with a CompletionException holding this exception as its cause. If no Cffus are provided, returns a Cffu completed with the value empty list.

This method is the same as allFastFailOfCffu, except the returned Cffu contains the results of input Cffus.

This method is the same as CffuFactory.allResultsFastFailOf, providing this method is convenient for method chaining.

If this array is not empty, cffuFactory argument is optional, use the cffuFactory of the first cffu element. If this array is empty and nocffuFactory provided, throw IllegalArgumentException.

See also


@JvmName(name = "allResultsFastFailOfCffuCs")
fun <T> Collection<CompletionStage<out T>>.allResultsFastFailOfCffu(cffuFactory: CffuFactory): Cffu<List<T>>

Returns a new Cffu with the results in the same order of the given stages arguments, the new Cffu success when all the given stages success. 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. If no stages are provided, returns a Cffu completed with the value empty list.

This method is the same as allFastFailOfCffu, except the returned Cffu contains the results of input Cffus.

This method is the same as CffuFactory.allResultsFastFailOf, providing this method is convenient for method chaining.

See also

+
+ +
+
+
+ + diff --git a/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/all-results-fast-fail-of-completable-future.html b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/all-results-fast-fail-of-completable-future.html new file mode 100644 index 0000000..8490678 --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/all-results-fast-fail-of-completable-future.html @@ -0,0 +1,80 @@ + + + + + allResultsFastFailOfCompletableFuture + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

allResultsFastFailOfCompletableFuture

+
+

Returns a new CompletableFuture with the results in the same order of all the given CompletableFutures arguments, the new CompletableFuture success when all the given CompletableFutures success. If any of the given CompletableFutures complete exceptionally, then the returned CompletableFuture also does so without waiting other incomplete given CompletableFutures, with a CompletionException holding this exception as its cause. If no CompletableFutures are provided, returns a CompletableFuture completed with the value empty list.

This method is the same as allFastFailOfCompletableFuture, except the returned CompletableFuture contains the results of input CompletableFutures.

This method is the same as CompletableFutureUtils.allResultsFastFailOf, providing this method is convenient for method chaining.

See also

+
+ +
+
+
+ + diff --git a/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/all-results-of-cffu.html b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/all-results-of-cffu.html new file mode 100644 index 0000000..d006218 --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/all-results-of-cffu.html @@ -0,0 +1,80 @@ + + + + + allResultsOfCffu + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

allResultsOfCffu

+
+
fun <T> Collection<Cffu<out T>>.allResultsOfCffu(cffuFactory: CffuFactory = ABSENT): Cffu<List<T>>

Returns a new Cffu with the results in the same order of the given Cffus arguments, the new Cffu is completed when all the given Cffus complete. If any of the given Cffus complete exceptionally, then the returned Cffu also does so, with a CompletionException holding this exception as its cause. If no Cffus are provided, returns a Cffu completed with the value empty list.

This method is the same as allOfCffu, except the returned Cffu contains the results of input Cffus.

This method is the same as CffuFactory.allResultsOf, providing this method is convenient for method chaining.

If this collection is not empty, cffuFactory argument is optional, use the cffuFactory of the first cffu element. If this collection is empty and nocffuFactory provided, throw IllegalArgumentException.

See also


fun <T> Array<out Cffu<out T>>.allResultsOfCffu(cffuFactory: CffuFactory = ABSENT): Cffu<List<T>>

Returns a new Cffu with the results in the same order of the given Cffus arguments, the new Cffu is completed when all the given Cffus complete. If any of the given Cffus complete exceptionally, then the returned Cffu also does so, with a CompletionException holding this exception as its cause. If no Cffus are provided, returns a Cffu completed with the value empty list.

This method is the same as allOfCffu, except the returned Cffu contains the results of input Cffus.

This method is the same as CffuFactory.allResultsOf, providing this method is convenient for method chaining.

If this array is not empty, cffuFactory argument is optional, use the cffuFactory of the first cffu element. If this array is empty and nocffuFactory provided, throw IllegalArgumentException.

See also


@JvmName(name = "allResultsOfCffuCs")
fun <T> Collection<CompletionStage<out T>>.allResultsOfCffu(cffuFactory: CffuFactory): Cffu<List<T>>
fun <T> Array<out CompletionStage<out T>>.allResultsOfCffu(cffuFactory: CffuFactory): Cffu<List<T>>

Returns a new Cffu with the results in the same order of the given stages arguments, the new Cffu 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. If no stages are provided, returns a Cffu completed with the value empty list.

This method is the same as allOfCffu, except the returned Cffu contains the results of input stages.

This method is the same as CffuFactory.allResultsOf, providing this method is convenient for method chaining.

See also

+
+ +
+
+
+ + diff --git a/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/all-results-of-completable-future.html b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/all-results-of-completable-future.html new file mode 100644 index 0000000..51867fd --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/all-results-of-completable-future.html @@ -0,0 +1,80 @@ + + + + + allResultsOfCompletableFuture + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

allResultsOfCompletableFuture

+
+

Returns a new CompletableFuture with the results in the same order of all the given CompletableFutures arguments, the returned new CompletableFuture is completed when all the given CompletableFutures complete. If any of the given CompletableFutures complete exceptionally, then the returned CompletableFuture also does so, with a CompletionException holding this exception as its cause. If no CompletableFutures are provided, returns a CompletableFuture completed with the value empty list.

This method is the same as allOfCompletableFuture, except the returned CompletableFuture contains the results of input CompletableFutures.

This method is the same as CompletableFutureUtils.allResultsOf, providing this method is convenient for method chaining.

See also

+
+ +
+
+
+ + diff --git a/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/any-of-cffu.html b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/any-of-cffu.html new file mode 100644 index 0000000..b485c82 --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/any-of-cffu.html @@ -0,0 +1,80 @@ + + + + + anyOfCffu + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

anyOfCffu

+
+
fun <T> Collection<Cffu<out T>>.anyOfCffu(cffuFactory: CffuFactory = ABSENT): Cffu<T>

Returns a new Cffu that is completed when any of the given Cffus complete, with the same result.

This method is the same as CffuFactory.anyOf, providing this method is convenient for method chaining.

If this collection is not empty, cffuFactory argument is optional, use the cffuFactory of the first cffu element. If this collection is empty and nocffuFactory provided, throw IllegalArgumentException.

See also


fun <T> Array<out Cffu<out T>>.anyOfCffu(cffuFactory: CffuFactory = ABSENT): Cffu<T>

Returns a new Cffu that is completed when any of the given Cffus complete, with the same result.

This method is the same as CffuFactory.anyOf, providing this method is convenient for method chaining.

If this array is not empty, cffuFactory argument is optional, use the cffuFactory of the first cffu element. If this array is empty and nocffuFactory provided, throw IllegalArgumentException.

See also


@JvmName(name = "anyOfCffuCs")
fun <T> Collection<CompletionStage<out T>>.anyOfCffu(cffuFactory: CffuFactory): Cffu<T>
fun <T> Array<out CompletionStage<out T>>.anyOfCffu(cffuFactory: CffuFactory): Cffu<T>

Returns a new Cffu that is completed when any of the given stages complete, with the same result.

This method is the same as CffuFactory.anyOf, providing this method is convenient for method chaining.

See also

+
+ +
+
+
+ + diff --git a/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/any-of-completable-future.html b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/any-of-completable-future.html new file mode 100644 index 0000000..eafee45 --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/any-of-completable-future.html @@ -0,0 +1,80 @@ + + + + + anyOfCompletableFuture + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

anyOfCompletableFuture

+
+

Returns a new CompletableFuture that is completed when any of the given CompletableFutures complete, with the same result. Otherwise, if it completed exceptionally, the returned CompletableFuture also does so, with a CompletionException holding this exception as its cause. If no CompletableFutures are provided, returns an incomplete CompletableFuture.

This method is the same as CompletableFutureUtils.anyOf, providing this method is convenient for method chaining.

See also

+
+ +
+
+
+ + diff --git a/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/any-success-of-cffu.html b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/any-success-of-cffu.html new file mode 100644 index 0000000..96d710e --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/any-success-of-cffu.html @@ -0,0 +1,80 @@ + + + + + anySuccessOfCffu + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

anySuccessOfCffu

+
+
fun <T> Collection<Cffu<out T>>.anySuccessOfCffu(cffuFactory: CffuFactory = ABSENT): Cffu<T>

Returns a new Cffu that is successful when any of the given Cffus success, with the same result. Otherwise, all the given Cffus complete exceptionally, the returned Cffu also does so, with a CompletionException holding an exception from any of the given Cffus as its cause. If no Cffus are provided, returns a new Cffu that is already completed exceptionally with a CompletionException holding a NoCfsProvidedException as its cause.

This method is the same as CffuFactory.anySuccessOf, providing this method is convenient for method chaining.

If this collection is not empty, cffuFactory argument is optional, use the cffuFactory of the first cffu element. If this collection is empty and nocffuFactory provided, throw IllegalArgumentException.

See also


fun <T> Array<out Cffu<out T>>.anySuccessOfCffu(cffuFactory: CffuFactory = ABSENT): Cffu<T>

Returns a new Cffu that is successful when any of the given Cffus success, with the same result. Otherwise, all the given Cffus complete exceptionally, the returned Cffu also does so, with a CompletionException holding an exception from any of the given Cffus as its cause. If no Cffus are provided, returns a new Cffu that is already completed exceptionally with a CompletionException holding a NoCfsProvidedException as its cause.

This method is the same as CffuFactory.anySuccessOf, providing this method is convenient for method chaining.

If this array is not empty, cffuFactory argument is optional, use the cffuFactory of the first cffu element. If this array is empty and nocffuFactory provided, throw IllegalArgumentException.

See also


@JvmName(name = "anySuccessOfCffuCs")
fun <T> Collection<CompletionStage<out T>>.anySuccessOfCffu(cffuFactory: CffuFactory): Cffu<T>
fun <T> Array<out CompletionStage<out T>>.anySuccessOfCffu(cffuFactory: CffuFactory): Cffu<T>

Returns a new Cffu that is successful when any of the given stages success, with the same result. Otherwise, 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. If no stages are provided, returns a new Cffu that is already completed exceptionally with a CompletionException holding a NoCfsProvidedException as its cause.

This method is the same as CffuFactory.anySuccessOf, providing this method is convenient for method chaining.

See also

+
+ +
+
+
+ + diff --git a/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/any-success-of-completable-future.html b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/any-success-of-completable-future.html new file mode 100644 index 0000000..4da6b15 --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/any-success-of-completable-future.html @@ -0,0 +1,80 @@ + + + + + anySuccessOfCompletableFuture + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

anySuccessOfCompletableFuture

+
+

Returns a new CompletableFuture that is successful when any of the given CompletableFutures success, with the same result. Otherwise, all the given CompletableFutures complete exceptionally, the returned CompletableFuture also does so, with a CompletionException holding an exception from any of the given CompletableFutures as its cause. If no CompletableFutures are provided, returns a new CompletableFuture that is already completed exceptionally with a CompletionException holding a NoCfsProvidedException as its cause.

This method is the same as CompletableFutureUtils.anySuccessOf, providing this method is convenient for method chaining.

See also

+
+ +
+
+
+ + diff --git a/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/apply-to-either-success-async.html b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/apply-to-either-success-async.html new file mode 100644 index 0000000..41b3439 --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/apply-to-either-success-async.html @@ -0,0 +1,80 @@ + + + + + applyToEitherSuccessAsync + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

applyToEitherSuccessAsync

+
+

Returns a new CompletionStage that, when either given stage success, is executed using this stage's default asynchronous execution facility, with the corresponding result as argument to the supplied function.

This method is the same as CompletableFuture.applyToEitherAsync except for the either-success behavior(not either-complete).

Return

the new CompletableFuture

Parameters

fn

the function to use to compute the value of the returned CompletableFuture

the function's return type

See also


Returns a new CompletionStage that, when either given stage success, is executed using the supplied executor, with the corresponding result as argument to the supplied function.

This method is the same as CompletableFuture.applyToEitherAsync except for the either-success behavior(not either-complete).

Return

the new CompletableFuture

Parameters

fn

the function to use to compute the value of the returned CompletableFuture

executor

the executor to use for asynchronous execution

the function's return type

See also

+
+ +
+
+
+ + diff --git a/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/apply-to-either-success.html b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/apply-to-either-success.html new file mode 100644 index 0000000..259d34a --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/apply-to-either-success.html @@ -0,0 +1,80 @@ + + + + + applyToEitherSuccess + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

applyToEitherSuccess

+
+

Returns a new CompletionStage that, when either given stage success, is executed with the corresponding result as argument to the supplied function.

This method is the same as CompletableFuture.applyToEither except for the either-success behavior(not either-complete).

Return

the new CompletableFuture

Parameters

fn

the function to use to compute the value of the returned CompletableFuture

the function's return type

See also

+
+ +
+
+
+ + diff --git a/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/catching-async.html b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/catching-async.html new file mode 100644 index 0000000..0cd8319 --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/catching-async.html @@ -0,0 +1,80 @@ + + + + + catchingAsync + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

catchingAsync

+
+
fun <T, X : Throwable, C : CompletionStage<in T>> C.catchingAsync(exceptionType: Class<X>, fallback: Function<in X, out T>): C

Returns a new CompletionStage that, when this stage completes exceptionally with the given exceptionType, is executed with this stage's exception as the argument to the supplied function, using this stage's default asynchronous execution facility. Otherwise, the returned stage contains same result as input CompletionStage.

Parameters

exceptionType

the exception type that triggers use of fallback. The exception type is matched against the input's exception. To avoid hiding bugs and other unrecoverable errors, callers should prefer more specific types, avoiding Throwable.class in particular.

fallback

the Function to be called if input fails with the expected exception type. The function's argument is the input's exception.


fun <T, X : Throwable, C : CompletionStage<in T>> C.catchingAsync(exceptionType: Class<X>, fallback: Function<in X, out T>, executor: Executor): C

Returns a new CompletionStage that, when this stage completes exceptionally with the given exceptionType, is executed with this stage's exception as the argument to the supplied function, using the supplied Executor. Otherwise, the returned stage contains same result as input CompletionStage.

Parameters

exceptionType

the exception type that triggers use of fallback. The exception type is matched against the input's exception. To avoid hiding bugs and other unrecoverable errors, callers should prefer more specific types, avoiding Throwable.class in particular.

fallback

the Function to be called if input fails with the expected exception type. The function's argument is the input's exception.

executor

the executor to use for asynchronous execution

+
+ +
+
+
+ + diff --git a/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/catching-compose-async.html b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/catching-compose-async.html new file mode 100644 index 0000000..4e8d5a3 --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/catching-compose-async.html @@ -0,0 +1,80 @@ + + + + + catchingComposeAsync + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

catchingComposeAsync

+
+
fun <T, X : Throwable, C : CompletionStage<in T>> C.catchingComposeAsync(exceptionType: Class<X>, fallback: Function<in X, out CompletionStage<T>>): C

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 given stage's exception, using given stage's default asynchronous execution facility.

Parameters

exceptionType

the exception type that triggers use of fallback. The exception type is matched against the input's exception. To avoid hiding bugs and other unrecoverable errors, callers should prefer more specific types, avoiding Throwable.class in particular.

fallback

the Function to be called if input fails with the expected exception type. The function's argument is the input's exception.


fun <T, X : Throwable, C : CompletionStage<in T>> C.catchingComposeAsync(exceptionType: Class<X>, fallback: Function<in X, out CompletionStage<T>>, executor: Executor): C

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 given's exception, using the supplied Executor.

Parameters

exceptionType

the exception type that triggers use of fallback. The exception type is matched against the input's exception. To avoid hiding bugs and other unrecoverable errors, callers should prefer more specific types, avoiding Throwable.class in particular.

fallback

the Function to be called if input fails with the expected exception type. The function's argument is the input's exception.

executor

the executor to use for asynchronous execution

+
+ +
+
+
+ + diff --git a/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/catching-compose.html b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/catching-compose.html new file mode 100644 index 0000000..6d860e5 --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/catching-compose.html @@ -0,0 +1,80 @@ + + + + + catchingCompose + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

catchingCompose

+
+
fun <T, X : Throwable, C : CompletionStage<in T>> C.catchingCompose(exceptionType: Class<X>, fallback: Function<in X, out CompletionStage<T>>): C

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 given stage's exception.

Parameters

exceptionType

the exception type that triggers use of fallback. The exception type is matched against the input's exception. To avoid hiding bugs and other unrecoverable errors, callers should prefer more specific types, avoiding Throwable.class in particular.

fallback

the Function to be called if input fails with the expected exception type. The function's argument is the input's exception.

+
+ +
+
+
+ + diff --git a/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/catching.html b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/catching.html new file mode 100644 index 0000000..2c9a784 --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/catching.html @@ -0,0 +1,80 @@ + + + + + catching + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

catching

+
+
fun <T, X : Throwable, C : CompletionStage<in T>> C.catching(exceptionType: Class<X>, fallback: Function<in X, out T>): C

Returns a new CompletionStage that, when this stage completes exceptionally with the given exceptionType, is executed with this stage's exception as the argument to the supplied function. Otherwise, the returned stage contains same result as input CompletionStage.

Parameters

exceptionType

the exception type that triggers use of fallback. The exception type is matched against the input's exception. To avoid hiding bugs and other unrecoverable errors, callers should prefer more specific types, avoiding Throwable.class in particular.

fallback

the Function to be called if input fails with the expected exception type. The function's argument is the input's exception.

+
+ +
+
+
+ + diff --git a/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/cffu-complete-on-timeout.html b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/cffu-complete-on-timeout.html new file mode 100644 index 0000000..08400e9 --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/cffu-complete-on-timeout.html @@ -0,0 +1,80 @@ + + + + + cffuCompleteOnTimeout + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

cffuCompleteOnTimeout

+
+
fun <T, C : CompletableFuture<in T>> C.cffuCompleteOnTimeout(value: T, timeout: Long, unit: TimeUnit): C

Completes this CompletableFuture with the given value if not otherwise completed before the given timeout.

Uses CompletableFuture's default asynchronous execution facility as executorWhenTimeout.

Return

the new CompletableFuture

Parameters

value

the value to use upon timeout

timeout

how long to wait before completing normally with the given value, in units of unit

unit

a TimeUnit determining how to interpret the timeout parameter


fun <T, C : CompletableFuture<in T>> C.cffuCompleteOnTimeout(value: T, executorWhenTimeout: Executor, timeout: Long, unit: TimeUnit): C

Completes this CompletableFuture with the given value if not otherwise completed before the given timeout.

Return

the new CompletableFuture

Parameters

value

the value to use upon timeout

executorWhenTimeout

the async executor when triggered by timeout

timeout

how long to wait before completing normally with the given value, in units of unit

unit

a TimeUnit determining how to interpret the timeout parameter

+
+ +
+
+
+ + diff --git a/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/cffu-or-timeout.html b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/cffu-or-timeout.html new file mode 100644 index 0000000..5e17de2 --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/cffu-or-timeout.html @@ -0,0 +1,80 @@ + + + + + cffuOrTimeout + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

cffuOrTimeout

+
+
fun <T, C : CompletableFuture<out T>> C.cffuOrTimeout(timeout: Long, unit: TimeUnit): C

Exceptionally completes this CompletableFuture with a TimeoutException if not otherwise completed before the given timeout.

Uses CompletableFuture's default asynchronous execution facility as executorWhenTimeout.

Return

the new CompletableFuture

Parameters

timeout

how long to wait before completing exceptionally with a TimeoutException, in units of unit

unit

a TimeUnit determining how to interpret the timeout parameter


fun <T, C : CompletableFuture<out T>> C.cffuOrTimeout(executorWhenTimeout: Executor, timeout: Long, unit: TimeUnit): C

Exceptionally completes this CompletableFuture with a TimeoutException if not otherwise completed before the given timeout.

Return

the new CompletableFuture

Parameters

executorWhenTimeout

the async executor when triggered by timeout

timeout

how long to wait before completing exceptionally with a TimeoutException, in units of unit

unit

a TimeUnit determining how to interpret the timeout parameter

+
+ +
+
+
+ + diff --git a/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/cffu-state.html b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/cffu-state.html new file mode 100644 index 0000000..734d7be --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/cffu-state.html @@ -0,0 +1,80 @@ + + + + + cffuState + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

cffuState

+
+

Returns the computation state(CffuState), this method is equivalent to CompletableFuture.state with java version compatibility logic, so you can invoke in old java 18-.

Return

the computation state

See also

+
+ +
+
+
+ + diff --git a/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/complete-async.html b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/complete-async.html new file mode 100644 index 0000000..8069269 --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/complete-async.html @@ -0,0 +1,80 @@ + + + + + completeAsync + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

completeAsync

+
+
fun <T, C : CompletableFuture<in T>> C.completeAsync(supplier: Supplier<out T>): C

Completes given CompletableFuture with the result of the given Supplier function invoked from an asynchronous task using the default executor.

Return

given CompletableFuture

Parameters

supplier

a function returning the value to be used to complete given CompletableFuture


fun <T, C : CompletableFuture<in T>> C.completeAsync(supplier: Supplier<out T>, executor: Executor): C

Completes given CompletableFuture with the result of the given Supplier function invoked from an asynchronous task using the given executor.

Return

given CompletableFuture

Parameters

supplier

a function returning the value to be used to complete given CompletableFuture

executor

the executor to use for asynchronous execution

+
+ +
+
+
+ + diff --git a/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/complete-exceptionally-async.html b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/complete-exceptionally-async.html new file mode 100644 index 0000000..6b8a763 --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/complete-exceptionally-async.html @@ -0,0 +1,80 @@ + + + + + completeExceptionallyAsync + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

completeExceptionallyAsync

+
+

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.

Return

the given CompletableFuture

Parameters

supplier

a function returning the value to be used to complete given CompletableFuture

See also


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.

Return

the given CompletableFuture

Parameters

supplier

a function returning the value to be used to complete given CompletableFuture

executor

the executor to use for asynchronous execution

See also

+
+ +
+
+
+ + diff --git a/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/complete-on-timeout.html b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/complete-on-timeout.html new file mode 100644 index 0000000..1238ff1 --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/complete-on-timeout.html @@ -0,0 +1,80 @@ + + + + + completeOnTimeout + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

completeOnTimeout

+
+
fun <T, C : CompletableFuture<in T>> C.completeOnTimeout(value: T, timeout: Long, unit: TimeUnit): C

Completes this CompletableFuture with the given value if not otherwise completed before the given timeout.

CAUTION: This method and CompletableFuture.completeOnTimeout is UNSAFE!

When triggered by timeout, the subsequent non-async actions of the dependent CompletableFutures are performed in the SINGLE thread builtin executor of CompletableFuture for delay execution (including timeout function). So the long-running subsequent non-async actions lead to the CompletableFuture dysfunction (including delay execution and timeout).

Strong recommend using the safe method cffuCompleteOnTimeout instead of this method and CompletableFuture.completeOnTimeout.

Unless all subsequent actions of dependent CompletableFutures is ensured executing async(aka. the dependent CompletableFutures is created by async methods), using this method and CompletableFuture.completeOnTimeout is one less thread switch of task execution when triggered by timeout.

Return

this CompletableFuture

Parameters

value

the value to use upon timeout

timeout

how long to wait before completing normally with the given value, in units of unit

unit

a TimeUnit determining how to interpret the timeout parameter

See also

+
+ +
+
+
+ + diff --git a/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/component1.html b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/component1.html new file mode 100644 index 0000000..0b66ba4 --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/component1.html @@ -0,0 +1,80 @@ + + + + + component1 + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

component1

+
+
operator fun <T1> Tuple2<T1, *>.component1(): T1
operator fun <T1> Tuple3<T1, *, *>.component1(): T1
operator fun <T1> Tuple4<T1, *, *, *>.component1(): T1
operator fun <T1> Tuple5<T1, *, *, *, *>.component1(): T1
+
+ +
+
+
+ + diff --git a/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/component2.html b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/component2.html new file mode 100644 index 0000000..7f16722 --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/component2.html @@ -0,0 +1,80 @@ + + + + + component2 + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

component2

+
+
operator fun <T2> Tuple2<*, T2>.component2(): T2
operator fun <T2> Tuple3<*, T2, *>.component2(): T2
operator fun <T2> Tuple4<*, T2, *, *>.component2(): T2
operator fun <T2> Tuple5<*, T2, *, *, *>.component2(): T2
+
+ +
+
+
+ + diff --git a/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/component3.html b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/component3.html new file mode 100644 index 0000000..e32182e --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/component3.html @@ -0,0 +1,80 @@ + + + + + component3 + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

component3

+
+
operator fun <T3> Tuple3<*, *, T3>.component3(): T3
operator fun <T3> Tuple4<*, *, T3, *>.component3(): T3
operator fun <T3> Tuple5<*, *, T3, *, *>.component3(): T3
+
+ +
+
+
+ + diff --git a/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/component4.html b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/component4.html new file mode 100644 index 0000000..fed06ed --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/component4.html @@ -0,0 +1,80 @@ + + + + + component4 + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

component4

+
+
operator fun <T4> Tuple4<*, *, *, T4>.component4(): T4
operator fun <T4> Tuple5<*, *, *, T4, *>.component4(): T4
+
+ +
+
+
+ + diff --git a/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/component5.html b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/component5.html new file mode 100644 index 0000000..9317a30 --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/component5.html @@ -0,0 +1,80 @@ + + + + + component5 + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

component5

+
+
operator fun <T5> Tuple5<*, *, *, *, T5>.component5(): T5
+
+ +
+
+
+ + diff --git a/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/copy.html b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/copy.html new file mode 100644 index 0000000..ee96d51 --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/copy.html @@ -0,0 +1,80 @@ + + + + + copy + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

copy

+
+

Returns a new CompletableFuture that is completed normally with the same value as this CompletableFuture when it completes normally. If this CompletableFuture completes exceptionally, then the returned CompletableFuture completes exceptionally with a CompletionException with this exception as cause. The behavior is equivalent to thenApply(x -> x). This method may be useful as a form of "defensive copying", to prevent clients from completing, while still being able to arrange dependent actions.

Return

the new CompletableFuture

+
+ +
+
+
+ + diff --git a/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/exception-now.html b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/exception-now.html new file mode 100644 index 0000000..384c484 --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/exception-now.html @@ -0,0 +1,80 @@ + + + + + exceptionNow + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

exceptionNow

+
+

Returns the exception thrown by the task, without waiting.

This method is for cases where the caller knows that the task has already completed with an exception.

Return

the exception thrown by the task

Throws

if the task has not completed, the task completed normally, or the task was cancelled

+
+ +
+
+
+ + diff --git a/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/exceptionally-async.html b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/exceptionally-async.html new file mode 100644 index 0000000..dcb3142 --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/exceptionally-async.html @@ -0,0 +1,80 @@ + + + + + exceptionallyAsync + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

exceptionallyAsync

+
+

Returns a new CompletionStage that, when this stage completes exceptionally, is executed with this stage's exception as the argument to the supplied function, using this stage's default asynchronous execution facility. Otherwise, if this stage completes normally, then the returned stage also completes normally with the same value.

Return

the new CompletionStage

Parameters

fn

the function to use to compute the value of the returned CompletionStage if this CompletionStage completed exceptionally


fun <T, C : CompletionStage<in T>> C.exceptionallyAsync(fn: Function<Throwable, out T>, executor: Executor): C

Returns a new CompletionStage that, when this stage completes exceptionally, is executed with this stage's exception as the argument to the supplied function, using the supplied Executor. Otherwise, if this stage completes normally, then the returned stage also completes normally with the same value.

Return

the new CompletionStage

Parameters

fn

the function to use to compute the value of the returned CompletionStage if this CompletionStage completed exceptionally

executor

the executor to use for asynchronous execution

+
+ +
+
+
+ + diff --git a/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/exceptionally-compose-async.html b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/exceptionally-compose-async.html new file mode 100644 index 0000000..760dca6 --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/exceptionally-compose-async.html @@ -0,0 +1,80 @@ + + + + + exceptionallyComposeAsync + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

exceptionallyComposeAsync

+
+

Returns a new CompletionStage that, when given stage completes exceptionally, is composed using the results of the supplied function applied to given stage's exception, using given stage's default asynchronous execution facility.

Return

the new CompletionStage

Parameters

fn

the function to use to compute the returned CompletionStage if given CompletionStage completed exceptionally


Returns a new CompletionStage that, when given stage completes exceptionally, is composed using the results of the supplied function applied to given stage's exception, using the supplied Executor.

Return

the new CompletionStage

Parameters

fn

the function to use to compute the returned CompletionStage if given CompletionStage completed exceptionally

executor

the executor to use for asynchronous execution

+
+ +
+
+
+ + diff --git a/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/exceptionally-compose.html b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/exceptionally-compose.html new file mode 100644 index 0000000..cfbba19 --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/exceptionally-compose.html @@ -0,0 +1,80 @@ + + + + + exceptionallyCompose + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

exceptionallyCompose

+
+

Returns a new CompletionStage that, when given stage completes exceptionally, is composed using the results of the supplied function applied to given stage's exception.

Return

the new CompletionStage

Parameters

fn

the function to use to compute the returned CompletionStage if given CompletionStage completed exceptionally

+
+ +
+
+
+ + diff --git a/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/get-success-now.html b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/get-success-now.html new file mode 100644 index 0000000..50e7c2c --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/get-success-now.html @@ -0,0 +1,80 @@ + + + + + getSuccessNow + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

getSuccessNow

+
+
fun <T> CompletableFuture<T>.getSuccessNow(valueIfNotSuccess: T): T

Returns the result value if completed successfully, else returns the given valueIfNotSuccess.

This method will not throw exceptions (CancellationException/CompletionException/ExecutionException/IllegalStateException/...).

Return

the result value, if completed successfully, else the given valueIfNotSuccess

Parameters

valueIfNotSuccess

the value to return if not completed successfully

+
+ +
+
+
+ + diff --git a/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/index.html b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/index.html new file mode 100644 index 0000000..d7c2147 --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/index.html @@ -0,0 +1,943 @@ + + + + + io.foldright.cffu.kotlin + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Package-level declarations

+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns a new CompletableFuture that, when either given stage success, is executed with the corresponding result as argument to the supplied action.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns a new CompletionStage that, when either given stage success, is executed using this stage's default asynchronous execution facility, with the corresponding result as argument to the supplied action.

Returns a new CompletionStage that, when either given stage success, is executed using the supplied executor, with the corresponding result as argument to the supplied action.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Array<out Cffu<*>>.allFastFailOfCffu(cffuFactory: CffuFactory = ABSENT): Cffu<Void>
fun Collection<Cffu<*>>.allFastFailOfCffu(cffuFactory: CffuFactory = ABSENT): Cffu<Void>

Returns a new Cffu that is successful when all the given Cffus success, the results(Cffu<Void>) of the given Cffus are not reflected in the returned Cffu, but may be obtained by inspecting them individually. If any of the given Cffus complete exceptionally, then the returned Cffu also does so without waiting other incomplete given Cffus, with a CompletionException holding this exception as its cause. If no Cffus are provided, returns a Cffu completed with the value null.

@JvmName(name = "allFastFailOfCffuCs")
fun Collection<CompletionStage<*>>.allFastFailOfCffu(cffuFactory: CffuFactory): Cffu<Void>

Returns a new Cffu that is successful when all the given stages success, the results(Cffu<Void>) of the given stages are not reflected in the returned Cffu, but may be obtained by inspecting them individually. 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. If no stages are provided, returns a Cffu completed with the value null.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns a new CompletableFuture that is successful when all the given CompletableFutures success, the results(CompletableFuture<Void>) of the given CompletableFutures are not reflected in the returned CompletableFuture, but may be obtained by inspecting them individually. If any of the given CompletableFutures complete exceptionally, then the returned CompletableFuture also does so without waiting other incomplete given CompletableFutures, with a CompletionException holding this exception as its cause. If no CompletableFutures are provided, returns a CompletableFuture completed with the value null.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Array<out Cffu<*>>.allOfCffu(cffuFactory: CffuFactory = ABSENT): Cffu<Void>
fun Collection<Cffu<*>>.allOfCffu(cffuFactory: CffuFactory = ABSENT): Cffu<Void>

Returns a new Cffu that is completed when all the given Cffus complete. If any of the given Cffu complete exceptionally, then the returned Cffu also does so, with a CompletionException holding this exception as its cause. Otherwise, the results, if any, of the given Cffus are not reflected in the returned Cffu(Cffu<Void>), but may be obtained by inspecting them individually. If no Cffus are provided, returns a Cffu completed with the value null.

fun Array<out CompletionStage<*>>.allOfCffu(cffuFactory: CffuFactory): Cffu<Void>
@JvmName(name = "allOfCffuCs")
fun Collection<CompletionStage<*>>.allOfCffu(cffuFactory: CffuFactory): Cffu<Void>

Returns a new Cffu that is completed when all the given stages complete. If any of the given Cffu complete exceptionally, then the returned Cffu also does so, with a CompletionException holding this exception as its cause. Otherwise, the results, if any, of the given stages are not reflected in the returned Cffu(Cffu<Void>), but may be obtained by inspecting them individually. If no stages are provided, returns a Cffu completed with the value null.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

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. Otherwise, the results, if any, of the given stages are not reflected in the returned CompletableFuture, but may be obtained by inspecting them individually. If no stages are provided, returns a CompletableFuture completed with the value null.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun <T> Array<out Cffu<out T>>.allResultsFastFailOfCffu(cffuFactory: CffuFactory = ABSENT): Cffu<List<T>>
fun <T> Collection<Cffu<out T>>.allResultsFastFailOfCffu(cffuFactory: CffuFactory = ABSENT): Cffu<List<T>>

Returns a new Cffu with the results in the same order of the given Cffus arguments, the new Cffu success when all the given Cffus success. If any of the given Cffus complete exceptionally, then the returned Cffu also does so without waiting other incomplete given Cffus, with a CompletionException holding this exception as its cause. If no Cffus are provided, returns a Cffu completed with the value empty list.

@JvmName(name = "allResultsFastFailOfCffuCs")
fun <T> Collection<CompletionStage<out T>>.allResultsFastFailOfCffu(cffuFactory: CffuFactory): Cffu<List<T>>

Returns a new Cffu with the results in the same order of the given stages arguments, the new Cffu success when all the given stages success. 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. If no stages are provided, returns a Cffu completed with the value empty list.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns a new CompletableFuture with the results in the same order of all the given CompletableFutures arguments, the new CompletableFuture success when all the given CompletableFutures success. If any of the given CompletableFutures complete exceptionally, then the returned CompletableFuture also does so without waiting other incomplete given CompletableFutures, with a CompletionException holding this exception as its cause. If no CompletableFutures are provided, returns a CompletableFuture completed with the value empty list.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun <T> Array<out Cffu<out T>>.allResultsOfCffu(cffuFactory: CffuFactory = ABSENT): Cffu<List<T>>
fun <T> Collection<Cffu<out T>>.allResultsOfCffu(cffuFactory: CffuFactory = ABSENT): Cffu<List<T>>

Returns a new Cffu with the results in the same order of the given Cffus arguments, the new Cffu is completed when all the given Cffus complete. If any of the given Cffus complete exceptionally, then the returned Cffu also does so, with a CompletionException holding this exception as its cause. If no Cffus are provided, returns a Cffu completed with the value empty list.

fun <T> Array<out CompletionStage<out T>>.allResultsOfCffu(cffuFactory: CffuFactory): Cffu<List<T>>
@JvmName(name = "allResultsOfCffuCs")
fun <T> Collection<CompletionStage<out T>>.allResultsOfCffu(cffuFactory: CffuFactory): Cffu<List<T>>

Returns a new Cffu with the results in the same order of the given stages arguments, the new Cffu 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. If no stages are provided, returns a Cffu completed with the value empty list.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns a new CompletableFuture with the results in the same order of all the given CompletableFutures arguments, the returned new CompletableFuture is completed when all the given CompletableFutures complete. If any of the given CompletableFutures complete exceptionally, then the returned CompletableFuture also does so, with a CompletionException holding this exception as its cause. If no CompletableFutures are provided, returns a CompletableFuture completed with the value empty list.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun <T> Array<out Cffu<out T>>.anyOfCffu(cffuFactory: CffuFactory = ABSENT): Cffu<T>
fun <T> Collection<Cffu<out T>>.anyOfCffu(cffuFactory: CffuFactory = ABSENT): Cffu<T>

Returns a new Cffu that is completed when any of the given Cffus complete, with the same result.

fun <T> Array<out CompletionStage<out T>>.anyOfCffu(cffuFactory: CffuFactory): Cffu<T>
@JvmName(name = "anyOfCffuCs")
fun <T> Collection<CompletionStage<out T>>.anyOfCffu(cffuFactory: CffuFactory): Cffu<T>

Returns a new Cffu that is completed when any of the given stages complete, with the same result.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns a new CompletableFuture that is completed when any of the given CompletableFutures complete, with the same result. Otherwise, if it completed exceptionally, the returned CompletableFuture also does so, with a CompletionException holding this exception as its cause. If no CompletableFutures are provided, returns an incomplete CompletableFuture.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun <T> Array<out Cffu<out T>>.anySuccessOfCffu(cffuFactory: CffuFactory = ABSENT): Cffu<T>
fun <T> Collection<Cffu<out T>>.anySuccessOfCffu(cffuFactory: CffuFactory = ABSENT): Cffu<T>

Returns a new Cffu that is successful when any of the given Cffus success, with the same result. Otherwise, all the given Cffus complete exceptionally, the returned Cffu also does so, with a CompletionException holding an exception from any of the given Cffus as its cause. If no Cffus are provided, returns a new Cffu that is already completed exceptionally with a CompletionException holding a NoCfsProvidedException as its cause.

fun <T> Array<out CompletionStage<out T>>.anySuccessOfCffu(cffuFactory: CffuFactory): Cffu<T>
@JvmName(name = "anySuccessOfCffuCs")
fun <T> Collection<CompletionStage<out T>>.anySuccessOfCffu(cffuFactory: CffuFactory): Cffu<T>

Returns a new Cffu that is successful when any of the given stages success, with the same result. Otherwise, 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. If no stages are provided, returns a new Cffu that is already completed exceptionally with a CompletionException holding a NoCfsProvidedException as its cause.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns a new CompletableFuture that is successful when any of the given CompletableFutures success, with the same result. Otherwise, all the given CompletableFutures complete exceptionally, the returned CompletableFuture also does so, with a CompletionException holding an exception from any of the given CompletableFutures as its cause. If no CompletableFutures are provided, returns a new CompletableFuture that is already completed exceptionally with a CompletionException holding a NoCfsProvidedException as its cause.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns a new CompletionStage that, when either given stage success, is executed with the corresponding result as argument to the supplied function.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns a new CompletionStage that, when either given stage success, is executed using this stage's default asynchronous execution facility, with the corresponding result as argument to the supplied function.

Returns a new CompletionStage that, when either given stage success, is executed using the supplied executor, with the corresponding result as argument to the supplied function.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun <T, X : Throwable, C : CompletionStage<in T>> C.catching(exceptionType: Class<X>, fallback: Function<in X, out T>): C

Returns a new CompletionStage that, when this stage completes exceptionally with the given exceptionType, is executed with this stage's exception as the argument to the supplied function. Otherwise, the returned stage contains same result as input CompletionStage.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun <T, X : Throwable, C : CompletionStage<in T>> C.catchingAsync(exceptionType: Class<X>, fallback: Function<in X, out T>): C

Returns a new CompletionStage that, when this stage completes exceptionally with the given exceptionType, is executed with this stage's exception as the argument to the supplied function, using this stage's default asynchronous execution facility. Otherwise, the returned stage contains same result as input CompletionStage.

fun <T, X : Throwable, C : CompletionStage<in T>> C.catchingAsync(exceptionType: Class<X>, fallback: Function<in X, out T>, executor: Executor): C

Returns a new CompletionStage that, when this stage completes exceptionally with the given exceptionType, is executed with this stage's exception as the argument to the supplied function, using the supplied Executor. Otherwise, the returned stage contains same result as input CompletionStage.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun <T, X : Throwable, C : CompletionStage<in T>> C.catchingCompose(exceptionType: Class<X>, fallback: Function<in X, out CompletionStage<T>>): C

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 given stage's exception.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun <T, X : Throwable, C : CompletionStage<in T>> C.catchingComposeAsync(exceptionType: Class<X>, fallback: Function<in X, out CompletionStage<T>>): C

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 given stage's exception, using given stage's default asynchronous execution facility.

fun <T, X : Throwable, C : CompletionStage<in T>> C.catchingComposeAsync(exceptionType: Class<X>, fallback: Function<in X, out CompletionStage<T>>, executor: Executor): C

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 given's exception, using the supplied Executor.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun <T, C : CompletableFuture<in T>> C.cffuCompleteOnTimeout(value: T, timeout: Long, unit: TimeUnit): C
fun <T, C : CompletableFuture<in T>> C.cffuCompleteOnTimeout(value: T, executorWhenTimeout: Executor, timeout: Long, unit: TimeUnit): C

Completes this CompletableFuture with the given value if not otherwise completed before the given timeout.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun <T, C : CompletableFuture<out T>> C.cffuOrTimeout(timeout: Long, unit: TimeUnit): C
fun <T, C : CompletableFuture<out T>> C.cffuOrTimeout(executorWhenTimeout: Executor, timeout: Long, unit: TimeUnit): C

Exceptionally completes this CompletableFuture with a TimeoutException if not otherwise completed before the given timeout.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns the computation state(CffuState), this method is equivalent to CompletableFuture.state with java version compatibility logic, so you can invoke in old java 18-.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun <T, C : CompletableFuture<in T>> C.completeAsync(supplier: Supplier<out T>): C

Completes given CompletableFuture with the result of the given Supplier function invoked from an asynchronous task using the default executor.

fun <T, C : CompletableFuture<in T>> C.completeAsync(supplier: Supplier<out T>, executor: Executor): C

Completes given CompletableFuture with the result of the given Supplier function invoked from an asynchronous task using the given executor.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

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.

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.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun <T, C : CompletableFuture<in T>> C.completeOnTimeout(value: T, timeout: Long, unit: TimeUnit): C

Completes this CompletableFuture with the given value if not otherwise completed before the given timeout.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
operator fun <T1> Tuple2<T1, *>.component1(): T1
operator fun <T1> Tuple3<T1, *, *>.component1(): T1
operator fun <T1> Tuple4<T1, *, *, *>.component1(): T1
operator fun <T1> Tuple5<T1, *, *, *, *>.component1(): T1
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
operator fun <T2> Tuple2<*, T2>.component2(): T2
operator fun <T2> Tuple3<*, T2, *>.component2(): T2
operator fun <T2> Tuple4<*, T2, *, *>.component2(): T2
operator fun <T2> Tuple5<*, T2, *, *, *>.component2(): T2
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
operator fun <T3> Tuple3<*, *, T3>.component3(): T3
operator fun <T3> Tuple4<*, *, T3, *>.component3(): T3
operator fun <T3> Tuple5<*, *, T3, *, *>.component3(): T3
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
operator fun <T4> Tuple4<*, *, *, T4>.component4(): T4
operator fun <T4> Tuple5<*, *, *, T4, *>.component4(): T4
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
operator fun <T5> Tuple5<*, *, *, *, T5>.component5(): T5
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns a new CompletableFuture that is completed normally with the same value as this CompletableFuture when it completes normally. If this CompletableFuture completes exceptionally, then the returned CompletableFuture completes exceptionally with a CompletionException with this exception as cause. The behavior is equivalent to thenApply(x -> x). This method may be useful as a form of "defensive copying", to prevent clients from completing, while still being able to arrange dependent actions.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns a new CompletionStage that, when this stage completes exceptionally, is executed with this stage's exception as the argument to the supplied function, using this stage's default asynchronous execution facility. Otherwise, if this stage completes normally, then the returned stage also completes normally with the same value.

fun <T, C : CompletionStage<in T>> C.exceptionallyAsync(fn: Function<Throwable, out T>, executor: Executor): C

Returns a new CompletionStage that, when this stage completes exceptionally, is executed with this stage's exception as the argument to the supplied function, using the supplied Executor. Otherwise, if this stage completes normally, then the returned stage also completes normally with the same value.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns a new CompletionStage that, when given stage completes exceptionally, is composed using the results of the supplied function applied to given stage's exception.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns a new CompletionStage that, when given stage completes exceptionally, is composed using the results of the supplied function applied to given stage's exception, using given stage's default asynchronous execution facility.

Returns a new CompletionStage that, when given stage completes exceptionally, is composed using the results of the supplied function applied to given stage's exception, using the supplied Executor.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns the exception thrown by the task, without waiting.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun <T> CompletableFuture<T>.getSuccessNow(valueIfNotSuccess: T): T

Returns the result value if completed successfully, else returns the given valueIfNotSuccess.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun <T> CompletableFuture<T>.join(timeout: Long, unit: TimeUnit): T

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.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

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. If given CompletableFuture completes exceptionally, then the returned CompletionStage completes exceptionally with a CompletionException with given exception as cause.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun <T> Array<out Cffu<out T>>.mostSuccessResultsOfCffu(valueIfNotSuccess: T, timeout: Long, unit: TimeUnit, cffuFactory: CffuFactory = ABSENT): Cffu<List<T>>
fun <T> Collection<Cffu<out T>>.mostSuccessResultsOfCffu(valueIfNotSuccess: T, timeout: Long, unit: TimeUnit, cffuFactory: CffuFactory = ABSENT): Cffu<List<T>>

Returns a new Cffu with the most results in the same order of the given Cffus arguments in the given time(timeout, aka as many results as possible in the given time).

fun <T> Array<out CompletionStage<out T>>.mostSuccessResultsOfCffu(valueIfNotSuccess: T, timeout: Long, unit: TimeUnit, cffuFactory: CffuFactory): Cffu<List<T>>
@JvmName(name = "mostSuccessResultsOfCffuCs")
fun <T> Collection<CompletionStage<out T>>.mostSuccessResultsOfCffu(valueIfNotSuccess: T, timeout: Long, unit: TimeUnit, cffuFactory: CffuFactory): Cffu<List<T>>

Returns a new Cffu with the most results in the same order of the given stages arguments in the given time(timeout, aka as many results as possible in the given time).

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun <T> Array<out CompletionStage<out T>>.mostSuccessResultsOfCompletableFuture(valueIfNotSuccess: T, timeout: Long, unit: TimeUnit): CompletableFuture<List<T>>
fun <T> Array<out CompletionStage<out T>>.mostSuccessResultsOfCompletableFuture(valueIfNotSuccess: T, executorWhenTimeout: Executor, timeout: Long, unit: TimeUnit): CompletableFuture<List<T>>
fun <T> Collection<CompletionStage<out T>>.mostSuccessResultsOfCompletableFuture(valueIfNotSuccess: T, executorWhenTimeout: Executor, timeout: Long, unit: TimeUnit): CompletableFuture<List<T>>

Returns a new CompletableFuture with the most results in the same order of the given stages arguments in the given time(timeout, aka as many results as possible in the given time).

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns a new incomplete CompletableFuture of the type to be returned by a CompletionStage method.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun <T, C : CompletableFuture<out T>> C.orTimeout(timeout: Long, unit: TimeUnit): C

Exceptionally completes this CompletableFuture with a TimeoutException if not otherwise completed before the given timeout.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun <T, C : CompletionStage<out T>> C.peek(action: BiConsumer<in T, in Throwable>): C

Peeks the result by executing the given action when this stage completes, returns this stage.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun <T, C : CompletionStage<out T>> C.peekAsync(action: BiConsumer<in T, in Throwable>): C

Peeks the result by executing the given action when this stage completes, executes the given action using this stage's default asynchronous execution facility, returns this stage.

fun <T, C : CompletionStage<out T>> C.peekAsync(action: BiConsumer<in T, in Throwable>, executor: Executor): C

Peeks the result by executing the given action when this stage completes, executes the given action using the supplied Executor, returns this stage.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun <T> Future<T>.resultNow(): T

Returns the computed result, without waiting.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns a new CompletableFuture that, when two given stages both complete normally, executes the given action. if any of the given stage complete exceptionally, then the returned CompletableFuture also does so without waiting other incomplete given CompletionStage, with a CompletionException holding this exception as its cause.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns a new CompletableFuture that, when two given stages both complete normally, executes the given action using CompletableFuture's default asynchronous execution facility. if any of the given stage complete exceptionally, then the returned CompletableFuture also does so without waiting other incomplete given CompletionStage, with a CompletionException holding this exception as its cause.

Returns a new CompletableFuture that, when two given stages both complete normally, executes the given action using the supplied executor. if any of the given stage complete exceptionally, then the returned CompletableFuture also does so without waiting other incomplete given CompletionStage, with a CompletionException holding this exception as its cause.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns a new CompletableFuture that, when either given stage success, executes the given action. Otherwise, all two given CompletionStage complete exceptionally, the returned CompletableFuture also does so, with a CompletionException holding an exception from any of the given CompletionStage as its cause.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns a new CompletableFuture that, when either given stage success, executes the given action using CompletableFuture's default asynchronous execution facility. Otherwise, all two given CompletionStage complete exceptionally, the returned CompletableFuture also does so, with a CompletionException holding an exception from any of the given CompletionStage as its cause.

Returns a new CompletableFuture that, when either given stage success, executes the given action using the supplied executor. Otherwise, all two given CompletionStage complete exceptionally, the returned CompletableFuture also does so, with a CompletionException holding an exception from any of the given CompletionStage as its cause.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns a new CompletableFuture that, when tow given stage both complete normally, is executed with the two results as arguments to the supplied action. if any of the given stage complete exceptionally, then the returned CompletableFuture also does so without waiting other incomplete given CompletionStage, with a CompletionException holding this exception as its cause.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns a new CompletableFuture that, when tow given stage both complete normally, is executed using CompletableFuture's default asynchronous execution facility, with the two results as arguments to the supplied action. if any of the given stage complete exceptionally, then the returned CompletableFuture also does so without waiting other incomplete given CompletionStage, with a CompletionException holding this exception as its cause.

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. if any of the given stage complete exceptionally, then the returned CompletableFuture also does so without waiting other incomplete given CompletionStage, with a CompletionException holding this exception as its cause.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun <T, U, V> CompletableFuture<out T>.thenCombineFastFail(other: CompletionStage<out U>, fn: BiFunction<in T, in U, out V>): CompletableFuture<V>

Returns a new CompletableFuture that, when tow given stage both complete normally, is executed with the two results as arguments to the supplied function. if any of the given stage complete exceptionally, then the returned CompletableFuture also does so without waiting other incomplete given CompletionStage, with a CompletionException holding this exception as its cause.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns a new CompletableFuture that, when tow given stage both complete normally, is executed using CompletableFuture's default asynchronous execution facility, with the two results as arguments to the supplied function. if any of the given stage complete exceptionally, then the returned CompletableFuture also does so without waiting other incomplete given CompletionStage, with a CompletionException holding this exception as its cause.

fun <T, U, V> CompletableFuture<out T>.thenCombineFastFailAsync(other: CompletionStage<out U>, fn: BiFunction<in T, in U, out V>, executor: Executor): CompletableFuture<V>

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. if any of the given stage complete exceptionally, then the returned CompletableFuture also does so without waiting other incomplete given CompletionStage, with a CompletionException holding this exception as its cause.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun <T> CompletionStage<T>.toCffu(cffuFactory: CffuFactory): Cffu<T>

Wrap an existed CompletionStage (including CompletableFuture) to Cffu.

fun <T> Array<out CompletionStage<T>>.toCffu(cffuFactory: CffuFactory): Array<Cffu<T>>

Wrap input CompletionStage (including CompletableFuture) array elements to Cffu by CffuFactory.toCffu.

Wrap input CompletionStage (including CompletableFuture) collection elements to Cffu by CffuFactory.toCffu.

fun <T> ListenableFuture<T>.toCffu(cffuFactory: CffuFactory, interruptLfWhenCancellationException: Boolean): Cffu<T>

Converts input ListenableFuture to Cffu.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Convert CompletionStage (including Cffu) array elements to CompletableFuture.

Convert CompletionStage (including Cffu) collection elements to CompletableFuture.

fun <T> ListenableFuture<T>.toCompletableFuture(executor: Executor, interruptLfWhenCancellationException: Boolean): CompletableFuture<T>

Converts input ListenableFuture to CompletableFuture.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun <T> Cffu<T>.toListenableFuture(): ListenableFuture<T>

Converts input Cffu to ListenableFuture.

fun <T> CompletableFuture<T>.toListenableFuture(): ListenableFuture<T>

Converts input CompletableFuture to ListenableFuture.

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/join.html b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/join.html new file mode 100644 index 0000000..aeb7f94 --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/join.html @@ -0,0 +1,80 @@ + + + + + join + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

join

+
+
fun <T> CompletableFuture<T>.join(timeout: Long, unit: TimeUnit): T

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.

NOTE: Calling this method

val result = cf.join(timeout, unit);

is the same as:

val result = cf.copy() // defensive copy to avoid writing this cf unexpectedly
.orTimeout(timeout, unit)
.join();

CAUTION: If the wait timed out, this method throws an (unchecked) CompletionException with the TimeoutException as its cause; NOT throws a (checked) TimeoutException like CompletableFuture.get.

Return

the result value

Parameters

timeout

the maximum time to wait

unit

the time unit of the timeout argument

See also

+
+ +
+
+
+ + diff --git a/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/minimal-completion-stage.html b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/minimal-completion-stage.html new file mode 100644 index 0000000..4ad28c7 --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/minimal-completion-stage.html @@ -0,0 +1,80 @@ + + + + + minimalCompletionStage + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

minimalCompletionStage

+
+

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. If given CompletableFuture completes exceptionally, then the returned CompletionStage completes exceptionally with a CompletionException with given exception as cause.

CAUTION: if run on old Java 8(not support minimal CompletionStage), just return a normal CompletableFuture which is NOT with a minimal CompletionStage.

Return

the new CompletionStage

+
+ +
+
+
+ + diff --git a/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/most-success-results-of-cffu.html b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/most-success-results-of-cffu.html new file mode 100644 index 0000000..6287627 --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/most-success-results-of-cffu.html @@ -0,0 +1,80 @@ + + + + + mostSuccessResultsOfCffu + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

mostSuccessResultsOfCffu

+
+
fun <T> Collection<Cffu<out T>>.mostSuccessResultsOfCffu(valueIfNotSuccess: T, timeout: Long, unit: TimeUnit, cffuFactory: CffuFactory = ABSENT): Cffu<List<T>>
fun <T> Array<out Cffu<out T>>.mostSuccessResultsOfCffu(valueIfNotSuccess: T, timeout: Long, unit: TimeUnit, cffuFactory: CffuFactory = ABSENT): Cffu<List<T>>

Returns a new Cffu with the most results in the same order of the given Cffus arguments in the given time(timeout, aka as many results as possible in the given time).

If any of the provided stages does not success(fails or incomplete) in given time, its corresponding position will contain valueIfNotSuccess.

Parameters

timeout

how long to wait in units of unit

unit

a TimeUnit determining how to interpret the timeout parameter

valueIfNotSuccess

the value to return if not completed successfully

See also


@JvmName(name = "mostSuccessResultsOfCffuCs")
fun <T> Collection<CompletionStage<out T>>.mostSuccessResultsOfCffu(valueIfNotSuccess: T, timeout: Long, unit: TimeUnit, cffuFactory: CffuFactory): Cffu<List<T>>
fun <T> Array<out CompletionStage<out T>>.mostSuccessResultsOfCffu(valueIfNotSuccess: T, timeout: Long, unit: TimeUnit, cffuFactory: CffuFactory): Cffu<List<T>>

Returns a new Cffu with the most results in the same order of the given stages arguments in the given time(timeout, aka as many results as possible in the given time).

If any of the provided stages does not success(fails or incomplete) in given time, its corresponding position will contain valueIfNotSuccess.

Parameters

timeout

how long to wait in units of unit

unit

a TimeUnit determining how to interpret the timeout parameter

valueIfNotSuccess

the value to return if not completed successfully

See also

+
+ +
+
+
+ + diff --git a/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/most-success-results-of-completable-future.html b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/most-success-results-of-completable-future.html new file mode 100644 index 0000000..d37d2f1 --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/most-success-results-of-completable-future.html @@ -0,0 +1,80 @@ + + + + + mostSuccessResultsOfCompletableFuture + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

mostSuccessResultsOfCompletableFuture

+
+
fun <T> Array<out CompletionStage<out T>>.mostSuccessResultsOfCompletableFuture(valueIfNotSuccess: T, timeout: Long, unit: TimeUnit): CompletableFuture<List<T>>

Returns a new CompletableFuture with the most results in the same order of the given stages arguments in the given time(timeout, aka as many results as possible in the given time).

If any of the provided stages does not success(fails or incomplete) in given time, its corresponding position will contain valueIfNotSuccess.

Parameters

timeout

how long to wait in units of unit

unit

a TimeUnit determining how to interpret the timeout parameter

valueIfNotSuccess

the value to return if not completed successfully

See also


fun <T> Collection<CompletionStage<out T>>.mostSuccessResultsOfCompletableFuture(valueIfNotSuccess: T, executorWhenTimeout: Executor, timeout: Long, unit: TimeUnit): CompletableFuture<List<T>>
fun <T> Array<out CompletionStage<out T>>.mostSuccessResultsOfCompletableFuture(valueIfNotSuccess: T, executorWhenTimeout: Executor, timeout: Long, unit: TimeUnit): CompletableFuture<List<T>>

Returns a new CompletableFuture with the most results in the same order of the given stages arguments in the given time(timeout, aka as many results as possible in the given time).

If any of the provided stages does not success(fails or incomplete) in given time, its corresponding position will contain valueIfNotSuccess.

Parameters

executorWhenTimeout

the async executor when triggered by timeout

timeout

how long to wait in units of unit

unit

a TimeUnit determining how to interpret the timeout parameter

valueIfNotSuccess

the value to return if not completed successfully

See also

+
+ +
+
+
+ + diff --git a/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/new-incomplete-future.html b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/new-incomplete-future.html new file mode 100644 index 0000000..aa9b9fa --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/new-incomplete-future.html @@ -0,0 +1,80 @@ + + + + + newIncompleteFuture + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

newIncompleteFuture

+
+

Returns a new incomplete CompletableFuture of the type to be returned by a CompletionStage method.

Return

a new CompletableFuture

Parameters

the type of the value
+
+ +
+
+
+ + diff --git a/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/or-timeout.html b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/or-timeout.html new file mode 100644 index 0000000..0b3067b --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/or-timeout.html @@ -0,0 +1,80 @@ + + + + + orTimeout + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

orTimeout

+
+
fun <T, C : CompletableFuture<out T>> C.orTimeout(timeout: Long, unit: TimeUnit): C

Exceptionally completes this CompletableFuture with a TimeoutException if not otherwise completed before the given timeout.

CAUTION: This method and CompletableFuture.orTimeout is UNSAFE!

When triggered by timeout, the subsequent non-async actions of the dependent CompletableFutures are performed in the SINGLE thread builtin executor of CompletableFuture for delay execution (including timeout function). So the long-running subsequent non-async actions lead to the CompletableFuture dysfunction (including delay execution and timeout).

Strong recommend using the safe method cffuOrTimeout instead of this method and CompletableFuture.orTimeout.

Unless all subsequent actions of dependent CompletableFutures is ensured executing async (aka. the dependent CompletableFutures is created by async methods), using this method and CompletableFuture.orTimeout is one less thread switch of task execution when triggered by timeout.

Return

this CompletableFuture

Parameters

timeout

how long to wait before completing exceptionally with a TimeoutException, in units of unit

unit

a TimeUnit determining how to interpret the timeout parameter

See also

+
+ +
+
+
+ + diff --git a/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/peek-async.html b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/peek-async.html new file mode 100644 index 0000000..f8aaba9 --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/peek-async.html @@ -0,0 +1,80 @@ + + + + + peekAsync + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

peekAsync

+
+
fun <T, C : CompletionStage<out T>> C.peekAsync(action: BiConsumer<in T, in Throwable>): C

Peeks the result by executing the given action when this stage completes, executes the given action using this stage's default asynchronous execution facility, returns this stage.

When this stage is complete, the given action is invoked with the result (or null if none) and the exception (or null if none) of given stage as arguments. Whether the supplied action throws an exception or not, this stage is NOT affected.

Unlike method handle and like method whenComplete, this method is not designed to translate completion outcomes.

Return

this stage

Parameters

action

the action to perform

See also


fun <T, C : CompletionStage<out T>> C.peekAsync(action: BiConsumer<in T, in Throwable>, executor: Executor): C

Peeks the result by executing the given action when this stage completes, executes the given action using the supplied Executor, returns this stage.

When this stage is complete, the given action is invoked with the result (or null if none) and the exception (or null if none) of given stage as arguments. Whether the supplied action throws an exception or not, this stage is NOT affected.

Unlike method handle and like method whenComplete, this method is not designed to translate completion outcomes.

Return

this stage

Parameters

action

the action to perform

See also

+
+ +
+
+
+ + diff --git a/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/peek.html b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/peek.html new file mode 100644 index 0000000..aa32be6 --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/peek.html @@ -0,0 +1,80 @@ + + + + + peek + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

peek

+
+
fun <T, C : CompletionStage<out T>> C.peek(action: BiConsumer<in T, in Throwable>): C

Peeks the result by executing the given action when this stage completes, returns this stage.

When this stage is complete, the given action is invoked with the result (or null if none) and the exception (or null if none) of given stage as arguments. Whether the supplied action throws an exception or not, this stage is NOT affected.

Unlike method handle and like method whenComplete, this method is not designed to translate completion outcomes.

Return

this stage

Parameters

action

the action to perform

See also

+
+ +
+
+
+ + diff --git a/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/result-now.html b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/result-now.html new file mode 100644 index 0000000..ceeca15 --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/result-now.html @@ -0,0 +1,80 @@ + + + + + resultNow + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

resultNow

+
+
fun <T> Future<T>.resultNow(): T

Returns the computed result, without waiting.

This method is for cases where the caller knows that the task has already completed successfully, for example when filtering Future objects for the successful tasks and using a mapping operation to obtain results.

val results = futures
.filter { it.state() == Future.State.SUCCESS }
.map { it.resultNow() }
+
+ +
+
+
+ + diff --git a/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/run-after-both-fast-fail-async.html b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/run-after-both-fast-fail-async.html new file mode 100644 index 0000000..d062378 --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/run-after-both-fast-fail-async.html @@ -0,0 +1,80 @@ + + + + + runAfterBothFastFailAsync + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

runAfterBothFastFailAsync

+
+

Returns a new CompletableFuture that, when two given stages both complete normally, executes the given action using CompletableFuture's default asynchronous execution facility. if any of the given stage complete exceptionally, then the returned CompletableFuture also does so without waiting other incomplete given CompletionStage, with a CompletionException holding this exception as its cause.

This method is the same as CompletableFuture.runAfterBothAsync except for the fast-fail behavior.

Return

the new CompletableFuture

Parameters

action

the action to perform before completing the returned CompletableFuture

See also


Returns a new CompletableFuture that, when two given stages both complete normally, executes the given action using the supplied executor. if any of the given stage complete exceptionally, then the returned CompletableFuture also does so without waiting other incomplete given CompletionStage, with a CompletionException holding this exception as its cause.

This method is the same as CompletableFuture.runAfterBothAsync except for the fast-fail behavior.

Return

the new CompletableFuture

Parameters

action

the action to perform before completing the returned CompletableFuture

See also

+
+ +
+
+
+ + diff --git a/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/run-after-both-fast-fail.html b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/run-after-both-fast-fail.html new file mode 100644 index 0000000..1cfce58 --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/run-after-both-fast-fail.html @@ -0,0 +1,80 @@ + + + + + runAfterBothFastFail + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

runAfterBothFastFail

+
+

Returns a new CompletableFuture that, when two given stages both complete normally, executes the given action. if any of the given stage complete exceptionally, then the returned CompletableFuture also does so without waiting other incomplete given CompletionStage, with a CompletionException holding this exception as its cause.

This method is the same as CompletableFuture.runAfterBoth except for the fast-fail behavior.

Return

the new CompletableFuture

Parameters

action

the action to perform before completing the returned CompletableFuture

See also

+
+ +
+
+
+ + diff --git a/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/run-after-either-success-async.html b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/run-after-either-success-async.html new file mode 100644 index 0000000..1bce88e --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/run-after-either-success-async.html @@ -0,0 +1,80 @@ + + + + + runAfterEitherSuccessAsync + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

runAfterEitherSuccessAsync

+
+

Returns a new CompletableFuture that, when either given stage success, executes the given action using CompletableFuture's default asynchronous execution facility. Otherwise, all two given CompletionStage complete exceptionally, the returned CompletableFuture also does so, with a CompletionException holding an exception from any of the given CompletionStage as its cause.

This method is the same as CompletableFuture.runAfterEitherAsync except for the either-success behavior(not either-complete).

Return

the new CompletableFuture

Parameters

action

the action to perform before completing the returned CompletableFuture

See also


Returns a new CompletableFuture that, when either given stage success, executes the given action using the supplied executor. Otherwise, all two given CompletionStage complete exceptionally, the returned CompletableFuture also does so, with a CompletionException holding an exception from any of the given CompletionStage as its cause.

This method is the same as CompletableFuture.runAfterEitherAsync except for the either-success behavior(not either-complete).

Return

the new CompletableFuture

Parameters

action

the action to perform before completing the returned CompletableFuture

See also

+
+ +
+
+
+ + diff --git a/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/run-after-either-success.html b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/run-after-either-success.html new file mode 100644 index 0000000..2431ee6 --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/run-after-either-success.html @@ -0,0 +1,80 @@ + + + + + runAfterEitherSuccess + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

runAfterEitherSuccess

+
+

Returns a new CompletableFuture that, when either given stage success, executes the given action. Otherwise, all two given CompletionStage complete exceptionally, the returned CompletableFuture also does so, with a CompletionException holding an exception from any of the given CompletionStage as its cause.

This method is the same as CompletableFuture.runAfterEither except for the either-success behavior(not either-complete).

Return

the new CompletableFuture

Parameters

action

the action to perform before completing the returned CompletableFuture

See also

+
+ +
+
+
+ + diff --git a/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/then-accept-both-fast-fail-async.html b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/then-accept-both-fast-fail-async.html new file mode 100644 index 0000000..7b2eb48 --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/then-accept-both-fast-fail-async.html @@ -0,0 +1,80 @@ + + + + + thenAcceptBothFastFailAsync + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

thenAcceptBothFastFailAsync

+
+

Returns a new CompletableFuture that, when tow given stage both complete normally, is executed using CompletableFuture's default asynchronous execution facility, with the two results as arguments to the supplied action. if any of the given stage complete exceptionally, then the returned CompletableFuture also does so without waiting other incomplete given CompletionStage, with a CompletionException holding this exception as its cause.

This method is the same as CompletableFuture.thenAcceptBothAsync except for the fast-fail behavior.

Return

the new CompletableFuture

Parameters

action

the action to perform before completing the returned CompletableFuture

See also


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. if any of the given stage complete exceptionally, then the returned CompletableFuture also does so without waiting other incomplete given CompletionStage, with a CompletionException holding this exception as its cause.

This method is the same as CompletableFuture.thenAcceptBothAsync except for the fast-fail behavior.

Return

the new CompletableFuture

Parameters

action

the action to perform before completing the returned CompletableFuture

See also

+
+ +
+
+
+ + diff --git a/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/then-accept-both-fast-fail.html b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/then-accept-both-fast-fail.html new file mode 100644 index 0000000..396c0ca --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/then-accept-both-fast-fail.html @@ -0,0 +1,80 @@ + + + + + thenAcceptBothFastFail + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

thenAcceptBothFastFail

+
+

Returns a new CompletableFuture that, when tow given stage both complete normally, is executed with the two results as arguments to the supplied action. if any of the given stage complete exceptionally, then the returned CompletableFuture also does so without waiting other incomplete given CompletionStage, with a CompletionException holding this exception as its cause.

This method is the same as CompletableFuture.thenAcceptBoth except for the fast-fail behavior.

Return

the new CompletableFuture

Parameters

action

the action to perform before completing the returned CompletableFuture

See also

+
+ +
+
+
+ + diff --git a/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/then-combine-fast-fail-async.html b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/then-combine-fast-fail-async.html new file mode 100644 index 0000000..97ade31 --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/then-combine-fast-fail-async.html @@ -0,0 +1,80 @@ + + + + + thenCombineFastFailAsync + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

thenCombineFastFailAsync

+
+

Returns a new CompletableFuture that, when tow given stage both complete normally, is executed using CompletableFuture's default asynchronous execution facility, with the two results as arguments to the supplied function. if any of the given stage complete exceptionally, then the returned CompletableFuture also does so without waiting other incomplete given CompletionStage, with a CompletionException holding this exception as its cause.

This method is the same as CompletableFuture.thenCombineAsync except for the fast-fail behavior.

Return

the new CompletableFuture

Parameters

fn

the function to use to compute the value of the returned CompletableFuture

See also


fun <T, U, V> CompletableFuture<out T>.thenCombineFastFailAsync(other: CompletionStage<out U>, fn: BiFunction<in T, in U, out V>, executor: Executor): CompletableFuture<V>

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. if any of the given stage complete exceptionally, then the returned CompletableFuture also does so without waiting other incomplete given CompletionStage, with a CompletionException holding this exception as its cause.

This method is the same as CompletableFuture.thenCombineAsync except for the fast-fail behavior.

Return

the new CompletableFuture

Parameters

fn

the function to use to compute the value of the returned CompletableFuture

See also

+
+ +
+
+
+ + diff --git a/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/then-combine-fast-fail.html b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/then-combine-fast-fail.html new file mode 100644 index 0000000..d0bb0ae --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/then-combine-fast-fail.html @@ -0,0 +1,80 @@ + + + + + thenCombineFastFail + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

thenCombineFastFail

+
+
fun <T, U, V> CompletableFuture<out T>.thenCombineFastFail(other: CompletionStage<out U>, fn: BiFunction<in T, in U, out V>): CompletableFuture<V>

Returns a new CompletableFuture that, when tow given stage both complete normally, is executed with the two results as arguments to the supplied function. if any of the given stage complete exceptionally, then the returned CompletableFuture also does so without waiting other incomplete given CompletionStage, with a CompletionException holding this exception as its cause.

Return

the new CompletableFuture

Parameters

fn

the function to use to compute the value of the returned CompletableFuture

See also

+
+ +
+
+
+ + diff --git a/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/to-cffu.html b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/to-cffu.html new file mode 100644 index 0000000..469e620 --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/to-cffu.html @@ -0,0 +1,80 @@ + + + + + toCffu + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

toCffu

+
+
fun <T> CompletionStage<T>.toCffu(cffuFactory: CffuFactory): Cffu<T>

Wrap an existed CompletionStage (including CompletableFuture) to Cffu.

This method is the same as CffuFactory.toCffu, providing this method is convenient for method chaining.

See also


Wrap input CompletionStage (including CompletableFuture) collection elements to Cffu by CffuFactory.toCffu.

This method is the same as CffuFactory.toCffuArray, providing this method is convenient for method chaining.

See also


fun <T> Array<out CompletionStage<T>>.toCffu(cffuFactory: CffuFactory): Array<Cffu<T>>

Wrap input CompletionStage (including CompletableFuture) array elements to Cffu by CffuFactory.toCffu.

This method is the same as CffuFactory.toCffuArray, providing this method is convenient for method chaining.

See also


fun <T> ListenableFuture<T>.toCffu(cffuFactory: CffuFactory, interruptLfWhenCancellationException: Boolean): Cffu<T>

Converts input ListenableFuture to Cffu.

Callback from ListenableFuture is executed using cffuFactory's default executor.

+
+ +
+
+
+ + diff --git a/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/to-completable-future.html b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/to-completable-future.html new file mode 100644 index 0000000..87021f2 --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/to-completable-future.html @@ -0,0 +1,80 @@ + + + + + toCompletableFuture + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

toCompletableFuture

+
+

Convert CompletionStage (including Cffu) collection elements to CompletableFuture.

This method is the same as CompletableFutureUtils.toCompletableFutureArray, providing this method is convenient for method chaining.


Convert CompletionStage (including Cffu) array elements to CompletableFuture.

This method is the same as CompletableFutureUtils.toCompletableFutureArray, providing this method is convenient for method chaining.


fun <T> ListenableFuture<T>.toCompletableFuture(executor: Executor, interruptLfWhenCancellationException: Boolean): CompletableFuture<T>

Converts input ListenableFuture to CompletableFuture.

Callback from ListenableFuture is executed using the given executor, use {MoreExecutors.directExecutor} if you need skip executor switch.

+
+ +
+
+
+ + diff --git a/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/to-listenable-future.html b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/to-listenable-future.html new file mode 100644 index 0000000..6267f52 --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/io.foldright.cffu.kotlin/to-listenable-future.html @@ -0,0 +1,80 @@ + + + + + toListenableFuture + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

toListenableFuture

+
+
fun <T> CompletableFuture<T>.toListenableFuture(): ListenableFuture<T>

Converts input CompletableFuture to ListenableFuture.


fun <T> Cffu<T>.toListenableFuture(): ListenableFuture<T>

Converts input Cffu to ListenableFuture.

+
+ +
+
+
+ + diff --git a/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/package-list b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/package-list new file mode 100644 index 0000000..dcf45b2 --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/cffu-kotlin/package-list @@ -0,0 +1,122 @@ +$dokka.format:html-v1 +$dokka.linkExtension:html +$dokka.location:io.foldright.cffu.kotlin////PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/index.html +$dokka.location:io.foldright.cffu.kotlin//acceptEitherSuccess/java.util.concurrent.CompletableFuture[TypeParam(bounds=[kotlin.Any?])]#java.util.concurrent.CompletionStage[TypeParam(bounds=[kotlin.Any?])]#java.util.function.Consumer[TypeParam(bounds=[kotlin.Any?])]/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/accept-either-success.html +$dokka.location:io.foldright.cffu.kotlin//acceptEitherSuccessAsync/java.util.concurrent.CompletableFuture[TypeParam(bounds=[kotlin.Any?])]#java.util.concurrent.CompletionStage[TypeParam(bounds=[kotlin.Any?])]#java.util.function.Consumer[TypeParam(bounds=[kotlin.Any?])]#java.util.concurrent.Executor/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/accept-either-success-async.html +$dokka.location:io.foldright.cffu.kotlin//acceptEitherSuccessAsync/java.util.concurrent.CompletableFuture[TypeParam(bounds=[kotlin.Any?])]#java.util.concurrent.CompletionStage[TypeParam(bounds=[kotlin.Any?])]#java.util.function.Consumer[TypeParam(bounds=[kotlin.Any?])]/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/accept-either-success-async.html +$dokka.location:io.foldright.cffu.kotlin//allFastFailOfCffu/kotlin.Array[io.foldright.cffu.Cffu[*]]#io.foldright.cffu.CffuFactory/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/all-fast-fail-of-cffu.html +$dokka.location:io.foldright.cffu.kotlin//allFastFailOfCffu/kotlin.Array[java.util.concurrent.CompletionStage[*]]#io.foldright.cffu.CffuFactory/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/all-fast-fail-of-cffu.html +$dokka.location:io.foldright.cffu.kotlin//allFastFailOfCffu/kotlin.collections.Collection[io.foldright.cffu.Cffu[*]]#io.foldright.cffu.CffuFactory/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/all-fast-fail-of-cffu.html +$dokka.location:io.foldright.cffu.kotlin//allFastFailOfCffu/kotlin.collections.Collection[java.util.concurrent.CompletionStage[*]]#io.foldright.cffu.CffuFactory/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/all-fast-fail-of-cffu.html +$dokka.location:io.foldright.cffu.kotlin//allFastFailOfCompletableFuture/kotlin.Array[java.util.concurrent.CompletionStage[*]]#/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/all-fast-fail-of-completable-future.html +$dokka.location:io.foldright.cffu.kotlin//allFastFailOfCompletableFuture/kotlin.collections.Collection[java.util.concurrent.CompletionStage[*]]#/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/all-fast-fail-of-completable-future.html +$dokka.location:io.foldright.cffu.kotlin//allOfCffu/kotlin.Array[io.foldright.cffu.Cffu[*]]#io.foldright.cffu.CffuFactory/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/all-of-cffu.html +$dokka.location:io.foldright.cffu.kotlin//allOfCffu/kotlin.Array[java.util.concurrent.CompletionStage[*]]#io.foldright.cffu.CffuFactory/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/all-of-cffu.html +$dokka.location:io.foldright.cffu.kotlin//allOfCffu/kotlin.collections.Collection[io.foldright.cffu.Cffu[*]]#io.foldright.cffu.CffuFactory/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/all-of-cffu.html +$dokka.location:io.foldright.cffu.kotlin//allOfCffu/kotlin.collections.Collection[java.util.concurrent.CompletionStage[*]]#io.foldright.cffu.CffuFactory/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/all-of-cffu.html +$dokka.location:io.foldright.cffu.kotlin//allOfCompletableFuture/kotlin.Array[java.util.concurrent.CompletionStage[*]]#/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/all-of-completable-future.html +$dokka.location:io.foldright.cffu.kotlin//allOfCompletableFuture/kotlin.collections.Collection[java.util.concurrent.CompletionStage[*]]#/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/all-of-completable-future.html +$dokka.location:io.foldright.cffu.kotlin//allResultsFastFailOfCffu/kotlin.Array[io.foldright.cffu.Cffu[TypeParam(bounds=[kotlin.Any?])]]#io.foldright.cffu.CffuFactory/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/all-results-fast-fail-of-cffu.html +$dokka.location:io.foldright.cffu.kotlin//allResultsFastFailOfCffu/kotlin.Array[java.util.concurrent.CompletionStage[TypeParam(bounds=[kotlin.Any?])]]#io.foldright.cffu.CffuFactory/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/all-results-fast-fail-of-cffu.html +$dokka.location:io.foldright.cffu.kotlin//allResultsFastFailOfCffu/kotlin.collections.Collection[io.foldright.cffu.Cffu[TypeParam(bounds=[kotlin.Any?])]]#io.foldright.cffu.CffuFactory/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/all-results-fast-fail-of-cffu.html +$dokka.location:io.foldright.cffu.kotlin//allResultsFastFailOfCffu/kotlin.collections.Collection[java.util.concurrent.CompletionStage[TypeParam(bounds=[kotlin.Any?])]]#io.foldright.cffu.CffuFactory/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/all-results-fast-fail-of-cffu.html +$dokka.location:io.foldright.cffu.kotlin//allResultsFastFailOfCompletableFuture/kotlin.Array[java.util.concurrent.CompletionStage[TypeParam(bounds=[kotlin.Any?])]]#/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/all-results-fast-fail-of-completable-future.html +$dokka.location:io.foldright.cffu.kotlin//allResultsFastFailOfCompletableFuture/kotlin.collections.Collection[java.util.concurrent.CompletionStage[TypeParam(bounds=[kotlin.Any?])]]#/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/all-results-fast-fail-of-completable-future.html +$dokka.location:io.foldright.cffu.kotlin//allResultsOfCffu/kotlin.Array[io.foldright.cffu.Cffu[TypeParam(bounds=[kotlin.Any?])]]#io.foldright.cffu.CffuFactory/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/all-results-of-cffu.html +$dokka.location:io.foldright.cffu.kotlin//allResultsOfCffu/kotlin.Array[java.util.concurrent.CompletionStage[TypeParam(bounds=[kotlin.Any?])]]#io.foldright.cffu.CffuFactory/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/all-results-of-cffu.html +$dokka.location:io.foldright.cffu.kotlin//allResultsOfCffu/kotlin.collections.Collection[io.foldright.cffu.Cffu[TypeParam(bounds=[kotlin.Any?])]]#io.foldright.cffu.CffuFactory/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/all-results-of-cffu.html +$dokka.location:io.foldright.cffu.kotlin//allResultsOfCffu/kotlin.collections.Collection[java.util.concurrent.CompletionStage[TypeParam(bounds=[kotlin.Any?])]]#io.foldright.cffu.CffuFactory/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/all-results-of-cffu.html +$dokka.location:io.foldright.cffu.kotlin//allResultsOfCompletableFuture/kotlin.Array[java.util.concurrent.CompletionStage[TypeParam(bounds=[kotlin.Any?])]]#/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/all-results-of-completable-future.html +$dokka.location:io.foldright.cffu.kotlin//allResultsOfCompletableFuture/kotlin.collections.Collection[java.util.concurrent.CompletionStage[TypeParam(bounds=[kotlin.Any?])]]#/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/all-results-of-completable-future.html +$dokka.location:io.foldright.cffu.kotlin//anyOfCffu/kotlin.Array[io.foldright.cffu.Cffu[TypeParam(bounds=[kotlin.Any?])]]#io.foldright.cffu.CffuFactory/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/any-of-cffu.html +$dokka.location:io.foldright.cffu.kotlin//anyOfCffu/kotlin.Array[java.util.concurrent.CompletionStage[TypeParam(bounds=[kotlin.Any?])]]#io.foldright.cffu.CffuFactory/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/any-of-cffu.html +$dokka.location:io.foldright.cffu.kotlin//anyOfCffu/kotlin.collections.Collection[io.foldright.cffu.Cffu[TypeParam(bounds=[kotlin.Any?])]]#io.foldright.cffu.CffuFactory/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/any-of-cffu.html +$dokka.location:io.foldright.cffu.kotlin//anyOfCffu/kotlin.collections.Collection[java.util.concurrent.CompletionStage[TypeParam(bounds=[kotlin.Any?])]]#io.foldright.cffu.CffuFactory/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/any-of-cffu.html +$dokka.location:io.foldright.cffu.kotlin//anyOfCompletableFuture/kotlin.Array[java.util.concurrent.CompletionStage[TypeParam(bounds=[kotlin.Any?])]]#/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/any-of-completable-future.html +$dokka.location:io.foldright.cffu.kotlin//anyOfCompletableFuture/kotlin.collections.Collection[java.util.concurrent.CompletionStage[TypeParam(bounds=[kotlin.Any?])]]#/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/any-of-completable-future.html +$dokka.location:io.foldright.cffu.kotlin//anySuccessOfCffu/kotlin.Array[io.foldright.cffu.Cffu[TypeParam(bounds=[kotlin.Any?])]]#io.foldright.cffu.CffuFactory/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/any-success-of-cffu.html +$dokka.location:io.foldright.cffu.kotlin//anySuccessOfCffu/kotlin.Array[java.util.concurrent.CompletionStage[TypeParam(bounds=[kotlin.Any?])]]#io.foldright.cffu.CffuFactory/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/any-success-of-cffu.html +$dokka.location:io.foldright.cffu.kotlin//anySuccessOfCffu/kotlin.collections.Collection[io.foldright.cffu.Cffu[TypeParam(bounds=[kotlin.Any?])]]#io.foldright.cffu.CffuFactory/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/any-success-of-cffu.html +$dokka.location:io.foldright.cffu.kotlin//anySuccessOfCffu/kotlin.collections.Collection[java.util.concurrent.CompletionStage[TypeParam(bounds=[kotlin.Any?])]]#io.foldright.cffu.CffuFactory/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/any-success-of-cffu.html +$dokka.location:io.foldright.cffu.kotlin//anySuccessOfCompletableFuture/kotlin.Array[java.util.concurrent.CompletionStage[TypeParam(bounds=[kotlin.Any?])]]#/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/any-success-of-completable-future.html +$dokka.location:io.foldright.cffu.kotlin//anySuccessOfCompletableFuture/kotlin.collections.Collection[java.util.concurrent.CompletionStage[TypeParam(bounds=[kotlin.Any?])]]#/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/any-success-of-completable-future.html +$dokka.location:io.foldright.cffu.kotlin//applyToEitherSuccess/java.util.concurrent.CompletableFuture[TypeParam(bounds=[kotlin.Any?])]#java.util.concurrent.CompletionStage[TypeParam(bounds=[kotlin.Any?])]#java.util.function.Function[TypeParam(bounds=[kotlin.Any?]),TypeParam(bounds=[kotlin.Any?])]/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/apply-to-either-success.html +$dokka.location:io.foldright.cffu.kotlin//applyToEitherSuccessAsync/java.util.concurrent.CompletableFuture[TypeParam(bounds=[kotlin.Any?])]#java.util.concurrent.CompletionStage[TypeParam(bounds=[kotlin.Any?])]#java.util.function.Function[TypeParam(bounds=[kotlin.Any?]),TypeParam(bounds=[kotlin.Any?])]#java.util.concurrent.Executor/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/apply-to-either-success-async.html +$dokka.location:io.foldright.cffu.kotlin//applyToEitherSuccessAsync/java.util.concurrent.CompletableFuture[TypeParam(bounds=[kotlin.Any?])]#java.util.concurrent.CompletionStage[TypeParam(bounds=[kotlin.Any?])]#java.util.function.Function[TypeParam(bounds=[kotlin.Any?]),TypeParam(bounds=[kotlin.Any?])]/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/apply-to-either-success-async.html +$dokka.location:io.foldright.cffu.kotlin//catching/TypeParam(bounds=[java.util.concurrent.CompletionStage[TypeParam(bounds=[kotlin.Any?])]])#java.lang.Class[TypeParam(bounds=[kotlin.Throwable])]#java.util.function.Function[TypeParam(bounds=[kotlin.Throwable]),TypeParam(bounds=[kotlin.Any?])]/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/catching.html +$dokka.location:io.foldright.cffu.kotlin//catchingAsync/TypeParam(bounds=[java.util.concurrent.CompletionStage[TypeParam(bounds=[kotlin.Any?])]])#java.lang.Class[TypeParam(bounds=[kotlin.Throwable])]#java.util.function.Function[TypeParam(bounds=[kotlin.Throwable]),TypeParam(bounds=[kotlin.Any?])]#java.util.concurrent.Executor/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/catching-async.html +$dokka.location:io.foldright.cffu.kotlin//catchingAsync/TypeParam(bounds=[java.util.concurrent.CompletionStage[TypeParam(bounds=[kotlin.Any?])]])#java.lang.Class[TypeParam(bounds=[kotlin.Throwable])]#java.util.function.Function[TypeParam(bounds=[kotlin.Throwable]),TypeParam(bounds=[kotlin.Any?])]/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/catching-async.html +$dokka.location:io.foldright.cffu.kotlin//catchingCompose/TypeParam(bounds=[java.util.concurrent.CompletionStage[TypeParam(bounds=[kotlin.Any?])]])#java.lang.Class[TypeParam(bounds=[kotlin.Throwable])]#java.util.function.Function[TypeParam(bounds=[kotlin.Throwable]),java.util.concurrent.CompletionStage[TypeParam(bounds=[kotlin.Any?])]]/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/catching-compose.html +$dokka.location:io.foldright.cffu.kotlin//catchingComposeAsync/TypeParam(bounds=[java.util.concurrent.CompletionStage[TypeParam(bounds=[kotlin.Any?])]])#java.lang.Class[TypeParam(bounds=[kotlin.Throwable])]#java.util.function.Function[TypeParam(bounds=[kotlin.Throwable]),java.util.concurrent.CompletionStage[TypeParam(bounds=[kotlin.Any?])]]#java.util.concurrent.Executor/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/catching-compose-async.html +$dokka.location:io.foldright.cffu.kotlin//catchingComposeAsync/TypeParam(bounds=[java.util.concurrent.CompletionStage[TypeParam(bounds=[kotlin.Any?])]])#java.lang.Class[TypeParam(bounds=[kotlin.Throwable])]#java.util.function.Function[TypeParam(bounds=[kotlin.Throwable]),java.util.concurrent.CompletionStage[TypeParam(bounds=[kotlin.Any?])]]/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/catching-compose-async.html +$dokka.location:io.foldright.cffu.kotlin//cffuCompleteOnTimeout/TypeParam(bounds=[java.util.concurrent.CompletableFuture[TypeParam(bounds=[kotlin.Any?])]])#TypeParam(bounds=[kotlin.Any?])#java.util.concurrent.Executor#kotlin.Long#java.util.concurrent.TimeUnit/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/cffu-complete-on-timeout.html +$dokka.location:io.foldright.cffu.kotlin//cffuCompleteOnTimeout/TypeParam(bounds=[java.util.concurrent.CompletableFuture[TypeParam(bounds=[kotlin.Any?])]])#TypeParam(bounds=[kotlin.Any?])#kotlin.Long#java.util.concurrent.TimeUnit/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/cffu-complete-on-timeout.html +$dokka.location:io.foldright.cffu.kotlin//cffuOrTimeout/TypeParam(bounds=[java.util.concurrent.CompletableFuture[TypeParam(bounds=[kotlin.Any?])]])#java.util.concurrent.Executor#kotlin.Long#java.util.concurrent.TimeUnit/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/cffu-or-timeout.html +$dokka.location:io.foldright.cffu.kotlin//cffuOrTimeout/TypeParam(bounds=[java.util.concurrent.CompletableFuture[TypeParam(bounds=[kotlin.Any?])]])#kotlin.Long#java.util.concurrent.TimeUnit/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/cffu-or-timeout.html +$dokka.location:io.foldright.cffu.kotlin//cffuState/java.util.concurrent.Future[*]#/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/cffu-state.html +$dokka.location:io.foldright.cffu.kotlin//completeAsync/TypeParam(bounds=[java.util.concurrent.CompletableFuture[TypeParam(bounds=[kotlin.Any?])]])#java.util.function.Supplier[TypeParam(bounds=[kotlin.Any?])]#java.util.concurrent.Executor/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/complete-async.html +$dokka.location:io.foldright.cffu.kotlin//completeAsync/TypeParam(bounds=[java.util.concurrent.CompletableFuture[TypeParam(bounds=[kotlin.Any?])]])#java.util.function.Supplier[TypeParam(bounds=[kotlin.Any?])]/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/complete-async.html +$dokka.location:io.foldright.cffu.kotlin//completeExceptionallyAsync/TypeParam(bounds=[java.util.concurrent.CompletableFuture[*]])#java.util.function.Supplier[kotlin.Throwable]#java.util.concurrent.Executor/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/complete-exceptionally-async.html +$dokka.location:io.foldright.cffu.kotlin//completeExceptionallyAsync/TypeParam(bounds=[java.util.concurrent.CompletableFuture[*]])#java.util.function.Supplier[kotlin.Throwable]/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/complete-exceptionally-async.html +$dokka.location:io.foldright.cffu.kotlin//completeOnTimeout/TypeParam(bounds=[java.util.concurrent.CompletableFuture[TypeParam(bounds=[kotlin.Any?])]])#TypeParam(bounds=[kotlin.Any?])#kotlin.Long#java.util.concurrent.TimeUnit/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/complete-on-timeout.html +$dokka.location:io.foldright.cffu.kotlin//component1/io.foldright.cffu.tuple.Tuple2[TypeParam(bounds=[kotlin.Any?]),*]#/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/component1.html +$dokka.location:io.foldright.cffu.kotlin//component1/io.foldright.cffu.tuple.Tuple3[TypeParam(bounds=[kotlin.Any?]),*,*]#/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/component1.html +$dokka.location:io.foldright.cffu.kotlin//component1/io.foldright.cffu.tuple.Tuple4[TypeParam(bounds=[kotlin.Any?]),*,*,*]#/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/component1.html +$dokka.location:io.foldright.cffu.kotlin//component1/io.foldright.cffu.tuple.Tuple5[TypeParam(bounds=[kotlin.Any?]),*,*,*,*]#/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/component1.html +$dokka.location:io.foldright.cffu.kotlin//component2/io.foldright.cffu.tuple.Tuple2[*,TypeParam(bounds=[kotlin.Any?])]#/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/component2.html +$dokka.location:io.foldright.cffu.kotlin//component2/io.foldright.cffu.tuple.Tuple3[*,TypeParam(bounds=[kotlin.Any?]),*]#/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/component2.html +$dokka.location:io.foldright.cffu.kotlin//component2/io.foldright.cffu.tuple.Tuple4[*,TypeParam(bounds=[kotlin.Any?]),*,*]#/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/component2.html +$dokka.location:io.foldright.cffu.kotlin//component2/io.foldright.cffu.tuple.Tuple5[*,TypeParam(bounds=[kotlin.Any?]),*,*,*]#/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/component2.html +$dokka.location:io.foldright.cffu.kotlin//component3/io.foldright.cffu.tuple.Tuple3[*,*,TypeParam(bounds=[kotlin.Any?])]#/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/component3.html +$dokka.location:io.foldright.cffu.kotlin//component3/io.foldright.cffu.tuple.Tuple4[*,*,TypeParam(bounds=[kotlin.Any?]),*]#/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/component3.html +$dokka.location:io.foldright.cffu.kotlin//component3/io.foldright.cffu.tuple.Tuple5[*,*,TypeParam(bounds=[kotlin.Any?]),*,*]#/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/component3.html +$dokka.location:io.foldright.cffu.kotlin//component4/io.foldright.cffu.tuple.Tuple4[*,*,*,TypeParam(bounds=[kotlin.Any?])]#/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/component4.html +$dokka.location:io.foldright.cffu.kotlin//component4/io.foldright.cffu.tuple.Tuple5[*,*,*,TypeParam(bounds=[kotlin.Any?]),*]#/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/component4.html +$dokka.location:io.foldright.cffu.kotlin//component5/io.foldright.cffu.tuple.Tuple5[*,*,*,*,TypeParam(bounds=[kotlin.Any?])]#/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/component5.html +$dokka.location:io.foldright.cffu.kotlin//copy/java.util.concurrent.CompletableFuture[TypeParam(bounds=[kotlin.Any?])]#/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/copy.html +$dokka.location:io.foldright.cffu.kotlin//exceptionNow/java.util.concurrent.Future[*]#/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/exception-now.html +$dokka.location:io.foldright.cffu.kotlin//exceptionallyAsync/TypeParam(bounds=[java.util.concurrent.CompletionStage[TypeParam(bounds=[kotlin.Any?])]])#java.util.function.Function[kotlin.Throwable,TypeParam(bounds=[kotlin.Any?])]#java.util.concurrent.Executor/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/exceptionally-async.html +$dokka.location:io.foldright.cffu.kotlin//exceptionallyAsync/TypeParam(bounds=[java.util.concurrent.CompletionStage[TypeParam(bounds=[kotlin.Any?])]])#java.util.function.Function[kotlin.Throwable,TypeParam(bounds=[kotlin.Any?])]/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/exceptionally-async.html +$dokka.location:io.foldright.cffu.kotlin//exceptionallyCompose/TypeParam(bounds=[java.util.concurrent.CompletionStage[TypeParam(bounds=[kotlin.Any?])]])#java.util.function.Function[kotlin.Throwable,java.util.concurrent.CompletionStage[TypeParam(bounds=[kotlin.Any?])]]/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/exceptionally-compose.html +$dokka.location:io.foldright.cffu.kotlin//exceptionallyComposeAsync/TypeParam(bounds=[java.util.concurrent.CompletionStage[TypeParam(bounds=[kotlin.Any?])]])#java.util.function.Function[kotlin.Throwable,java.util.concurrent.CompletionStage[TypeParam(bounds=[kotlin.Any?])]]#java.util.concurrent.Executor/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/exceptionally-compose-async.html +$dokka.location:io.foldright.cffu.kotlin//exceptionallyComposeAsync/TypeParam(bounds=[java.util.concurrent.CompletionStage[TypeParam(bounds=[kotlin.Any?])]])#java.util.function.Function[kotlin.Throwable,java.util.concurrent.CompletionStage[TypeParam(bounds=[kotlin.Any?])]]/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/exceptionally-compose-async.html +$dokka.location:io.foldright.cffu.kotlin//getSuccessNow/java.util.concurrent.CompletableFuture[TypeParam(bounds=[kotlin.Any?])]#TypeParam(bounds=[kotlin.Any?])/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/get-success-now.html +$dokka.location:io.foldright.cffu.kotlin//join/java.util.concurrent.CompletableFuture[TypeParam(bounds=[kotlin.Any?])]#kotlin.Long#java.util.concurrent.TimeUnit/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/join.html +$dokka.location:io.foldright.cffu.kotlin//minimalCompletionStage/java.util.concurrent.CompletableFuture[TypeParam(bounds=[kotlin.Any?])]#/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/minimal-completion-stage.html +$dokka.location:io.foldright.cffu.kotlin//mostSuccessResultsOfCffu/kotlin.Array[io.foldright.cffu.Cffu[TypeParam(bounds=[kotlin.Any?])]]#TypeParam(bounds=[kotlin.Any?])#kotlin.Long#java.util.concurrent.TimeUnit#io.foldright.cffu.CffuFactory/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/most-success-results-of-cffu.html +$dokka.location:io.foldright.cffu.kotlin//mostSuccessResultsOfCffu/kotlin.Array[java.util.concurrent.CompletionStage[TypeParam(bounds=[kotlin.Any?])]]#TypeParam(bounds=[kotlin.Any?])#kotlin.Long#java.util.concurrent.TimeUnit#io.foldright.cffu.CffuFactory/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/most-success-results-of-cffu.html +$dokka.location:io.foldright.cffu.kotlin//mostSuccessResultsOfCffu/kotlin.collections.Collection[io.foldright.cffu.Cffu[TypeParam(bounds=[kotlin.Any?])]]#TypeParam(bounds=[kotlin.Any?])#kotlin.Long#java.util.concurrent.TimeUnit#io.foldright.cffu.CffuFactory/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/most-success-results-of-cffu.html +$dokka.location:io.foldright.cffu.kotlin//mostSuccessResultsOfCffu/kotlin.collections.Collection[java.util.concurrent.CompletionStage[TypeParam(bounds=[kotlin.Any?])]]#TypeParam(bounds=[kotlin.Any?])#kotlin.Long#java.util.concurrent.TimeUnit#io.foldright.cffu.CffuFactory/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/most-success-results-of-cffu.html +$dokka.location:io.foldright.cffu.kotlin//mostSuccessResultsOfCompletableFuture/kotlin.Array[java.util.concurrent.CompletionStage[TypeParam(bounds=[kotlin.Any?])]]#TypeParam(bounds=[kotlin.Any?])#java.util.concurrent.Executor#kotlin.Long#java.util.concurrent.TimeUnit/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/most-success-results-of-completable-future.html +$dokka.location:io.foldright.cffu.kotlin//mostSuccessResultsOfCompletableFuture/kotlin.Array[java.util.concurrent.CompletionStage[TypeParam(bounds=[kotlin.Any?])]]#TypeParam(bounds=[kotlin.Any?])#kotlin.Long#java.util.concurrent.TimeUnit/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/most-success-results-of-completable-future.html +$dokka.location:io.foldright.cffu.kotlin//mostSuccessResultsOfCompletableFuture/kotlin.collections.Collection[java.util.concurrent.CompletionStage[TypeParam(bounds=[kotlin.Any?])]]#TypeParam(bounds=[kotlin.Any?])#java.util.concurrent.Executor#kotlin.Long#java.util.concurrent.TimeUnit/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/most-success-results-of-completable-future.html +$dokka.location:io.foldright.cffu.kotlin//mostSuccessResultsOfCompletableFuture/kotlin.collections.Collection[java.util.concurrent.CompletionStage[TypeParam(bounds=[kotlin.Any?])]]#TypeParam(bounds=[kotlin.Any?])#kotlin.Long#java.util.concurrent.TimeUnit/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/most-success-results-of-completable-future.html +$dokka.location:io.foldright.cffu.kotlin//newIncompleteFuture/java.util.concurrent.CompletableFuture[*]#/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/new-incomplete-future.html +$dokka.location:io.foldright.cffu.kotlin//orTimeout/TypeParam(bounds=[java.util.concurrent.CompletableFuture[TypeParam(bounds=[kotlin.Any?])]])#kotlin.Long#java.util.concurrent.TimeUnit/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/or-timeout.html +$dokka.location:io.foldright.cffu.kotlin//peek/TypeParam(bounds=[java.util.concurrent.CompletionStage[TypeParam(bounds=[kotlin.Any?])]])#java.util.function.BiConsumer[TypeParam(bounds=[kotlin.Any?]),kotlin.Throwable]/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/peek.html +$dokka.location:io.foldright.cffu.kotlin//peekAsync/TypeParam(bounds=[java.util.concurrent.CompletionStage[TypeParam(bounds=[kotlin.Any?])]])#java.util.function.BiConsumer[TypeParam(bounds=[kotlin.Any?]),kotlin.Throwable]#java.util.concurrent.Executor/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/peek-async.html +$dokka.location:io.foldright.cffu.kotlin//peekAsync/TypeParam(bounds=[java.util.concurrent.CompletionStage[TypeParam(bounds=[kotlin.Any?])]])#java.util.function.BiConsumer[TypeParam(bounds=[kotlin.Any?]),kotlin.Throwable]/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/peek-async.html +$dokka.location:io.foldright.cffu.kotlin//resultNow/java.util.concurrent.Future[TypeParam(bounds=[kotlin.Any?])]#/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/result-now.html +$dokka.location:io.foldright.cffu.kotlin//runAfterBothFastFail/java.util.concurrent.CompletableFuture[*]#java.util.concurrent.CompletionStage[*]#java.lang.Runnable/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/run-after-both-fast-fail.html +$dokka.location:io.foldright.cffu.kotlin//runAfterBothFastFailAsync/java.util.concurrent.CompletableFuture[*]#java.util.concurrent.CompletionStage[*]#java.lang.Runnable#java.util.concurrent.Executor/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/run-after-both-fast-fail-async.html +$dokka.location:io.foldright.cffu.kotlin//runAfterBothFastFailAsync/java.util.concurrent.CompletableFuture[*]#java.util.concurrent.CompletionStage[*]#java.lang.Runnable/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/run-after-both-fast-fail-async.html +$dokka.location:io.foldright.cffu.kotlin//runAfterEitherSuccess/java.util.concurrent.CompletableFuture[*]#java.util.concurrent.CompletionStage[*]#java.lang.Runnable/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/run-after-either-success.html +$dokka.location:io.foldright.cffu.kotlin//runAfterEitherSuccessAsync/java.util.concurrent.CompletableFuture[*]#java.util.concurrent.CompletionStage[*]#java.lang.Runnable#java.util.concurrent.Executor/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/run-after-either-success-async.html +$dokka.location:io.foldright.cffu.kotlin//runAfterEitherSuccessAsync/java.util.concurrent.CompletableFuture[*]#java.util.concurrent.CompletionStage[*]#java.lang.Runnable/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/run-after-either-success-async.html +$dokka.location:io.foldright.cffu.kotlin//thenAcceptBothFastFail/java.util.concurrent.CompletableFuture[TypeParam(bounds=[kotlin.Any?])]#java.util.concurrent.CompletionStage[TypeParam(bounds=[kotlin.Any?])]#java.util.function.BiConsumer[TypeParam(bounds=[kotlin.Any?]),TypeParam(bounds=[kotlin.Any?])]/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/then-accept-both-fast-fail.html +$dokka.location:io.foldright.cffu.kotlin//thenAcceptBothFastFailAsync/java.util.concurrent.CompletableFuture[TypeParam(bounds=[kotlin.Any?])]#java.util.concurrent.CompletionStage[TypeParam(bounds=[kotlin.Any?])]#java.util.function.BiConsumer[TypeParam(bounds=[kotlin.Any?]),TypeParam(bounds=[kotlin.Any?])]#java.util.concurrent.Executor/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/then-accept-both-fast-fail-async.html +$dokka.location:io.foldright.cffu.kotlin//thenAcceptBothFastFailAsync/java.util.concurrent.CompletableFuture[TypeParam(bounds=[kotlin.Any?])]#java.util.concurrent.CompletionStage[TypeParam(bounds=[kotlin.Any?])]#java.util.function.BiConsumer[TypeParam(bounds=[kotlin.Any?]),TypeParam(bounds=[kotlin.Any?])]/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/then-accept-both-fast-fail-async.html +$dokka.location:io.foldright.cffu.kotlin//thenCombineFastFail/java.util.concurrent.CompletableFuture[TypeParam(bounds=[kotlin.Any?])]#java.util.concurrent.CompletionStage[TypeParam(bounds=[kotlin.Any?])]#java.util.function.BiFunction[TypeParam(bounds=[kotlin.Any?]),TypeParam(bounds=[kotlin.Any?]),TypeParam(bounds=[kotlin.Any?])]/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/then-combine-fast-fail.html +$dokka.location:io.foldright.cffu.kotlin//thenCombineFastFailAsync/java.util.concurrent.CompletableFuture[TypeParam(bounds=[kotlin.Any?])]#java.util.concurrent.CompletionStage[TypeParam(bounds=[kotlin.Any?])]#java.util.function.BiFunction[TypeParam(bounds=[kotlin.Any?]),TypeParam(bounds=[kotlin.Any?]),TypeParam(bounds=[kotlin.Any?])]#java.util.concurrent.Executor/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/then-combine-fast-fail-async.html +$dokka.location:io.foldright.cffu.kotlin//thenCombineFastFailAsync/java.util.concurrent.CompletableFuture[TypeParam(bounds=[kotlin.Any?])]#java.util.concurrent.CompletionStage[TypeParam(bounds=[kotlin.Any?])]#java.util.function.BiFunction[TypeParam(bounds=[kotlin.Any?]),TypeParam(bounds=[kotlin.Any?]),TypeParam(bounds=[kotlin.Any?])]/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/then-combine-fast-fail-async.html +$dokka.location:io.foldright.cffu.kotlin//toCffu/com.google.common.util.concurrent.ListenableFuture[TypeParam(bounds=[kotlin.Any?])]#io.foldright.cffu.CffuFactory#kotlin.Boolean/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/to-cffu.html +$dokka.location:io.foldright.cffu.kotlin//toCffu/java.util.concurrent.CompletionStage[TypeParam(bounds=[kotlin.Any?])]#io.foldright.cffu.CffuFactory/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/to-cffu.html +$dokka.location:io.foldright.cffu.kotlin//toCffu/kotlin.Array[java.util.concurrent.CompletionStage[TypeParam(bounds=[kotlin.Any?])]]#io.foldright.cffu.CffuFactory/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/to-cffu.html +$dokka.location:io.foldright.cffu.kotlin//toCffu/kotlin.collections.Collection[java.util.concurrent.CompletionStage[TypeParam(bounds=[kotlin.Any?])]]#io.foldright.cffu.CffuFactory/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/to-cffu.html +$dokka.location:io.foldright.cffu.kotlin//toCompletableFuture/com.google.common.util.concurrent.ListenableFuture[TypeParam(bounds=[kotlin.Any?])]#java.util.concurrent.Executor#kotlin.Boolean/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/to-completable-future.html +$dokka.location:io.foldright.cffu.kotlin//toCompletableFuture/kotlin.Array[java.util.concurrent.CompletionStage[TypeParam(bounds=[kotlin.Any?])]]#/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/to-completable-future.html +$dokka.location:io.foldright.cffu.kotlin//toCompletableFuture/kotlin.collections.Collection[java.util.concurrent.CompletionStage[TypeParam(bounds=[kotlin.Any?])]]#/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/to-completable-future.html +$dokka.location:io.foldright.cffu.kotlin//toListenableFuture/io.foldright.cffu.Cffu[TypeParam(bounds=[kotlin.Any?])]#/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/to-listenable-future.html +$dokka.location:io.foldright.cffu.kotlin//toListenableFuture/java.util.concurrent.CompletableFuture[TypeParam(bounds=[kotlin.Any?])]#/PointingToDeclaration/cffu-kotlin/io.foldright.cffu.kotlin/to-listenable-future.html +io.foldright.cffu.kotlin + diff --git a/cffu-kotlin/1.0.0-Alpha22/images/anchor-copy-button.svg b/cffu-kotlin/1.0.0-Alpha22/images/anchor-copy-button.svg new file mode 100644 index 0000000..19c1fa3 --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/images/anchor-copy-button.svg @@ -0,0 +1,8 @@ + + + + + + diff --git a/cffu-kotlin/1.0.0-Alpha22/images/arrow_down.svg b/cffu-kotlin/1.0.0-Alpha22/images/arrow_down.svg new file mode 100644 index 0000000..639aaf1 --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/images/arrow_down.svg @@ -0,0 +1,7 @@ + + + + + diff --git a/cffu-kotlin/1.0.0-Alpha22/images/burger.svg b/cffu-kotlin/1.0.0-Alpha22/images/burger.svg new file mode 100644 index 0000000..fcca732 --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/images/burger.svg @@ -0,0 +1,9 @@ + + + + + + + diff --git a/cffu-kotlin/1.0.0-Alpha22/images/copy-icon.svg b/cffu-kotlin/1.0.0-Alpha22/images/copy-icon.svg new file mode 100644 index 0000000..2cb02ec --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/images/copy-icon.svg @@ -0,0 +1,7 @@ + + + + + diff --git a/cffu-kotlin/1.0.0-Alpha22/images/copy-successful-icon.svg b/cffu-kotlin/1.0.0-Alpha22/images/copy-successful-icon.svg new file mode 100644 index 0000000..c4b9538 --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/images/copy-successful-icon.svg @@ -0,0 +1,7 @@ + + + + + diff --git a/cffu-kotlin/1.0.0-Alpha22/images/footer-go-to-link.svg b/cffu-kotlin/1.0.0-Alpha22/images/footer-go-to-link.svg new file mode 100644 index 0000000..a87add7 --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/images/footer-go-to-link.svg @@ -0,0 +1,7 @@ + + + + + diff --git a/cffu-kotlin/1.0.0-Alpha22/images/go-to-top-icon.svg b/cffu-kotlin/1.0.0-Alpha22/images/go-to-top-icon.svg new file mode 100644 index 0000000..abc3d1c --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/images/go-to-top-icon.svg @@ -0,0 +1,8 @@ + + + + + + diff --git a/cffu-kotlin/1.0.0-Alpha22/images/homepage.svg b/cffu-kotlin/1.0.0-Alpha22/images/homepage.svg new file mode 100644 index 0000000..e3c83b1 --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/images/homepage.svg @@ -0,0 +1,3 @@ + + + diff --git a/cffu-kotlin/1.0.0-Alpha22/images/logo-icon.svg b/cffu-kotlin/1.0.0-Alpha22/images/logo-icon.svg new file mode 100644 index 0000000..e42f957 --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/images/logo-icon.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + diff --git a/cffu-kotlin/1.0.0-Alpha22/images/nav-icons/abstract-class-kotlin.svg b/cffu-kotlin/1.0.0-Alpha22/images/nav-icons/abstract-class-kotlin.svg new file mode 100644 index 0000000..19d6148 --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/images/nav-icons/abstract-class-kotlin.svg @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/cffu-kotlin/1.0.0-Alpha22/images/nav-icons/abstract-class.svg b/cffu-kotlin/1.0.0-Alpha22/images/nav-icons/abstract-class.svg new file mode 100644 index 0000000..6018203 --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/images/nav-icons/abstract-class.svg @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/cffu-kotlin/1.0.0-Alpha22/images/nav-icons/annotation-kotlin.svg b/cffu-kotlin/1.0.0-Alpha22/images/nav-icons/annotation-kotlin.svg new file mode 100644 index 0000000..b90f508 --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/images/nav-icons/annotation-kotlin.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + diff --git a/cffu-kotlin/1.0.0-Alpha22/images/nav-icons/annotation.svg b/cffu-kotlin/1.0.0-Alpha22/images/nav-icons/annotation.svg new file mode 100644 index 0000000..b80c54b --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/images/nav-icons/annotation.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/cffu-kotlin/1.0.0-Alpha22/images/nav-icons/class-kotlin.svg b/cffu-kotlin/1.0.0-Alpha22/images/nav-icons/class-kotlin.svg new file mode 100644 index 0000000..797a242 --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/images/nav-icons/class-kotlin.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + diff --git a/cffu-kotlin/1.0.0-Alpha22/images/nav-icons/class.svg b/cffu-kotlin/1.0.0-Alpha22/images/nav-icons/class.svg new file mode 100644 index 0000000..3f1ad16 --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/images/nav-icons/class.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/cffu-kotlin/1.0.0-Alpha22/images/nav-icons/enum-kotlin.svg b/cffu-kotlin/1.0.0-Alpha22/images/nav-icons/enum-kotlin.svg new file mode 100644 index 0000000..775a7cc --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/images/nav-icons/enum-kotlin.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + diff --git a/cffu-kotlin/1.0.0-Alpha22/images/nav-icons/enum.svg b/cffu-kotlin/1.0.0-Alpha22/images/nav-icons/enum.svg new file mode 100644 index 0000000..fa7f247 --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/images/nav-icons/enum.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/cffu-kotlin/1.0.0-Alpha22/images/nav-icons/exception-class.svg b/cffu-kotlin/1.0.0-Alpha22/images/nav-icons/exception-class.svg new file mode 100644 index 0000000..c0b2bde --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/images/nav-icons/exception-class.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/cffu-kotlin/1.0.0-Alpha22/images/nav-icons/field-value.svg b/cffu-kotlin/1.0.0-Alpha22/images/nav-icons/field-value.svg new file mode 100644 index 0000000..2771ee5 --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/images/nav-icons/field-value.svg @@ -0,0 +1,10 @@ + + + + + + + + diff --git a/cffu-kotlin/1.0.0-Alpha22/images/nav-icons/field-variable.svg b/cffu-kotlin/1.0.0-Alpha22/images/nav-icons/field-variable.svg new file mode 100644 index 0000000..e2d2bbd --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/images/nav-icons/field-variable.svg @@ -0,0 +1,10 @@ + + + + + + + + diff --git a/cffu-kotlin/1.0.0-Alpha22/images/nav-icons/function.svg b/cffu-kotlin/1.0.0-Alpha22/images/nav-icons/function.svg new file mode 100644 index 0000000..f0da64a --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/images/nav-icons/function.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/cffu-kotlin/1.0.0-Alpha22/images/nav-icons/interface-kotlin.svg b/cffu-kotlin/1.0.0-Alpha22/images/nav-icons/interface-kotlin.svg new file mode 100644 index 0000000..5e16326 --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/images/nav-icons/interface-kotlin.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + diff --git a/cffu-kotlin/1.0.0-Alpha22/images/nav-icons/interface.svg b/cffu-kotlin/1.0.0-Alpha22/images/nav-icons/interface.svg new file mode 100644 index 0000000..32063ba --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/images/nav-icons/interface.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/cffu-kotlin/1.0.0-Alpha22/images/nav-icons/object.svg b/cffu-kotlin/1.0.0-Alpha22/images/nav-icons/object.svg new file mode 100644 index 0000000..31f0ee3 --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/images/nav-icons/object.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + diff --git a/cffu-kotlin/1.0.0-Alpha22/images/nav-icons/typealias-kotlin.svg b/cffu-kotlin/1.0.0-Alpha22/images/nav-icons/typealias-kotlin.svg new file mode 100644 index 0000000..f4bb238 --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/images/nav-icons/typealias-kotlin.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + diff --git a/cffu-kotlin/1.0.0-Alpha22/images/theme-toggle.svg b/cffu-kotlin/1.0.0-Alpha22/images/theme-toggle.svg new file mode 100644 index 0000000..df86202 --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/images/theme-toggle.svg @@ -0,0 +1,7 @@ + + + + + diff --git a/cffu-kotlin/1.0.0-Alpha22/index.html b/cffu-kotlin/1.0.0-Alpha22/index.html new file mode 100644 index 0000000..4c65648 --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/index.html @@ -0,0 +1,99 @@ + + + + + cffu-kotlin + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

cffu-kotlin

+
+

Packages

+
+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/cffu-kotlin/1.0.0-Alpha22/navigation.html b/cffu-kotlin/1.0.0-Alpha22/navigation.html new file mode 100644 index 0000000..ba7d370 --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/navigation.html @@ -0,0 +1,178 @@ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + +
+ +
+ + + + + +
+ +
+ + + + + + + + + + +
+ +
+ + +
+
+ diff --git a/cffu-kotlin/1.0.0-Alpha22/scripts/clipboard.js b/cffu-kotlin/1.0.0-Alpha22/scripts/clipboard.js new file mode 100644 index 0000000..7a4f33c --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/scripts/clipboard.js @@ -0,0 +1,56 @@ +/* + * Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. + */ + +window.addEventListener('load', () => { + document.querySelectorAll('span.copy-icon').forEach(element => { + element.addEventListener('click', (el) => copyElementsContentToClipboard(element)); + }) + + document.querySelectorAll('span.anchor-icon').forEach(element => { + element.addEventListener('click', (el) => { + if(element.hasAttribute('pointing-to')){ + const location = hrefWithoutCurrentlyUsedAnchor() + '#' + element.getAttribute('pointing-to') + copyTextToClipboard(element, location) + } + }); + }) +}) + +const copyElementsContentToClipboard = (element) => { + const selection = window.getSelection(); + const range = document.createRange(); + range.selectNodeContents(element.parentNode.parentNode); + selection.removeAllRanges(); + selection.addRange(range); + + copyAndShowPopup(element, () => selection.removeAllRanges()) +} + +const copyTextToClipboard = (element, text) => { + var textarea = document.createElement("textarea"); + textarea.textContent = text; + textarea.style.position = "fixed"; + document.body.appendChild(textarea); + textarea.select(); + + copyAndShowPopup(element, () => document.body.removeChild(textarea)) +} + +const copyAndShowPopup = (element, after) => { + try { + document.execCommand('copy'); + element.nextElementSibling.classList.add('active-popup'); + setTimeout(() => { + element.nextElementSibling.classList.remove('active-popup'); + }, 1200); + } catch (e) { + console.error('Failed to write to clipboard:', e) + } + finally { + if(after) after() + } +} + +const hrefWithoutCurrentlyUsedAnchor = () => window.location.href.split('#')[0] + diff --git a/cffu-kotlin/1.0.0-Alpha22/scripts/main.js b/cffu-kotlin/1.0.0-Alpha22/scripts/main.js new file mode 100644 index 0000000..ba6c347 --- /dev/null +++ b/cffu-kotlin/1.0.0-Alpha22/scripts/main.js @@ -0,0 +1,44 @@ +(()=>{var e={8527:e=>{e.exports=''},5570:e=>{e.exports=''},107:e=>{e.exports=''},7224:e=>{e.exports=''},538:e=>{e.exports=''},1924:(e,n,t)=>{"use strict";var r=t(210),o=t(5559),i=o(r("String.prototype.indexOf"));e.exports=function(e,n){var t=r(e,!!n);return"function"==typeof t&&i(e,".prototype.")>-1?o(t):t}},5559:(e,n,t)=>{"use strict";var r=t(8612),o=t(210),i=o("%Function.prototype.apply%"),a=o("%Function.prototype.call%"),l=o("%Reflect.apply%",!0)||r.call(a,i),c=o("%Object.getOwnPropertyDescriptor%",!0),u=o("%Object.defineProperty%",!0),s=o("%Math.max%");if(u)try{u({},"a",{value:1})}catch(e){u=null}e.exports=function(e){var n=l(r,a,arguments);if(c&&u){var t=c(n,"length");t.configurable&&u(n,"length",{value:1+s(0,e.length-(arguments.length-1))})}return n};var f=function(){return l(r,i,arguments)};u?u(e.exports,"apply",{value:f}):e.exports.apply=f},4184:(e,n)=>{var t; +/*! + Copyright (c) 2018 Jed Watson. + Licensed under the MIT License (MIT), see + http://jedwatson.github.io/classnames +*/!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],n=0;n{"use strict";e.exports=function(e,n){var t=this,r=t.constructor;return t.options=Object.assign({storeInstancesGlobally:!0},n||{}),t.callbacks={},t.directMap={},t.sequenceLevels={},t.resetTimer=null,t.ignoreNextKeyup=!1,t.ignoreNextKeypress=!1,t.nextExpectedAction=!1,t.element=e,t.addEvents(),t.options.storeInstancesGlobally&&r.instances.push(t),t},e.exports.prototype.bind=t(2207),e.exports.prototype.bindMultiple=t(3396),e.exports.prototype.unbind=t(9208),e.exports.prototype.trigger=t(9855),e.exports.prototype.reset=t(6214),e.exports.prototype.stopCallback=t(3450),e.exports.prototype.handleKey=t(3067),e.exports.prototype.addEvents=t(718),e.exports.prototype.bindSingle=t(8763),e.exports.prototype.getKeyInfo=t(5825),e.exports.prototype.pickBestAction=t(8608),e.exports.prototype.getReverseMap=t(3956),e.exports.prototype.getMatches=t(3373),e.exports.prototype.resetSequences=t(3346),e.exports.prototype.fireCallback=t(2684),e.exports.prototype.bindSequence=t(7103),e.exports.prototype.resetSequenceTimer=t(7309),e.exports.prototype.detach=t(7554),e.exports.instances=[],e.exports.reset=t(1822),e.exports.REVERSE_MAP=null},718:(e,n,t)=>{"use strict";e.exports=function(){var e=this,n=t(4323),r=e.element;e.eventHandler=t(9646).bind(e),n(r,"keypress",e.eventHandler),n(r,"keydown",e.eventHandler),n(r,"keyup",e.eventHandler)}},2207:e=>{"use strict";e.exports=function(e,n,t){return e=e instanceof Array?e:[e],this.bindMultiple(e,n,t),this}},3396:e=>{"use strict";e.exports=function(e,n,t){for(var r=0;r{"use strict";e.exports=function(e,n,r,o){var i=this;function a(n){return function(){i.nextExpectedAction=n,++i.sequenceLevels[e],i.resetSequenceTimer()}}function l(n){var a;i.fireCallback(r,n,e),"keyup"!==o&&(a=t(6770),i.ignoreNextKeyup=a(n)),setTimeout((function(){i.resetSequences()}),10)}i.sequenceLevels[e]=0;for(var c=0;c{"use strict";e.exports=function(e,n,t,r,o){var i=this;i.directMap[e+":"+t]=n;var a,l=(e=e.replace(/\s+/g," ")).split(" ");l.length>1?i.bindSequence(e,l,n,t):(a=i.getKeyInfo(e,t),i.callbacks[a.key]=i.callbacks[a.key]||[],i.getMatches(a.key,a.modifiers,{type:a.action},r,e,o),i.callbacks[a.key][r?"unshift":"push"]({callback:n,modifiers:a.modifiers,action:a.action,seq:r,level:o,combo:e}))}},7554:(e,n,t)=>{var r=t(4323).off;e.exports=function(){var e=this,n=e.element;r(n,"keypress",e.eventHandler),r(n,"keydown",e.eventHandler),r(n,"keyup",e.eventHandler)}},4323:e=>{function n(e,n,t,r){return!e.addEventListener&&(n="on"+n),(e.addEventListener||e.attachEvent).call(e,n,t,r),t}e.exports=n,e.exports.on=n,e.exports.off=function(e,n,t,r){return!e.removeEventListener&&(n="on"+n),(e.removeEventListener||e.detachEvent).call(e,n,t,r),t}},2684:(e,n,t)=>{"use strict";e.exports=function(e,n,r,o){this.stopCallback(n,n.target||n.srcElement,r,o)||!1===e(n,r)&&(t(1350)(n),t(6103)(n))}},5825:(e,n,t)=>{"use strict";e.exports=function(e,n){var r,o,i,a,l,c,u=[];for(r=t(4520)(e),a=t(7549),l=t(5355),c=t(8581),i=0;i{"use strict";e.exports=function(e,n,r,o,i,a){var l,c,u,s,f=this,p=[],d=r.type;"keypress"!==d||r.code&&"Arrow"===r.code.slice(0,5)||(f.callbacks["any-character"]||[]).forEach((function(e){p.push(e)}));if(!f.callbacks[e])return p;for(u=t(8581),"keyup"===d&&u(e)&&(n=[e]),l=0;l{"use strict";e.exports=function(){var e,n=this.constructor;if(!n.REVERSE_MAP)for(var r in n.REVERSE_MAP={},e=t(4766))r>95&&r<112||e.hasOwnProperty(r)&&(n.REVERSE_MAP[e[r]]=r);return n.REVERSE_MAP}},3067:(e,n,t)=>{"use strict";e.exports=function(e,n,r){var o,i,a,l,c=this,u={},s=0,f=!1;for(o=c.getMatches(e,n,r),i=0;i{"use strict";e.exports=function(e){var n,r=this;"number"!=typeof e.which&&(e.which=e.keyCode);var o=t(6770)(e);void 0!==o&&("keyup"!==e.type||r.ignoreNextKeyup!==o?(n=t(4610),r.handleKey(o,n(e),e)):r.ignoreNextKeyup=!1)}},5532:e=>{"use strict";e.exports=function(e,n){return e.sort().join(",")===n.sort().join(",")}},8608:e=>{"use strict";e.exports=function(e,n,t){return t||(t=this.getReverseMap()[e]?"keydown":"keypress"),"keypress"===t&&n.length&&(t="keydown"),t}},6214:e=>{"use strict";e.exports=function(){return this.callbacks={},this.directMap={},this}},7309:e=>{"use strict";e.exports=function(){var e=this;clearTimeout(e.resetTimer),e.resetTimer=setTimeout((function(){e.resetSequences()}),1e3)}},3346:e=>{"use strict";e.exports=function(e){var n=this;e=e||{};var t,r=!1;for(t in n.sequenceLevels)e[t]?r=!0:n.sequenceLevels[t]=0;r||(n.nextExpectedAction=!1)}},3450:e=>{"use strict";e.exports=function(e,n){if((" "+n.className+" ").indexOf(" combokeys ")>-1)return!1;var t=n.tagName.toLowerCase();return"input"===t||"select"===t||"textarea"===t||n.isContentEditable}},9855:e=>{"use strict";e.exports=function(e,n){return this.directMap[e+":"+n]&&this.directMap[e+":"+n]({},e),this}},9208:e=>{"use strict";e.exports=function(e,n){return this.bind(e,(function(){}),n)}},1822:e=>{"use strict";e.exports=function(){this.instances.forEach((function(e){e.reset()}))}},6770:(e,n,t)=>{"use strict";e.exports=function(e){var n,r;if(n=t(4766),r=t(5295),"keypress"===e.type){var o=String.fromCharCode(e.which);return e.shiftKey||(o=o.toLowerCase()),o}return void 0!==n[e.which]?n[e.which]:void 0!==r[e.which]?r[e.which]:String.fromCharCode(e.which).toLowerCase()}},4610:e=>{"use strict";e.exports=function(e){var n=[];return e.shiftKey&&n.push("shift"),e.altKey&&n.push("alt"),e.ctrlKey&&n.push("ctrl"),e.metaKey&&n.push("meta"),n}},8581:e=>{"use strict";e.exports=function(e){return"shift"===e||"ctrl"===e||"alt"===e||"meta"===e}},4520:e=>{"use strict";e.exports=function(e){return"+"===e?["+"]:e.split("+")}},1350:e=>{"use strict";e.exports=function(e){e.preventDefault?e.preventDefault():e.returnValue=!1}},5355:e=>{"use strict";e.exports={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"}},7549:e=>{"use strict";e.exports={option:"alt",command:"meta",return:"enter",escape:"esc",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"}},5295:e=>{"use strict";e.exports={106:"*",107:"plus",109:"minus",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"}},4766:e=>{"use strict";e.exports={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"ins",46:"del",91:"meta",93:"meta",173:"minus",187:"plus",189:"minus",224:"meta"};for(var n=1;n<20;++n)e.exports[111+n]="f"+n;for(n=0;n<=9;++n)e.exports[n+96]=n},6103:e=>{"use strict";e.exports=function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}},3362:()=>{var e;!function(){var e=Math.PI,n=2*e,t=e/180,r=document.createElement("div");document.head.appendChild(r);var o=self.ConicGradient=function(e){o.all.push(this),e=e||{},this.canvas=document.createElement("canvas"),this.context=this.canvas.getContext("2d"),this.repeating=!!e.repeating,this.size=e.size||Math.max(innerWidth,innerHeight),this.canvas.width=this.canvas.height=this.size;var n=e.stops;this.stops=(n||"").split(/\s*,(?![^(]*\))\s*/),this.from=0;for(var t=0;t0){var i=this.stops[0].clone();i.pos=0,this.stops.unshift(i)}if(void 0===this.stops[this.stops.length-1].pos)this.stops[this.stops.length-1].pos=1;else if(!this.repeating&&this.stops[this.stops.length-1].pos<1){var a=this.stops[this.stops.length-1].clone();a.pos=1,this.stops.push(a)}if(this.stops.forEach((function(e,n){if(void 0===e.pos){for(var t=n+1;this[t];t++)if(void 0!==this[t].pos){e.pos=this[n-1].pos+(this[t].pos-this[n-1].pos)/(t-n+1);break}}else n>0&&(e.pos=Math.max(e.pos,this[n-1].pos))}),this.stops),this.repeating){var l=(n=this.stops.slice())[n.length-1].pos-n[0].pos;for(t=0;this.stops[this.stops.length-1].pos<1&&t<1e4;t++)for(var c=0;c'},get png(){return this.canvas.toDataURL()},get r(){return Math.sqrt(2)*this.size/2},paint:function(){var e,n,r,o=this.context,i=this.r,a=this.size/2,l=0,c=this.stops[l];o.translate(this.size/2,this.size/2),o.rotate(-90*t),o.rotate(this.from*t),o.translate(-this.size/2,-this.size/2);for(var u=0;u<360;){if(u/360+1e-5>=c.pos){do{e=c,l++,c=this.stops[l]}while(c&&c!=e&&c.pos===e.pos);if(!c)break;var s=e.color+""==c.color+""&&e!=c;n=e.color.map((function(e,n){return c.color[n]-e}))}r=(u/360-e.pos)/(c.pos-e.pos);var f=s?c.color:n.map((function(n,t){var o=n*r+e.color[t];return t<3?255&o:o}));if(o.fillStyle="rgba("+f.join(",")+")",o.beginPath(),o.moveTo(a,a),s)var p=360*(c.pos-e.pos);else p=.5;var d=u*t,h=(d=Math.min(360*t,d))+p*t;h=Math.min(360*t,h+.02),o.arc(a,a,i,d,h),o.closePath(),o.fill(),u+=p}}},o.ColorStop=function(e,t){if(this.gradient=e,t){var r=t.match(/^(.+?)(?:\s+([\d.]+)(%|deg|turn|grad|rad)?)?(?:\s+([\d.]+)(%|deg|turn|grad|rad)?)?\s*$/);if(this.color=o.ColorStop.colorToRGBA(r[1]),r[2]){var i=r[3];"%"==i||"0"===r[2]&&!i?this.pos=r[2]/100:"turn"==i?this.pos=+r[2]:"deg"==i?this.pos=r[2]/360:"grad"==i?this.pos=r[2]/400:"rad"==i&&(this.pos=r[2]/n)}r[4]&&(this.next=new o.ColorStop(e,r[1]+" "+r[4]+r[5]))}},o.ColorStop.prototype={clone:function(){var e=new o.ColorStop(this.gradient);return e.color=this.color,e.pos=this.pos,e},toString:function(){return"rgba("+this.color.join(", ")+") "+100*this.pos+"%"}},o.ColorStop.colorToRGBA=function(e){if(!Array.isArray(e)&&-1==e.indexOf("from")){r.style.color=e;var n=getComputedStyle(r).color.match(/rgba?\(([\d.]+), ([\d.]+), ([\d.]+)(?:, ([\d.]+))?\)/);return n&&(n.shift(),(n=n.map((function(e){return+e})))[3]=isNaN(n[3])?1:n[3]),n||[0,0,0,0]}return e}}(),self.StyleFix&&((e=document.createElement("p")).style.backgroundImage="conic-gradient(white, black)",e.style.backgroundImage=PrefixFree.prefix+"conic-gradient(white, black)",e.style.backgroundImage||StyleFix.register((function(e,n){return e.indexOf("conic-gradient")>-1&&(e=e.replace(/(?:repeating-)?conic-gradient\(\s*((?:\([^()]+\)|[^;()}])+?)\)/g,(function(e,n){return new ConicGradient({stops:n,repeating:e.indexOf("repeating-")>-1})}))),e})))},9662:(e,n,t)=>{var r=t(7854),o=t(614),i=t(6330),a=r.TypeError;e.exports=function(e){if(o(e))return e;throw a(i(e)+" is not a function")}},9483:(e,n,t)=>{var r=t(7854),o=t(4411),i=t(6330),a=r.TypeError;e.exports=function(e){if(o(e))return e;throw a(i(e)+" is not a constructor")}},6077:(e,n,t)=>{var r=t(7854),o=t(614),i=r.String,a=r.TypeError;e.exports=function(e){if("object"==typeof e||o(e))return e;throw a("Can't set "+i(e)+" as a prototype")}},1223:(e,n,t)=>{var r=t(5112),o=t(30),i=t(3070),a=r("unscopables"),l=Array.prototype;null==l[a]&&i.f(l,a,{configurable:!0,value:o(null)}),e.exports=function(e){l[a][e]=!0}},1530:(e,n,t)=>{"use strict";var r=t(8710).charAt;e.exports=function(e,n,t){return n+(t?r(e,n).length:1)}},5787:(e,n,t)=>{var r=t(7854),o=t(7976),i=r.TypeError;e.exports=function(e,n){if(o(n,e))return e;throw i("Incorrect invocation")}},9670:(e,n,t)=>{var r=t(7854),o=t(111),i=r.String,a=r.TypeError;e.exports=function(e){if(o(e))return e;throw a(i(e)+" is not an object")}},7556:(e,n,t)=>{var r=t(7293);e.exports=r((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},8533:(e,n,t)=>{"use strict";var r=t(2092).forEach,o=t(9341)("forEach");e.exports=o?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},8457:(e,n,t)=>{"use strict";var r=t(7854),o=t(9974),i=t(6916),a=t(7908),l=t(3411),c=t(7659),u=t(4411),s=t(6244),f=t(6135),p=t(8554),d=t(1246),h=r.Array;e.exports=function(e){var n=a(e),t=u(this),r=arguments.length,g=r>1?arguments[1]:void 0,v=void 0!==g;v&&(g=o(g,r>2?arguments[2]:void 0));var A,b,m,y,E,_,C=d(n),w=0;if(!C||this==h&&c(C))for(A=s(n),b=t?new this(A):h(A);A>w;w++)_=v?g(n[w],w):n[w],f(b,w,_);else for(E=(y=p(n,C)).next,b=t?new this:[];!(m=i(E,y)).done;w++)_=v?l(y,g,[m.value,w],!0):m.value,f(b,w,_);return b.length=w,b}},1318:(e,n,t)=>{var r=t(5656),o=t(1400),i=t(6244),a=function(e){return function(n,t,a){var l,c=r(n),u=i(c),s=o(a,u);if(e&&t!=t){for(;u>s;)if((l=c[s++])!=l)return!0}else for(;u>s;s++)if((e||s in c)&&c[s]===t)return e||s||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},2092:(e,n,t)=>{var r=t(9974),o=t(1702),i=t(8361),a=t(7908),l=t(6244),c=t(5417),u=o([].push),s=function(e){var n=1==e,t=2==e,o=3==e,s=4==e,f=6==e,p=7==e,d=5==e||f;return function(h,g,v,A){for(var b,m,y=a(h),E=i(y),_=r(g,v),C=l(E),w=0,x=A||c,k=n?x(h,C):t||p?x(h,0):void 0;C>w;w++)if((d||w in E)&&(m=_(b=E[w],w,y),e))if(n)k[w]=m;else if(m)switch(e){case 3:return!0;case 5:return b;case 6:return w;case 2:u(k,b)}else switch(e){case 4:return!1;case 7:u(k,b)}return f?-1:o||s?s:k}};e.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6),filterReject:s(7)}},1194:(e,n,t)=>{var r=t(7293),o=t(5112),i=t(7392),a=o("species");e.exports=function(e){return i>=51||!r((function(){var n=[];return(n.constructor={})[a]=function(){return{foo:1}},1!==n[e](Boolean).foo}))}},9341:(e,n,t)=>{"use strict";var r=t(7293);e.exports=function(e,n){var t=[][e];return!!t&&r((function(){t.call(null,n||function(){throw 1},1)}))}},3671:(e,n,t)=>{var r=t(7854),o=t(9662),i=t(7908),a=t(8361),l=t(6244),c=r.TypeError,u=function(e){return function(n,t,r,u){o(t);var s=i(n),f=a(s),p=l(s),d=e?p-1:0,h=e?-1:1;if(r<2)for(;;){if(d in f){u=f[d],d+=h;break}if(d+=h,e?d<0:p<=d)throw c("Reduce of empty array with no initial value")}for(;e?d>=0:p>d;d+=h)d in f&&(u=t(u,f[d],d,s));return u}};e.exports={left:u(!1),right:u(!0)}},206:(e,n,t)=>{var r=t(1702);e.exports=r([].slice)},4362:(e,n,t)=>{var r=t(206),o=Math.floor,i=function(e,n){var t=e.length,c=o(t/2);return t<8?a(e,n):l(e,i(r(e,0,c),n),i(r(e,c),n),n)},a=function(e,n){for(var t,r,o=e.length,i=1;i0;)e[r]=e[--r];r!==i++&&(e[r]=t)}return e},l=function(e,n,t,r){for(var o=n.length,i=t.length,a=0,l=0;a{var r=t(7854),o=t(3157),i=t(4411),a=t(111),l=t(5112)("species"),c=r.Array;e.exports=function(e){var n;return o(e)&&(n=e.constructor,(i(n)&&(n===c||o(n.prototype))||a(n)&&null===(n=n[l]))&&(n=void 0)),void 0===n?c:n}},5417:(e,n,t)=>{var r=t(7475);e.exports=function(e,n){return new(r(e))(0===n?0:n)}},3411:(e,n,t)=>{var r=t(9670),o=t(9212);e.exports=function(e,n,t,i){try{return i?n(r(t)[0],t[1]):n(t)}catch(n){o(e,"throw",n)}}},7072:(e,n,t)=>{var r=t(5112)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,n){if(!n&&!o)return!1;var t=!1;try{var i={};i[r]=function(){return{next:function(){return{done:t=!0}}}},e(i)}catch(e){}return t}},4326:(e,n,t)=>{var r=t(1702),o=r({}.toString),i=r("".slice);e.exports=function(e){return i(o(e),8,-1)}},648:(e,n,t)=>{var r=t(7854),o=t(1694),i=t(614),a=t(4326),l=t(5112)("toStringTag"),c=r.Object,u="Arguments"==a(function(){return arguments}());e.exports=o?a:function(e){var n,t,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(t=function(e,n){try{return e[n]}catch(e){}}(n=c(e),l))?t:u?a(n):"Object"==(r=a(n))&&i(n.callee)?"Arguments":r}},5631:(e,n,t)=>{"use strict";var r=t(3070).f,o=t(30),i=t(2248),a=t(9974),l=t(5787),c=t(408),u=t(654),s=t(6340),f=t(9781),p=t(2423).fastKey,d=t(9909),h=d.set,g=d.getterFor;e.exports={getConstructor:function(e,n,t,u){var s=e((function(e,r){l(e,d),h(e,{type:n,index:o(null),first:void 0,last:void 0,size:0}),f||(e.size=0),null!=r&&c(r,e[u],{that:e,AS_ENTRIES:t})})),d=s.prototype,v=g(n),A=function(e,n,t){var r,o,i=v(e),a=b(e,n);return a?a.value=t:(i.last=a={index:o=p(n,!0),key:n,value:t,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=a),r&&(r.next=a),f?i.size++:e.size++,"F"!==o&&(i.index[o]=a)),e},b=function(e,n){var t,r=v(e),o=p(n);if("F"!==o)return r.index[o];for(t=r.first;t;t=t.next)if(t.key==n)return t};return i(d,{clear:function(){for(var e=v(this),n=e.index,t=e.first;t;)t.removed=!0,t.previous&&(t.previous=t.previous.next=void 0),delete n[t.index],t=t.next;e.first=e.last=void 0,f?e.size=0:this.size=0},delete:function(e){var n=this,t=v(n),r=b(n,e);if(r){var o=r.next,i=r.previous;delete t.index[r.index],r.removed=!0,i&&(i.next=o),o&&(o.previous=i),t.first==r&&(t.first=o),t.last==r&&(t.last=i),f?t.size--:n.size--}return!!r},forEach:function(e){for(var n,t=v(this),r=a(e,arguments.length>1?arguments[1]:void 0);n=n?n.next:t.first;)for(r(n.value,n.key,this);n&&n.removed;)n=n.previous},has:function(e){return!!b(this,e)}}),i(d,t?{get:function(e){var n=b(this,e);return n&&n.value},set:function(e,n){return A(this,0===e?0:e,n)}}:{add:function(e){return A(this,e=0===e?0:e,e)}}),f&&r(d,"size",{get:function(){return v(this).size}}),s},setStrong:function(e,n,t){var r=n+" Iterator",o=g(n),i=g(r);u(e,n,(function(e,n){h(this,{type:r,target:e,state:o(e),kind:n,last:void 0})}),(function(){for(var e=i(this),n=e.kind,t=e.last;t&&t.removed;)t=t.previous;return e.target&&(e.last=t=t?t.next:e.state.first)?"keys"==n?{value:t.key,done:!1}:"values"==n?{value:t.value,done:!1}:{value:[t.key,t.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),t?"entries":"values",!t,!0),s(n)}}},9320:(e,n,t)=>{"use strict";var r=t(1702),o=t(2248),i=t(2423).getWeakData,a=t(9670),l=t(111),c=t(5787),u=t(408),s=t(2092),f=t(2597),p=t(9909),d=p.set,h=p.getterFor,g=s.find,v=s.findIndex,A=r([].splice),b=0,m=function(e){return e.frozen||(e.frozen=new y)},y=function(){this.entries=[]},E=function(e,n){return g(e.entries,(function(e){return e[0]===n}))};y.prototype={get:function(e){var n=E(this,e);if(n)return n[1]},has:function(e){return!!E(this,e)},set:function(e,n){var t=E(this,e);t?t[1]=n:this.entries.push([e,n])},delete:function(e){var n=v(this.entries,(function(n){return n[0]===e}));return~n&&A(this.entries,n,1),!!~n}},e.exports={getConstructor:function(e,n,t,r){var s=e((function(e,o){c(e,p),d(e,{type:n,id:b++,frozen:void 0}),null!=o&&u(o,e[r],{that:e,AS_ENTRIES:t})})),p=s.prototype,g=h(n),v=function(e,n,t){var r=g(e),o=i(a(n),!0);return!0===o?m(r).set(n,t):o[r.id]=t,e};return o(p,{delete:function(e){var n=g(this);if(!l(e))return!1;var t=i(e);return!0===t?m(n).delete(e):t&&f(t,n.id)&&delete t[n.id]},has:function(e){var n=g(this);if(!l(e))return!1;var t=i(e);return!0===t?m(n).has(e):t&&f(t,n.id)}}),o(p,t?{get:function(e){var n=g(this);if(l(e)){var t=i(e);return!0===t?m(n).get(e):t?t[n.id]:void 0}},set:function(e,n){return v(this,e,n)}}:{add:function(e){return v(this,e,!0)}}),s}}},7710:(e,n,t)=>{"use strict";var r=t(2109),o=t(7854),i=t(1702),a=t(4705),l=t(1320),c=t(2423),u=t(408),s=t(5787),f=t(614),p=t(111),d=t(7293),h=t(7072),g=t(8003),v=t(9587);e.exports=function(e,n,t){var A=-1!==e.indexOf("Map"),b=-1!==e.indexOf("Weak"),m=A?"set":"add",y=o[e],E=y&&y.prototype,_=y,C={},w=function(e){var n=i(E[e]);l(E,e,"add"==e?function(e){return n(this,0===e?0:e),this}:"delete"==e?function(e){return!(b&&!p(e))&&n(this,0===e?0:e)}:"get"==e?function(e){return b&&!p(e)?void 0:n(this,0===e?0:e)}:"has"==e?function(e){return!(b&&!p(e))&&n(this,0===e?0:e)}:function(e,t){return n(this,0===e?0:e,t),this})};if(a(e,!f(y)||!(b||E.forEach&&!d((function(){(new y).entries().next()})))))_=t.getConstructor(n,e,A,m),c.enable();else if(a(e,!0)){var x=new _,k=x[m](b?{}:-0,1)!=x,S=d((function(){x.has(1)})),O=h((function(e){new y(e)})),B=!b&&d((function(){for(var e=new y,n=5;n--;)e[m](n,n);return!e.has(-0)}));O||((_=n((function(e,n){s(e,E);var t=v(new y,e,_);return null!=n&&u(n,t[m],{that:t,AS_ENTRIES:A}),t}))).prototype=E,E.constructor=_),(S||B)&&(w("delete"),w("has"),A&&w("get")),(B||k)&&w(m),b&&E.clear&&delete E.clear}return C[e]=_,r({global:!0,forced:_!=y},C),g(_,e),b||t.setStrong(_,e,A),_}},9920:(e,n,t)=>{var r=t(2597),o=t(3887),i=t(1236),a=t(3070);e.exports=function(e,n){for(var t=o(n),l=a.f,c=i.f,u=0;u{var r=t(5112)("match");e.exports=function(e){var n=/./;try{"/./"[e](n)}catch(t){try{return n[r]=!1,"/./"[e](n)}catch(e){}}return!1}},8544:(e,n,t)=>{var r=t(7293);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},4230:(e,n,t)=>{var r=t(1702),o=t(4488),i=t(1340),a=/"/g,l=r("".replace);e.exports=function(e,n,t,r){var c=i(o(e)),u="<"+n;return""!==t&&(u+=" "+t+'="'+l(i(r),a,""")+'"'),u+">"+c+""}},4994:(e,n,t)=>{"use strict";var r=t(3383).IteratorPrototype,o=t(30),i=t(9114),a=t(8003),l=t(7497),c=function(){return this};e.exports=function(e,n,t){var u=n+" Iterator";return e.prototype=o(r,{next:i(1,t)}),a(e,u,!1,!0),l[u]=c,e}},8880:(e,n,t)=>{var r=t(9781),o=t(3070),i=t(9114);e.exports=r?function(e,n,t){return o.f(e,n,i(1,t))}:function(e,n,t){return e[n]=t,e}},9114:e=>{e.exports=function(e,n){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:n}}},6135:(e,n,t)=>{"use strict";var r=t(4948),o=t(3070),i=t(9114);e.exports=function(e,n,t){var a=r(n);a in e?o.f(e,a,i(0,t)):e[a]=t}},8709:(e,n,t)=>{"use strict";var r=t(7854),o=t(9670),i=t(2140),a=r.TypeError;e.exports=function(e){if(o(this),"string"===e||"default"===e)e="string";else if("number"!==e)throw a("Incorrect hint");return i(this,e)}},654:(e,n,t)=>{"use strict";var r=t(2109),o=t(6916),i=t(1913),a=t(6530),l=t(614),c=t(4994),u=t(9518),s=t(7674),f=t(8003),p=t(8880),d=t(1320),h=t(5112),g=t(7497),v=t(3383),A=a.PROPER,b=a.CONFIGURABLE,m=v.IteratorPrototype,y=v.BUGGY_SAFARI_ITERATORS,E=h("iterator"),_="keys",C="values",w="entries",x=function(){return this};e.exports=function(e,n,t,a,h,v,k){c(t,n,a);var S,O,B,I=function(e){if(e===h&&R)return R;if(!y&&e in j)return j[e];switch(e){case _:case C:case w:return function(){return new t(this,e)}}return function(){return new t(this)}},T=n+" Iterator",P=!1,j=e.prototype,z=j[E]||j["@@iterator"]||h&&j[h],R=!y&&z||I(h),M="Array"==n&&j.entries||z;if(M&&(S=u(M.call(new e)))!==Object.prototype&&S.next&&(i||u(S)===m||(s?s(S,m):l(S[E])||d(S,E,x)),f(S,T,!0,!0),i&&(g[T]=x)),A&&h==C&&z&&z.name!==C&&(!i&&b?p(j,"name",C):(P=!0,R=function(){return o(z,this)})),h)if(O={values:I(C),keys:v?R:I(_),entries:I(w)},k)for(B in O)(y||P||!(B in j))&&d(j,B,O[B]);else r({target:n,proto:!0,forced:y||P},O);return i&&!k||j[E]===R||d(j,E,R,{name:h}),g[n]=R,O}},7235:(e,n,t)=>{var r=t(857),o=t(2597),i=t(6061),a=t(3070).f;e.exports=function(e){var n=r.Symbol||(r.Symbol={});o(n,e)||a(n,e,{value:i.f(e)})}},9781:(e,n,t)=>{var r=t(7293);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},317:(e,n,t)=>{var r=t(7854),o=t(111),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},8324:e=>{e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},8509:(e,n,t)=>{var r=t(317)("span").classList,o=r&&r.constructor&&r.constructor.prototype;e.exports=o===Object.prototype?void 0:o},8886:(e,n,t)=>{var r=t(8113).match(/firefox\/(\d+)/i);e.exports=!!r&&+r[1]},256:(e,n,t)=>{var r=t(8113);e.exports=/MSIE|Trident/.test(r)},5268:(e,n,t)=>{var r=t(4326),o=t(7854);e.exports="process"==r(o.process)},8113:(e,n,t)=>{var r=t(5005);e.exports=r("navigator","userAgent")||""},7392:(e,n,t)=>{var r,o,i=t(7854),a=t(8113),l=i.process,c=i.Deno,u=l&&l.versions||c&&c.version,s=u&&u.v8;s&&(o=(r=s.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=+r[1]),e.exports=o},8008:(e,n,t)=>{var r=t(8113).match(/AppleWebKit\/(\d+)\./);e.exports=!!r&&+r[1]},748:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:(e,n,t)=>{var r=t(7854),o=t(1236).f,i=t(8880),a=t(1320),l=t(3505),c=t(9920),u=t(4705);e.exports=function(e,n){var t,s,f,p,d,h=e.target,g=e.global,v=e.stat;if(t=g?r:v?r[h]||l(h,{}):(r[h]||{}).prototype)for(s in n){if(p=n[s],f=e.noTargetGet?(d=o(t,s))&&d.value:t[s],!u(g?s:h+(v?".":"#")+s,e.forced)&&void 0!==f){if(typeof p==typeof f)continue;c(p,f)}(e.sham||f&&f.sham)&&i(p,"sham",!0),a(t,s,p,e)}}},7293:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},7007:(e,n,t)=>{"use strict";t(4916);var r=t(1702),o=t(1320),i=t(2261),a=t(7293),l=t(5112),c=t(8880),u=l("species"),s=RegExp.prototype;e.exports=function(e,n,t,f){var p=l(e),d=!a((function(){var n={};return n[p]=function(){return 7},7!=""[e](n)})),h=d&&!a((function(){var n=!1,t=/a/;return"split"===e&&((t={}).constructor={},t.constructor[u]=function(){return t},t.flags="",t[p]=/./[p]),t.exec=function(){return n=!0,null},t[p](""),!n}));if(!d||!h||t){var g=r(/./[p]),v=n(p,""[e],(function(e,n,t,o,a){var l=r(e),c=n.exec;return c===i||c===s.exec?d&&!a?{done:!0,value:g(n,t,o)}:{done:!0,value:l(t,n,o)}:{done:!1}}));o(String.prototype,e,v[0]),o(s,p,v[1])}f&&c(s[p],"sham",!0)}},6677:(e,n,t)=>{var r=t(7293);e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},2104:e=>{var n=Function.prototype,t=n.apply,r=n.bind,o=n.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?o.bind(t):function(){return o.apply(t,arguments)})},9974:(e,n,t)=>{var r=t(1702),o=t(9662),i=r(r.bind);e.exports=function(e,n){return o(e),void 0===n?e:i?i(e,n):function(){return e.apply(n,arguments)}}},7065:(e,n,t)=>{"use strict";var r=t(7854),o=t(1702),i=t(9662),a=t(111),l=t(2597),c=t(206),u=r.Function,s=o([].concat),f=o([].join),p={},d=function(e,n,t){if(!l(p,n)){for(var r=[],o=0;o{var n=Function.prototype.call;e.exports=n.bind?n.bind(n):function(){return n.apply(n,arguments)}},6530:(e,n,t)=>{var r=t(9781),o=t(2597),i=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,l=o(i,"name"),c=l&&"something"===function(){}.name,u=l&&(!r||r&&a(i,"name").configurable);e.exports={EXISTS:l,PROPER:c,CONFIGURABLE:u}},1702:e=>{var n=Function.prototype,t=n.bind,r=n.call,o=t&&t.bind(r);e.exports=t?function(e){return e&&o(r,e)}:function(e){return e&&function(){return r.apply(e,arguments)}}},5005:(e,n,t)=>{var r=t(7854),o=t(614),i=function(e){return o(e)?e:void 0};e.exports=function(e,n){return arguments.length<2?i(r[e]):r[e]&&r[e][n]}},1246:(e,n,t)=>{var r=t(648),o=t(8173),i=t(7497),a=t(5112)("iterator");e.exports=function(e){if(null!=e)return o(e,a)||o(e,"@@iterator")||i[r(e)]}},8554:(e,n,t)=>{var r=t(7854),o=t(6916),i=t(9662),a=t(9670),l=t(6330),c=t(1246),u=r.TypeError;e.exports=function(e,n){var t=arguments.length<2?c(e):n;if(i(t))return a(o(t,e));throw u(l(e)+" is not iterable")}},8173:(e,n,t)=>{var r=t(9662);e.exports=function(e,n){var t=e[n];return null==t?void 0:r(t)}},647:(e,n,t)=>{var r=t(1702),o=t(7908),i=Math.floor,a=r("".charAt),l=r("".replace),c=r("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,s=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,n,t,r,f,p){var d=t+e.length,h=r.length,g=s;return void 0!==f&&(f=o(f),g=u),l(p,g,(function(o,l){var u;switch(a(l,0)){case"$":return"$";case"&":return e;case"`":return c(n,0,t);case"'":return c(n,d);case"<":u=f[c(l,1,-1)];break;default:var s=+l;if(0===s)return o;if(s>h){var p=i(s/10);return 0===p?o:p<=h?void 0===r[p-1]?a(l,1):r[p-1]+a(l,1):o}u=r[s-1]}return void 0===u?"":u}))}},7854:(e,n,t)=>{var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t.g&&t.g)||function(){return this}()||Function("return this")()},2597:(e,n,t)=>{var r=t(1702),o=t(7908),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,n){return i(o(e),n)}},3501:e=>{e.exports={}},490:(e,n,t)=>{var r=t(5005);e.exports=r("document","documentElement")},4664:(e,n,t)=>{var r=t(9781),o=t(7293),i=t(317);e.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},8361:(e,n,t)=>{var r=t(7854),o=t(1702),i=t(7293),a=t(4326),l=r.Object,c=o("".split);e.exports=i((function(){return!l("z").propertyIsEnumerable(0)}))?function(e){return"String"==a(e)?c(e,""):l(e)}:l},9587:(e,n,t)=>{var r=t(614),o=t(111),i=t(7674);e.exports=function(e,n,t){var a,l;return i&&r(a=n.constructor)&&a!==t&&o(l=a.prototype)&&l!==t.prototype&&i(e,l),e}},2788:(e,n,t)=>{var r=t(1702),o=t(614),i=t(5465),a=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},2423:(e,n,t)=>{var r=t(2109),o=t(1702),i=t(3501),a=t(111),l=t(2597),c=t(3070).f,u=t(8006),s=t(1156),f=t(2050),p=t(9711),d=t(6677),h=!1,g=p("meta"),v=0,A=function(e){c(e,g,{value:{objectID:"O"+v++,weakData:{}}})},b=e.exports={enable:function(){b.enable=function(){},h=!0;var e=u.f,n=o([].splice),t={};t[g]=1,e(t).length&&(u.f=function(t){for(var r=e(t),o=0,i=r.length;o{var r,o,i,a=t(8536),l=t(7854),c=t(1702),u=t(111),s=t(8880),f=t(2597),p=t(5465),d=t(6200),h=t(3501),g="Object already initialized",v=l.TypeError,A=l.WeakMap;if(a||p.state){var b=p.state||(p.state=new A),m=c(b.get),y=c(b.has),E=c(b.set);r=function(e,n){if(y(b,e))throw new v(g);return n.facade=e,E(b,e,n),n},o=function(e){return m(b,e)||{}},i=function(e){return y(b,e)}}else{var _=d("state");h[_]=!0,r=function(e,n){if(f(e,_))throw new v(g);return n.facade=e,s(e,_,n),n},o=function(e){return f(e,_)?e[_]:{}},i=function(e){return f(e,_)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(n){var t;if(!u(n)||(t=o(n)).type!==e)throw v("Incompatible receiver, "+e+" required");return t}}}},7659:(e,n,t)=>{var r=t(5112),o=t(7497),i=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},3157:(e,n,t)=>{var r=t(4326);e.exports=Array.isArray||function(e){return"Array"==r(e)}},614:e=>{e.exports=function(e){return"function"==typeof e}},4411:(e,n,t)=>{var r=t(1702),o=t(7293),i=t(614),a=t(648),l=t(5005),c=t(2788),u=function(){},s=[],f=l("Reflect","construct"),p=/^\s*(?:class|function)\b/,d=r(p.exec),h=!p.exec(u),g=function(e){if(!i(e))return!1;try{return f(u,s,e),!0}catch(e){return!1}};e.exports=!f||o((function(){var e;return g(g.call)||!g(Object)||!g((function(){e=!0}))||e}))?function(e){if(!i(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return h||!!d(p,c(e))}:g},4705:(e,n,t)=>{var r=t(7293),o=t(614),i=/#|\.prototype\./,a=function(e,n){var t=c[l(e)];return t==s||t!=u&&(o(n)?r(n):!!n)},l=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=a.data={},u=a.NATIVE="N",s=a.POLYFILL="P";e.exports=a},111:(e,n,t)=>{var r=t(614);e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},1913:e=>{e.exports=!1},7850:(e,n,t)=>{var r=t(111),o=t(4326),i=t(5112)("match");e.exports=function(e){var n;return r(e)&&(void 0!==(n=e[i])?!!n:"RegExp"==o(e))}},2190:(e,n,t)=>{var r=t(7854),o=t(5005),i=t(614),a=t(7976),l=t(3307),c=r.Object;e.exports=l?function(e){return"symbol"==typeof e}:function(e){var n=o("Symbol");return i(n)&&a(n.prototype,c(e))}},408:(e,n,t)=>{var r=t(7854),o=t(9974),i=t(6916),a=t(9670),l=t(6330),c=t(7659),u=t(6244),s=t(7976),f=t(8554),p=t(1246),d=t(9212),h=r.TypeError,g=function(e,n){this.stopped=e,this.result=n},v=g.prototype;e.exports=function(e,n,t){var r,A,b,m,y,E,_,C=t&&t.that,w=!(!t||!t.AS_ENTRIES),x=!(!t||!t.IS_ITERATOR),k=!(!t||!t.INTERRUPTED),S=o(n,C),O=function(e){return r&&d(r,"normal",e),new g(!0,e)},B=function(e){return w?(a(e),k?S(e[0],e[1],O):S(e[0],e[1])):k?S(e,O):S(e)};if(x)r=e;else{if(!(A=p(e)))throw h(l(e)+" is not iterable");if(c(A)){for(b=0,m=u(e);m>b;b++)if((y=B(e[b]))&&s(v,y))return y;return new g(!1)}r=f(e,A)}for(E=r.next;!(_=i(E,r)).done;){try{y=B(_.value)}catch(e){d(r,"throw",e)}if("object"==typeof y&&y&&s(v,y))return y}return new g(!1)}},9212:(e,n,t)=>{var r=t(6916),o=t(9670),i=t(8173);e.exports=function(e,n,t){var a,l;o(e);try{if(!(a=i(e,"return"))){if("throw"===n)throw t;return t}a=r(a,e)}catch(e){l=!0,a=e}if("throw"===n)throw t;if(l)throw a;return o(a),t}},3383:(e,n,t)=>{"use strict";var r,o,i,a=t(7293),l=t(614),c=t(30),u=t(9518),s=t(1320),f=t(5112),p=t(1913),d=f("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(o=u(u(i)))!==Object.prototype&&(r=o):h=!0),null==r||a((function(){var e={};return r[d].call(e)!==e}))?r={}:p&&(r=c(r)),l(r[d])||s(r,d,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:h}},7497:e=>{e.exports={}},6244:(e,n,t)=>{var r=t(7466);e.exports=function(e){return r(e.length)}},133:(e,n,t)=>{var r=t(7392),o=t(7293);e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},8536:(e,n,t)=>{var r=t(7854),o=t(614),i=t(2788),a=r.WeakMap;e.exports=o(a)&&/native code/.test(i(a))},3929:(e,n,t)=>{var r=t(7854),o=t(7850),i=r.TypeError;e.exports=function(e){if(o(e))throw i("The method doesn't accept regular expressions");return e}},1574:(e,n,t)=>{"use strict";var r=t(9781),o=t(1702),i=t(6916),a=t(7293),l=t(1956),c=t(5181),u=t(5296),s=t(7908),f=t(8361),p=Object.assign,d=Object.defineProperty,h=o([].concat);e.exports=!p||a((function(){if(r&&1!==p({b:1},p(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},n={},t=Symbol(),o="abcdefghijklmnopqrst";return e[t]=7,o.split("").forEach((function(e){n[e]=e})),7!=p({},e)[t]||l(p({},n)).join("")!=o}))?function(e,n){for(var t=s(e),o=arguments.length,a=1,p=c.f,d=u.f;o>a;)for(var g,v=f(arguments[a++]),A=p?h(l(v),p(v)):l(v),b=A.length,m=0;b>m;)g=A[m++],r&&!i(d,v,g)||(t[g]=v[g]);return t}:p},30:(e,n,t)=>{var r,o=t(9670),i=t(6048),a=t(748),l=t(3501),c=t(490),u=t(317),s=t(6200),f=s("IE_PROTO"),p=function(){},d=function(e){return" diff --git a/cffu/1.0.0-Alpha22/allclasses-index.html b/cffu/1.0.0-Alpha22/allclasses-index.html new file mode 100644 index 0000000..d7b77b7 --- /dev/null +++ b/cffu/1.0.0-Alpha22/allclasses-index.html @@ -0,0 +1,128 @@ + + + + +All Classes and Interfaces (CompletableFuture-Fu(cffu) 1.0.0-Alpha22 API) + + + + + + + + + + + + + + +
+ +
+
+
+

All Classes and Interfaces

+
+
+
+
+
+
Class
+
Description
+ +
+
This class Cffu is the equivalent class to CompletableFuture, + contains the equivalent instance methods of CompletionStage and CompletableFuture.
+
+ +
+
This class CffuFactory is equivalent to CompletableFuture, + contains the static (factory) methods of CompletableFuture.
+
+ + + +
+
This class is the same as Future.State, existed for java version compatibility.
+
+ +
+
Cffu executor wrapper provider(ExecutorWrapperProvider) SPI implementation for + 📌 TransmittableThreadLocal (TTL).
+
+ +
+
This class contains the new enhanced and backport methods for CompletableFuture.
+
+ +
+
An SPI for wrapping the executor when CffuFactoryBuilder + build CffuFactory.
+
+ +
+
Integration with guava ListenableFuture.
+
+ +
+
Exception indicates that NO cfs(Cffu / CompletableFuture) are provided + for methods require cf arguments.
+
+ +
+
Tuple2(aka Pair).
+
+ +
+
Tuple3(aka Triple).
+
+ +
+
Tuple4, contains 4 elements.
+
+ +
+
Tuple5, contains 5 elements.
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/cffu/1.0.0-Alpha22/allpackages-index.html b/cffu/1.0.0-Alpha22/allpackages-index.html new file mode 100644 index 0000000..3e501eb --- /dev/null +++ b/cffu/1.0.0-Alpha22/allpackages-index.html @@ -0,0 +1,84 @@ + + + + +All Packages (CompletableFuture-Fu(cffu) 1.0.0-Alpha22 API) + + + + + + + + + + + + + + +
+ +
+
+
+

All Packages

+
+
Package Summary
+
+
Package
+
Description
+ +
+
A tiny sidekick library for CompletableFuture to improve user experience and reduce misuse.
+
+ +
+
Cffu SPI interfaces.
+
+ +
+
Cffu executor wrapper provider(ExecutorWrapperProvider) SPI implementation for + 📌 TransmittableThreadLocal (TTL).
+
+ +
+
the Tuple util classes for Cffu use.
+
+
+
+
+
+ +
+
+
+ + diff --git a/cffu/1.0.0-Alpha22/copy.svg b/cffu/1.0.0-Alpha22/copy.svg new file mode 100644 index 0000000..7c46ab1 --- /dev/null +++ b/cffu/1.0.0-Alpha22/copy.svg @@ -0,0 +1,33 @@ + + + + + + + + diff --git a/cffu/1.0.0-Alpha22/element-list b/cffu/1.0.0-Alpha22/element-list new file mode 100644 index 0000000..f19f052 --- /dev/null +++ b/cffu/1.0.0-Alpha22/element-list @@ -0,0 +1,4 @@ +io.foldright.cffu +io.foldright.cffu.spi +io.foldright.cffu.ttl +io.foldright.cffu.tuple diff --git a/cffu/1.0.0-Alpha22/help-doc.html b/cffu/1.0.0-Alpha22/help-doc.html new file mode 100644 index 0000000..3bf9fa2 --- /dev/null +++ b/cffu/1.0.0-Alpha22/help-doc.html @@ -0,0 +1,198 @@ + + + + +API Help (CompletableFuture-Fu(cffu) 1.0.0-Alpha22 API) + + + + + + + + + + + + + + +
+ +
+
+

JavaDoc Help

+ +
+
+

Navigation

+Starting from the Overview page, you can browse the documentation using the links in each page, and in the navigation bar at the top of each page. The Index and Search box allow you to navigate to specific declarations and summary pages, including: All Packages, All Classes and Interfaces + +
+
+
+

Kinds of Pages

+The following sections describe the different kinds of pages in this collection. +
+

Overview

+

The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.

+
+
+

Package

+

Each package has a page that contains a list of its classes and interfaces, with a summary for each. These pages may contain the following categories:

+
    +
  • Interfaces
  • +
  • Classes
  • +
  • Enums
  • +
  • Exception Classes
  • +
  • Annotation Types
  • +
+
+
+

Class or Interface

+

Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a declaration and description, member summary tables, and detailed member descriptions. Entries in each of these sections are omitted if they are empty or not applicable.

+
    +
  • Class Inheritance Diagram
  • +
  • Direct Subclasses
  • +
  • All Known Subinterfaces
  • +
  • All Known Implementing Classes
  • +
  • Class or Interface Declaration
  • +
  • Class or Interface Description
  • +
+
+
    +
  • Nested Class Summary
  • +
  • Enum Constant Summary
  • +
  • Field Summary
  • +
  • Property Summary
  • +
  • Constructor Summary
  • +
  • Method Summary
  • +
  • Required Element Summary
  • +
  • Optional Element Summary
  • +
+
+
    +
  • Enum Constant Details
  • +
  • Field Details
  • +
  • Property Details
  • +
  • Constructor Details
  • +
  • Method Details
  • +
  • Element Details
  • +
+

Note: Annotation interfaces have required and optional elements, but not methods. Only enum classes have enum constants. The components of a record class are displayed as part of the declaration of the record class. Properties are a feature of JavaFX.

+

The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.

+
+
+

Other Files

+

Packages and modules may contain pages with additional information related to the declarations nearby.

+
+
+

Use

+

Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the USE link in the navigation bar.

+
+
+

Tree (Class Hierarchy)

+

There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. Classes are organized by inheritance structure starting with java.lang.Object. Interfaces do not inherit from java.lang.Object.

+
    +
  • When viewing the Overview page, clicking on TREE displays the hierarchy for all packages.
  • +
  • When viewing a particular package, class or interface page, clicking on TREE displays the hierarchy for only that package.
  • +
+
+
+

Serialized Form

+

Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to those who implement rather than use the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See Also" section of the class description.

+
+
+

All Packages

+

The All Packages page contains an alphabetic index of all packages contained in the documentation.

+
+
+

All Classes and Interfaces

+

The All Classes and Interfaces page contains an alphabetic index of all classes and interfaces contained in the documentation, including annotation interfaces, enum classes, and record classes.

+
+
+

Index

+

The Index contains an alphabetic index of all classes, interfaces, constructors, methods, and fields in the documentation, as well as summary pages such as All Packages, All Classes and Interfaces.

+
+
+
+This help file applies to API documentation generated by the standard doclet.
+
+
+ +
+
+
+ + diff --git a/cffu/1.0.0-Alpha22/index-all.html b/cffu/1.0.0-Alpha22/index-all.html new file mode 100644 index 0000000..ee013c5 --- /dev/null +++ b/cffu/1.0.0-Alpha22/index-all.html @@ -0,0 +1,2987 @@ + + + + +Index (CompletableFuture-Fu(cffu) 1.0.0-Alpha22 API) + + + + + + + + + + + + + + +
+ +
+
+
+

Index

+
+A B C D E F G H I J L M N O P R S T U V W _ 
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 this CompletableFuture's default asynchronous execution facility, + 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.
+
+
allFastFailOf(CompletionStage<?>...) - Method in class io.foldright.cffu.CffuFactory
+
+
Returns a new Cffu that is successful when all the given stages success; + 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.
+
+
allFastFailOf(CompletionStage<?>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that is successful when all the given stages success; + 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.
+
+
allResultsFastFailOf(CompletionStage<? extends T>...) - Method in class io.foldright.cffu.CffuFactory
+
+
Returns a new Cffu that is successful with the results in the same order + of the given stages arguments when all the given stages success; + 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.
+
+
allResultsFastFailOf(CompletionStage<? extends T>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that is successful with the results in the same order + of the given stages arguments when all the given stages success; + 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 with the results in the same order of the given stages arguments, + the new Cffu 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.
+
+
allResultsOf(CompletionStage<? extends T>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture with the results in the same order of the given stages arguments, + the new CompletableFuture 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.
+
+
allSuccessResultsOf(T, CompletionStage<? extends T>...) - Method in class io.foldright.cffu.CffuFactory
+
+
Returns a new Cffu that is successful with the results in the same order + of the given stages arguments when all the given stages completed; + If no stages are provided, returns a Cffu completed with the value empty list.
+
+
allSuccessResultsOf(T, CompletionStage<? extends T>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that is successful with the results in the same order + of the given stages arguments when all the given stages completed; + If no stages are provided, returns a CompletableFuture completed with the value empty list.
+
+
allSuccessTupleOf(CompletionStage<? extends T1>, CompletionStage<? extends T2>) - Method in class io.foldright.cffu.CffuFactory
+
+
Returns a new Cffu that is successful + with the results of the given stages arguments when all the given stages completed.
+
+
allSuccessTupleOf(CompletionStage<? extends T1>, CompletionStage<? extends T2>) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that is successful + with the results of the given stages arguments when all the given stages completed.
+
+
allSuccessTupleOf(CompletionStage<? extends T1>, CompletionStage<? extends T2>, CompletionStage<? extends T3>) - Method in class io.foldright.cffu.CffuFactory
+
+
Returns a new Cffu that is successful + with the results of the given stages arguments when all the given stages completed.
+
+
allSuccessTupleOf(CompletionStage<? extends T1>, CompletionStage<? extends T2>, CompletionStage<? extends T3>) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that is successful + with the results of the given stages arguments when all the given stages completed.
+
+
allSuccessTupleOf(CompletionStage<? extends T1>, CompletionStage<? extends T2>, CompletionStage<? extends T3>, CompletionStage<? extends T4>) - Method in class io.foldright.cffu.CffuFactory
+
+
Returns a new Cffu that is successful + with the results of the given stages arguments when all the given stages completed.
+
+
allSuccessTupleOf(CompletionStage<? extends T1>, CompletionStage<? extends T2>, CompletionStage<? extends T3>, CompletionStage<? extends T4>) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that is successful + with the results of the given stages arguments when all the given stages completed.
+
+
allSuccessTupleOf(CompletionStage<? extends T1>, CompletionStage<? extends T2>, CompletionStage<? extends T3>, CompletionStage<? extends T4>, CompletionStage<? extends T5>) - Method in class io.foldright.cffu.CffuFactory
+
+
Returns a new Cffu that is successful + with the results of the given stages arguments when all the given stages completed.
+
+
allSuccessTupleOf(CompletionStage<? extends T1>, CompletionStage<? extends T2>, CompletionStage<? extends T3>, CompletionStage<? extends T4>, CompletionStage<? extends T5>) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that is successful + with the results of the given stages arguments when all the given stages completed.
+
+
allTupleFastFailOf(CompletionStage<? extends T1>, CompletionStage<? extends T2>) - Method in class io.foldright.cffu.CffuFactory
+
+
Returns a new Cffu that is successful when the given two stages success.
+
+
allTupleFastFailOf(CompletionStage<? extends T1>, CompletionStage<? extends T2>) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that is successful when the given stages success.
+
+
allTupleFastFailOf(CompletionStage<? extends T1>, CompletionStage<? extends T2>, CompletionStage<? extends T3>) - Method in class io.foldright.cffu.CffuFactory
+
+
Returns a new Cffu that is successful when the given three stages success.
+
+
allTupleFastFailOf(CompletionStage<? extends T1>, CompletionStage<? extends T2>, CompletionStage<? extends T3>) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that is successful when the given stages success.
+
+
allTupleFastFailOf(CompletionStage<? extends T1>, CompletionStage<? extends T2>, CompletionStage<? extends T3>, CompletionStage<? extends T4>) - Method in class io.foldright.cffu.CffuFactory
+
+
Returns a new Cffu that is successful when the given four stages success.
+
+
allTupleFastFailOf(CompletionStage<? extends T1>, CompletionStage<? extends T2>, CompletionStage<? extends T3>, CompletionStage<? extends T4>) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that is successful when the given stages success.
+
+
allTupleFastFailOf(CompletionStage<? extends T1>, CompletionStage<? extends T2>, CompletionStage<? extends T3>, CompletionStage<? extends T4>, CompletionStage<? extends T5>) - Method in class io.foldright.cffu.CffuFactory
+
+
Returns a new Cffu that is successful when the given five stages success.
+
+
allTupleFastFailOf(CompletionStage<? extends T1>, CompletionStage<? extends T2>, CompletionStage<? extends T3>, CompletionStage<? extends T4>, CompletionStage<? extends T5>) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that is successful when the given stages success.
+
+
allTupleOf(CompletionStage<? extends T1>, CompletionStage<? extends T2>) - Method in class io.foldright.cffu.CffuFactory
+
+
Returns a new Cffu that is completed when the given two stages complete.
+
+
allTupleOf(CompletionStage<? extends T1>, CompletionStage<? extends T2>) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that is completed when the given stages complete.
+
+
allTupleOf(CompletionStage<? extends T1>, CompletionStage<? extends T2>, CompletionStage<? extends T3>) - Method in class io.foldright.cffu.CffuFactory
+
+
Returns a new Cffu that is completed when the given three stages complete.
+
+
allTupleOf(CompletionStage<? extends T1>, CompletionStage<? extends T2>, CompletionStage<? extends T3>) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that is completed when the given stages complete.
+
+
allTupleOf(CompletionStage<? extends T1>, CompletionStage<? extends T2>, CompletionStage<? extends T3>, CompletionStage<? extends T4>) - Method in class io.foldright.cffu.CffuFactory
+
+
Returns a new Cffu that is completed when the given four stages complete.
+
+
allTupleOf(CompletionStage<? extends T1>, CompletionStage<? extends T2>, CompletionStage<? extends T3>, CompletionStage<? extends T4>) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that is completed when the given stages complete.
+
+
allTupleOf(CompletionStage<? extends T1>, CompletionStage<? extends T2>, CompletionStage<? extends T3>, CompletionStage<? extends T4>, CompletionStage<? extends T5>) - Method in class io.foldright.cffu.CffuFactory
+
+
Returns a new Cffu that is completed when the given five stages complete.
+
+
allTupleOf(CompletionStage<? extends T1>, CompletionStage<? extends T2>, CompletionStage<? extends T3>, CompletionStage<? extends T4>, CompletionStage<? extends T5>) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that is completed when the given stages complete.
+
+
anyOf(CompletionStage<? extends T>...) - Method in class io.foldright.cffu.CffuFactory
+
+
Returns a new Cffu that is completed when any of the given stages complete, with the same result.
+ Otherwise, if it completed exceptionally, the returned Cffu also does so, + with a CompletionException holding this exception as its cause.
+ If no stages are provided, returns an incomplete Cffu.
+
+
anyOf(CompletionStage<? extends T>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that is completed when any of the given stages complete, with the same result.
+
+
anySuccessOf(CompletionStage<? extends T>...) - Method in class io.foldright.cffu.CffuFactory
+
+
Returns a new Cffu that is successful when any of the given stages success, + with the same result.
+
+
anySuccessOf(CompletionStage<? extends T>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that is successful when any of the given stages success, + with the same result.
+
+
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 this CompletableFuture's default asynchronous execution facility, + 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.
+
+
+

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 with defaultExecutor 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 CompletionStage that, when given stage completes exceptionally with the given exceptionType, + is executed with given stage's exception 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 given stage completes exceptionally with the given exceptionType, + is executed with given stage's exception 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 CompletionStage that, when given stage completes exceptionally with the given exceptionType, + is executed with given stage's exception as the argument to the supplied function, + using the given stage's default asynchronous execution facility.
+
+
catchingAsync(C, Class<X>, Function<? super X, ? extends 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 executed with given stage's exception 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 given stage completes exceptionally with the given exceptionType, + is executed with given stage's exception as the argument to the supplied function, + using the given stage's default asynchronous execution facility.
+
+
catchingAsync(Class<X>, Function<? super X, ? extends T>, Executor) - Method in class io.foldright.cffu.Cffu
+
+
Returns a new Cffu that, when given stage completes exceptionally with the given exceptionType, + is executed with given stage's exception 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 given stage's exception.
+
+
catchingCompose(Class<X>, Function<? super X, ? extends CompletionStage<T>>) - Method in class io.foldright.cffu.Cffu
+
+
Returns a new Cffu that, when given stage completes exceptionally with the given exceptionType, + is composed using the results of the supplied function applied to given stage's exception.
+
+
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 given stage's exception, + using given stage's default asynchronous execution facility.
+
+
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 given's exception, + 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 given stage completes exceptionally with the given exceptionType, + is composed using the results of the supplied function applied to given stage's exception, + using given stage's default asynchronous execution facility.
+
+
catchingComposeAsync(Class<X>, Function<? super X, ? extends CompletionStage<T>>, Executor) - Method in class io.foldright.cffu.Cffu
+
+
Returns a new Cffu that, when given stage completes exceptionally with the given exceptionType, + is composed using the results of the supplied function applied to given's exception, + using the supplied Executor.
+
+
Cffu<T> - Class in io.foldright.cffu
+
+
This class Cffu is the equivalent class to CompletableFuture, + contains the equivalent instance methods of CompletionStage and CompletableFuture.
+
+
cffuCompleteOnTimeout(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.
+
+
cffuCompleteOnTimeout(C, T, Executor, 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.
+
+
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 to CompletableFuture, + contains the static (factory) methods of CompletableFuture.
+
+
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
+
+
Exceptionally completes given CompletableFuture with a TimeoutException + if not otherwise completed before the given timeout.
+
+
cffuOrTimeout(C, Executor, 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.
+
+
cffuState() - Method in class io.foldright.cffu.Cffu
+
+
Returns the computation state(CffuState), this method is equivalent to CompletableFuture.state() + with java version compatibility logic, so you can invoke in old java 18-.
+
+
CffuState - Enum in io.foldright.cffu
+
+
This class is the same as Future.State, existed for java version compatibility.
+
+
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
+
+
A convenient util method for converting 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.
+
+
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.
+
+
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.
+
+
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
+
+
Completes this Cffu with the given value if not otherwise completed before the given timeout.
+
+
completeOnTimeout(T, Executor, long, TimeUnit) - Method in class io.foldright.cffu.Cffu
+
+
Completes this Cffu with the given value if not otherwise completed before the given timeout.
+
+
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() - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns the default Executor 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
+
 
+
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 CompletionStage that, when given stage completes exceptionally, is executed with given + stage's exception as the argument to the supplied function, using given stage's + default asynchronous execution facility.
+
+
exceptionallyAsync(C, Function<Throwable, ? extends T>, Executor) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletionStage 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 CompletionStage 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 given CompletableFuture's default asynchronous execution facility.
+
+
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.
+
+
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
+
+
An SPI for wrapping the executor when CffuFactoryBuilder + build CffuFactory.
+
+
+

F

+
+
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 successfully, else returns the given valueIfNotSuccess.
+
+
getSuccessNow(T) - Method in class io.foldright.cffu.Cffu
+
+
Returns the result value if completed successfully, else returns the given valueIfNotSuccess.
+
+
+

H

+
+
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.
+
+
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.
+
+
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

+
+
io.foldright.cffu - package io.foldright.cffu
+
+
A tiny sidekick library for CompletableFuture to improve user experience and reduce misuse.
+
+
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 util classes for Cffu 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.
+
+
+

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<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
+
+
Integration with guava ListenableFuture.
+
+
+

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(T, long, TimeUnit, CompletionStage<? extends T>...) - Method in class io.foldright.cffu.CffuFactory
+
+
Returns a new Cffu with the most results in the same order of + the given stages arguments in the given time(timeout, aka as many results as possible in the given time).
+
+
mostSuccessResultsOf(T, long, TimeUnit, CompletionStage<? extends T>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture with the most results in the same order of + the given stages arguments in the given time(timeout, aka as many results as possible in the given time).
+
+
mostSuccessResultsOf(T, Executor, long, TimeUnit, CompletionStage<? extends T>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture with the most results in the same order of + the given stages arguments in the given time(timeout, aka as many results as possible in the given time).
+
+
mostSuccessTupleOf(long, TimeUnit, CompletionStage<? extends T1>, CompletionStage<? extends T2>) - Method in class io.foldright.cffu.CffuFactory
+
+
Returns a new Cffu with the most results in the same order of the given two stages arguments + in the given time(timeout, aka as many results as possible in the given time).
+
+
mostSuccessTupleOf(long, TimeUnit, CompletionStage<? extends T1>, CompletionStage<? extends T2>) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture with the most results in the same order of + the given stages arguments in the given time(timeout, aka as many results as possible in the given time).
+
+
mostSuccessTupleOf(long, TimeUnit, CompletionStage<? extends T1>, CompletionStage<? extends T2>, CompletionStage<? extends T3>) - Method in class io.foldright.cffu.CffuFactory
+
+
Returns a new Cffu with the most results in the same order of the given three stages arguments + in the given time(timeout, aka as many results as possible in the given time).
+
+
mostSuccessTupleOf(long, TimeUnit, CompletionStage<? extends T1>, CompletionStage<? extends T2>, CompletionStage<? extends T3>) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture with the most results in the same order of + the given stages arguments in the given time(timeout, aka as many results as possible in the given time).
+
+
mostSuccessTupleOf(long, TimeUnit, CompletionStage<? extends T1>, CompletionStage<? extends T2>, CompletionStage<? extends T3>, CompletionStage<? extends T4>) - Method in class io.foldright.cffu.CffuFactory
+
+
Returns a new Cffu with the most results in the same order of the given four stages arguments + in the given time(timeout, aka as many results as possible in the given time).
+
+
mostSuccessTupleOf(long, TimeUnit, CompletionStage<? extends T1>, CompletionStage<? extends T2>, CompletionStage<? extends T3>, CompletionStage<? extends T4>) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture with the most results in the same order of + the given stages arguments in the given time(timeout, aka as many results as possible in the given time).
+
+
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
+
+
Returns a new Cffu with the most results in the same order of the given five stages arguments + in the given time(timeout, aka as many results as possible in the given time).
+
+
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
+
+
Returns a new CompletableFuture with the most results in the same order of + the given stages arguments in the given time(timeout, aka as many results as possible in the given time).
+
+
mostSuccessTupleOf(Executor, long, TimeUnit, CompletionStage<? extends T1>, CompletionStage<? extends T2>) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture with the most results in the same order of + the given stages arguments in the given time(timeout, aka as many results as possible in the given time).
+
+
mostSuccessTupleOf(Executor, long, TimeUnit, CompletionStage<? extends T1>, CompletionStage<? extends T2>, CompletionStage<? extends T3>) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture with the most results in the same order of + the given stages arguments in the given time(timeout, aka as many results as possible in the given time).
+
+
mostSuccessTupleOf(Executor, long, TimeUnit, CompletionStage<? extends T1>, CompletionStage<? extends T2>, CompletionStage<? extends T3>, CompletionStage<? extends T4>) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture with the most results in the same order of + the given stages arguments in the given time(timeout, aka as many results as possible in the given time).
+
+
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
+
+
Returns a new CompletableFuture with the most results in the same order of + the given stages arguments in the given time(timeout, aka as many results as possible in the given time).
+
+
mRunAnyAsync(Runnable...) - Method in class io.foldright.cffu.CffuFactory
+
+
Returns a new Cffu that is asynchronously completed + when any tasks running in the Cffu's default asynchronous execution facility.
+
+
mRunAnyAsync(Runnable...) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that is asynchronously completed + when any tasks running in the CompletableFuture's default asynchronous execution facility.
+
+
mRunAnyAsync(Executor, Runnable...) - Method in class io.foldright.cffu.CffuFactory
+
+
Returns a new Cffu that is asynchronously completed + when any tasks running in the given executor complete.
+
+
mRunAnyAsync(Executor, Runnable...) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that is asynchronously completed + when any tasks running in the given executor complete.
+
+
mRunAnySuccessAsync(Runnable...) - Method in class io.foldright.cffu.CffuFactory
+
+
Returns a new Cffu that is asynchronously successful + when any tasks running in the Cffu's default asynchronous execution facility success.
+
+
mRunAnySuccessAsync(Runnable...) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that is asynchronously successful + when any tasks running in the CompletableFuture's default asynchronous execution facility success.
+
+
mRunAnySuccessAsync(Executor, Runnable...) - Method in class io.foldright.cffu.CffuFactory
+
+
Returns a new Cffu that is asynchronously completed + when any tasks running in the Cffu's default asynchronous execution facility.
+
+
mRunAnySuccessAsync(Executor, Runnable...) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that is asynchronously successful + when any tasks running in the given executor success.
+
+
mRunAsync(Runnable...) - Method in class io.foldright.cffu.CffuFactory
+
+
Returns a new Cffu that is asynchronously completed + by tasks running in the Cffu's default asynchronous execution facility + after runs the given actions.
+
+
mRunAsync(Runnable...) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that is asynchronously completed + by tasks running in the CompletableFuture's default asynchronous execution facility + after runs the given actions.
+
+
mRunAsync(Executor, Runnable...) - Method in class io.foldright.cffu.CffuFactory
+
+
Returns a new Cffu that is asynchronously completed by tasks running in the given Executor + after runs the given actions.
+
+
mRunAsync(Executor, Runnable...) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that is asynchronously completed + by tasks running in the given Executor after runs the given actions.
+
+
mRunFastFailAsync(Runnable...) - Method in class io.foldright.cffu.CffuFactory
+
+
Returns a new Cffu that is asynchronously completed + by tasks running in the Cffu's default asynchronous execution facility + after runs the given actions.
+
+
mRunFastFailAsync(Runnable...) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that is asynchronously completed + by tasks running in the CompletableFuture's default asynchronous execution facility + after runs the given actions.
+
+
mRunFastFailAsync(Executor, Runnable...) - Method in class io.foldright.cffu.CffuFactory
+
+
Returns a new Cffu that is asynchronously completed by tasks running in the given Executor + after runs the given actions.
+
+
mRunFastFailAsync(Executor, Runnable...) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that is asynchronously completed + by tasks running in the given Executor after runs the given actions.
+
+
mSupplyAllSuccessAsync(T, Executor, Supplier<? extends T>...) - Method in class io.foldright.cffu.CffuFactory
+
+
Returns a new Cffu that is asynchronously completed + by tasks running in the given Executor with the successfully values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
+
+
mSupplyAllSuccessAsync(T, Executor, Supplier<? extends T>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that is asynchronously completed + by tasks running in the given Executor with the successfully values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
+
+
mSupplyAllSuccessAsync(T, Supplier<? extends T>...) - Method in class io.foldright.cffu.CffuFactory
+
+
Returns a new Cffu that is asynchronously completed + by tasks running in the Cffu's default asynchronous execution facility + with the successful values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
+
+
mSupplyAllSuccessAsync(T, Supplier<? extends T>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that is asynchronously completed + by tasks running in the CompletableFuture's default asynchronous execution facility + with the successful values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
+
+
mSupplyAnyAsync(Executor, Supplier<? extends T>...) - Method in class io.foldright.cffu.CffuFactory
+
+
Returns a new Cffu that is completed + when any of tasks running in the given Executor by calling the given Suppliers complete, with the same result.
+
+
mSupplyAnyAsync(Executor, Supplier<? extends T>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that is completed + when any of tasks running in the given Executor by calling the given Suppliers complete, with the same result.
+
+
mSupplyAnyAsync(Supplier<? extends T>...) - Method in class io.foldright.cffu.CffuFactory
+
+
Returns a new Cffu that is completed + when any of tasks running in the Cffu's default asynchronous execution facility + by calling the given Suppliers complete, with the same result.
+
+
mSupplyAnyAsync(Supplier<? extends T>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that is completed + when any of tasks running in the CompletableFuture's default asynchronous execution facility + by calling the given Suppliers complete, with the same result.
+
+
mSupplyAnySuccessAsync(Executor, Supplier<? extends T>...) - Method in class io.foldright.cffu.CffuFactory
+
+
Returns a new Cffu that is asynchronously successful + when any of tasks running in the given executor by calling the given Suppliers success, with the same result.
+
+
mSupplyAnySuccessAsync(Executor, Supplier<? extends T>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that is asynchronously successful + when any of tasks running in the given executor by calling the given Suppliers success, with the same result.
+
+
mSupplyAnySuccessAsync(Supplier<? extends T>...) - Method in class io.foldright.cffu.CffuFactory
+
+
Returns a new Cffu that is asynchronously successful + when any of tasks running in the Cffu's default asynchronous execution facility + by calling the given Suppliers success, with the same result.
+
+
mSupplyAnySuccessAsync(Supplier<? extends T>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that is asynchronously successful + when any of tasks running in the CompletableFuture's default asynchronous execution facility + by calling the given Suppliers success, with the same result.
+
+
mSupplyAsync(Executor, Supplier<? extends T>...) - Method in class io.foldright.cffu.CffuFactory
+
+
Returns a new Cffu that is asynchronously completed by tasks running in the given Executor + with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
+
+
mSupplyAsync(Executor, Supplier<? extends T>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that is asynchronously completed + by tasks running in the given Executor with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
+
+
mSupplyAsync(Supplier<? extends T>...) - Method in class io.foldright.cffu.CffuFactory
+
+
Returns a new Cffu that is asynchronously completed + by tasks running in the Cffu's default asynchronous execution facility + with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
+
+
mSupplyAsync(Supplier<? extends T>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that is asynchronously completed + by tasks running in the CompletableFuture's default asynchronous execution facility + with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
+
+
mSupplyFastFailAsync(Executor, Supplier<? extends T>...) - Method in class io.foldright.cffu.CffuFactory
+
+
Returns a new Cffu that is asynchronously completed by tasks running in the given Executor + with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
+
+
mSupplyFastFailAsync(Executor, Supplier<? extends T>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that is asynchronously completed + by tasks running in the given Executor with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
+
+
mSupplyFastFailAsync(Supplier<? extends T>...) - Method in class io.foldright.cffu.CffuFactory
+
+
Returns a new Cffu that is asynchronously completed + by tasks running in the Cffu's default asynchronous execution facility + with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
+
+
mSupplyFastFailAsync(Supplier<? extends T>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that is asynchronously completed + by tasks running in the CompletableFuture's default asynchronous execution facility + with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
+
+
mSupplyMostSuccessAsync(T, long, TimeUnit, Supplier<? extends T>...) - Method in class io.foldright.cffu.CffuFactory
+
+
Returns a new Cffu that is asynchronously completed + by tasks running in the Cffu's default asynchronous execution facility + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments.
+
+
mSupplyMostSuccessAsync(T, long, TimeUnit, Supplier<? extends T>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that is asynchronously completed + by tasks running in the CompletableFuture's default asynchronous execution facility + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments.
+
+
mSupplyMostSuccessAsync(T, Executor, long, TimeUnit, Supplier<? extends T>...) - Method in class io.foldright.cffu.CffuFactory
+
+
Returns a new Cffu that is asynchronously completed by tasks running in the given Executor + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments.
+
+
mSupplyMostSuccessAsync(T, Executor, long, TimeUnit, Supplier<? extends T>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that is asynchronously completed + by tasks running in the given Executor with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments.
+
+
+

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(Cffu / CompletableFuture) are provided + for methods 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
+
+
Exceptionally completes this Cffu with a TimeoutException + if not otherwise completed before the given timeout.
+
+
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.
+
+
orTimeout(Executor, long, TimeUnit) - Method in class io.foldright.cffu.Cffu
+
+
Exceptionally completes this Cffu 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 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.
+
+
peekAsync(C, BiConsumer<? super T, ? super Throwable>) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Peeks the result by executing the given action when given stage completes, + executes the given action using given stage's default asynchronous execution facility, + 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 when given stage completes, + executes the given action using the supplied Executor, 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 when this cffu completes, + executes the given action using Cffu.defaultExecutor(), 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 when this cffu completes, + that executes the given action using the supplied Executor when this cffu completes, returns this cffu.
+
+
POISON_FACTORY - Static variable in class io.foldright.cffu.CffuFactoryBuilder
+
+
A poison object of type CffuFactory.
+
+
+

R

+
+
resetCffuFactory(CffuFactory) - Method in class io.foldright.cffu.Cffu
+
+
Returns a new Cffu with the given CffuFactory(contained configuration).
+
+
resetDefaultExecutor(Executor) - Method in class io.foldright.cffu.Cffu
+
+
Returns a new Cffu with the given defaultExecutor.
+
+
resetDefaultExecutor(Executor) - Method in class io.foldright.cffu.CffuFactory
+
+
Returns a new CffuFactory from this CffuFactory that reset the defaultExecutor.
+
+
resultNow() - Method in class io.foldright.cffu.Cffu
+
+
Returns the computed result, without waiting.
+
+
resultNow(Future<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.
+
+
runAfterBothFastFail(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.
+
+
runAfterBothFastFail(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.
+
+
runAfterBothFastFailAsync(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 CompletableFuture's default asynchronous execution facility.
+
+
runAfterBothFastFailAsync(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.
+
+
runAfterBothFastFailAsync(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().
+
+
runAfterBothFastFailAsync(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 CompletableFuture's default asynchronous execution facility.
+
+
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

+
+
state() - Method in class io.foldright.cffu.Cffu
+
+
Returns the computation state, this method contains NO java version compatibility logic, + if you need this function in old java 18-, use Cffu.cffuState() instead.
+
+
state(Future<?>) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns the computation state(CffuState), this method is equivalent to CompletableFuture.state() + with java version compatibility logic, so you can invoke in old java 18-.
+
+
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.
+
+
+

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.
+
+
thenAcceptBothFastFail(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.
+
+
thenAcceptBothFastFail(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.
+
+
thenAcceptBothFastFailAsync(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 CompletableFuture's default asynchronous execution facility, + with the two results as arguments to the supplied action.
+
+
thenAcceptBothFastFailAsync(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.
+
+
thenAcceptBothFastFailAsync(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.
+
+
thenAcceptBothFastFailAsync(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.
+
+
thenCombineFastFail(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.
+
+
thenCombineFastFail(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.
+
+
thenCombineFastFailAsync(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 CompletableFuture's default asynchronous execution facility, + with the two results as arguments to the supplied function.
+
+
thenCombineFastFailAsync(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.
+
+
thenCombineFastFailAsync(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.
+
+
thenCombineFastFailAsync(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
+
+
Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the given Executor, with the given stage's result as the argument to the given actions.
+
+
thenMAcceptAnyAsync(CompletableFuture<? extends T>, Consumer<? super T>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the CompletableFuture's default asynchronous execution facility, + with the given stage's result as the argument to the given actions.
+
+
thenMAcceptAnyAsync(Executor, Consumer<? super T>...) - Method in class io.foldright.cffu.Cffu
+
+
Returns a new Cffu that, when the given stage completes normally, + is executed using the given Executor, with the given stage's result as the argument to the given actions.
+
+
thenMAcceptAnyAsync(Consumer<? super T>...) - Method in class io.foldright.cffu.Cffu
+
+
Returns a new Cffu that, when the given stage completes normally, + is executed using Cffu.defaultExecutor(), + with the given stage's result as the argument to the given actions.
+
+
thenMAcceptAnySuccessAsync(CompletableFuture<? extends T>, Executor, Consumer<? super T>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the given Executor, with the given stage's result as the argument to the given actions.
+
+
thenMAcceptAnySuccessAsync(CompletableFuture<? extends T>, Consumer<? super T>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the CompletableFuture's default asynchronous execution facility, + with the given stage's result as the argument to the given actions.
+
+
thenMAcceptAnySuccessAsync(Executor, Consumer<? super T>...) - Method in class io.foldright.cffu.Cffu
+
+
Returns a new Cffu that, when the given stage completes normally, + is executed using the given Executor, with the given stage's result as the argument to the given actions.
+
+
thenMAcceptAnySuccessAsync(Consumer<? super T>...) - Method in class io.foldright.cffu.Cffu
+
+
Returns a new Cffu that, when the given stage completes normally, + is executed using Cffu.defaultExecutor(), + with the given stage's result as the argument to the given actions.
+
+
thenMAcceptAsync(CompletableFuture<? extends T>, Executor, Consumer<? super T>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the given Executor, with the given stage's result as the argument to the given actions.
+
+
thenMAcceptAsync(CompletableFuture<? extends T>, Consumer<? super T>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the CompletableFuture's default asynchronous execution facility, + with the given stage's result as the argument to the given actions.
+
+
thenMAcceptAsync(Executor, Consumer<? super T>...) - Method in class io.foldright.cffu.Cffu
+
+
Returns a new Cffu that, when the given stage completes normally, + is executed using the given Executor, with the given stage's result as the argument to the given actions.
+
+
thenMAcceptAsync(Consumer<? super T>...) - Method in class io.foldright.cffu.Cffu
+
+
Returns a new Cffu that, when the given stage completes normally, + is executed using Cffu.defaultExecutor(), + with the given stage's result as the argument to the given actions.
+
+
thenMAcceptFastFailAsync(CompletableFuture<? extends T>, Executor, Consumer<? super T>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the given Executor, with the given stage's result as the argument to the given actions.
+
+
thenMAcceptFastFailAsync(CompletableFuture<? extends T>, Consumer<? super T>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the CompletableFuture's default asynchronous execution facility, + with the given stage's result as the argument to the given actions.
+
+
thenMAcceptFastFailAsync(Executor, Consumer<? super T>...) - Method in class io.foldright.cffu.Cffu
+
+
Returns a new Cffu that, when the given stage completes normally, + is executed using the given Executor, with the given stage's result as the argument to the given actions.
+
+
thenMAcceptFastFailAsync(Consumer<? super T>...) - Method in class io.foldright.cffu.Cffu
+
+
Returns a new Cffu that, when the given stage completes normally, + is executed using Cffu.defaultExecutor(), + with the given stage's result as the argument to the given actions.
+
+
thenMApplyAllSuccessAsync(CompletableFuture<? extends T>, U, Executor, Function<? super T, ? extends U>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that, when the given stage completes normally, + is executed in the given Executor with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
+
+
thenMApplyAllSuccessAsync(CompletableFuture<? extends T>, U, Function<? super T, ? extends U>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that, when the given stage completes normally, + is executed in the CompletableFuture's default asynchronous execution facility + with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
+
+
thenMApplyAllSuccessAsync(U, Executor, Function<? super T, ? extends U>...) - Method in class io.foldright.cffu.Cffu
+
+
Returns a new Cffu that, when the given stage completes normally, + is executed in the given Executor with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
+
+
thenMApplyAllSuccessAsync(U, Function<? super T, ? extends U>...) - Method in class io.foldright.cffu.Cffu
+
+
Returns a new Cffu that, when the given stage completes normally, + is executed in the Cffu's default asynchronous execution facility + with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
+
+
thenMApplyAnyAsync(CompletableFuture<? extends T>, Executor, Function<? super T, ? extends U>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the given Executor, with any completed result obtained by calling the given Functions + (with the given stage's result as the argument to the given functions).
+
+
thenMApplyAnyAsync(CompletableFuture<? extends T>, Function<? super T, ? extends U>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the CompletableFuture's default asynchronous execution facility, + with any completed result obtained by calling the given Functions + (with the given stage's result as the argument to the given functions).
+
+
thenMApplyAnyAsync(Executor, Function<? super T, ? extends U>...) - Method in class io.foldright.cffu.Cffu
+
+
Returns a new Cffu that, when the given stage completes normally, + is executed using the given Executor, with any completed result obtained by calling the given Functions + (with the given stage's result as the argument to the given functions).
+
+
thenMApplyAnyAsync(Function<? super T, ? extends U>...) - Method in class io.foldright.cffu.Cffu
+
+
Returns a new Cffu that, when the given stage completes normally, + is executed using the Cffu's default asynchronous execution facility, + with any completed result obtained by calling the given Functions + (with the given stage's result as the argument to the given functions).
+
+
thenMApplyAnySuccessAsync(CompletableFuture<? extends T>, Executor, Function<? super T, ? extends U>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the given Executor, with any successful value obtained by calling the given Functions + (with the given stage's result as the argument to the given functions).
+
+
thenMApplyAnySuccessAsync(CompletableFuture<? extends T>, Function<? super T, ? extends U>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the CompletableFuture's default asynchronous execution facility, + with any successful value obtained by calling the given Functions + (with the given stage's result as the argument to the given functions).
+
+
thenMApplyAnySuccessAsync(Executor, Function<? super T, ? extends U>...) - Method in class io.foldright.cffu.Cffu
+
+
Returns a new Cffu that, when the given stage completes normally, + is executed using the given Executor, with any successful value obtained by calling the given Functions + (with the given stage's result as the argument to the given functions).
+
+
thenMApplyAnySuccessAsync(Function<? super T, ? extends U>...) - Method in class io.foldright.cffu.Cffu
+
+
Returns a new Cffu that, when the given stage completes normally, + is executed using the Cffu's default asynchronous execution facility, + with any successful value obtained by calling the given Functions + (with the given stage's result as the argument to the given functions).
+
+
thenMApplyAsync(CompletableFuture<? extends T>, Executor, Function<? super T, ? extends U>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the given Executor, with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
+
+
thenMApplyAsync(CompletableFuture<? extends T>, Function<? super T, ? extends U>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the CompletableFuture's default asynchronous execution facility, + with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
+
+
thenMApplyAsync(Executor, Function<? super T, ? extends U>...) - Method in class io.foldright.cffu.Cffu
+
+
Returns a new Cffu that, when the given stage completes normally, + is executed using the given Executor, with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
+
+
thenMApplyAsync(Function<? super T, ? extends U>...) - Method in class io.foldright.cffu.Cffu
+
+
Returns a new Cffu that, when the given stage completes normally, + is executed using Cffu.defaultExecutor(), + with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
+
+
thenMApplyFastFailAsync(CompletableFuture<? extends T>, Executor, Function<? super T, ? extends U>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the given Executor, with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
+
+
thenMApplyFastFailAsync(CompletableFuture<? extends T>, Function<? super T, ? extends U>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the CompletableFuture's default asynchronous execution facility, + with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
+
+
thenMApplyFastFailAsync(Executor, Function<? super T, ? extends U>...) - Method in class io.foldright.cffu.Cffu
+
+
Returns a new Cffu that, when the given stage completes normally, + is executed using the given Executor, with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
+
+
thenMApplyFastFailAsync(Function<? super T, ? extends U>...) - Method in class io.foldright.cffu.Cffu
+
+
Returns a new Cffu that, when the given stage completes normally, + is executed using Cffu.defaultExecutor(), + with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
+
+
thenMApplyMostSuccessAsync(CompletableFuture<? extends T>, U, long, TimeUnit, Function<? super T, ? extends U>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the CompletableFuture's default asynchronous execution facility, + with the most values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Functions arguments.
+
+
thenMApplyMostSuccessAsync(CompletableFuture<? extends T>, U, Executor, long, TimeUnit, Function<? super T, ? extends U>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the given Executor, with the most values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Functions arguments.
+
+
thenMApplyMostSuccessAsync(U, long, TimeUnit, Function<? super T, ? extends U>...) - Method in class io.foldright.cffu.Cffu
+
+
Returns a new Cffu that, when the given stage completes normally, + is executed using Cffu.defaultExecutor(), + with the most values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Functions arguments.
+
+
thenMApplyMostSuccessAsync(U, Executor, long, TimeUnit, Function<? super T, ? extends U>...) - Method in class io.foldright.cffu.Cffu
+
+
Returns a new Cffu that, when the given stage completes normally, + is executed using the given Executor, with the most values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Functions arguments.
+
+
thenMRunAnyAsync(Runnable...) - Method in class io.foldright.cffu.Cffu
+
+
Returns a new Cffu that, when the given stage completes normally, + executes using Cffu.defaultExecutor(),
+
+
thenMRunAnyAsync(CompletableFuture<?>, Runnable...) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that, when the given stage completes normally, + executes the given actions using the CompletableFuture's default asynchronous execution facility.
+
+
thenMRunAnyAsync(CompletableFuture<?>, Executor, Runnable...) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that, when the given stage completes normally, + executes the given actions using the given Executor.
+
+
thenMRunAnyAsync(Executor, Runnable...) - Method in class io.foldright.cffu.Cffu
+
+
Returns a new Cffu that, when the given stage completes normally, + executes the given actions using the given Executor.
+
+
thenMRunAnySuccessAsync(Runnable...) - Method in class io.foldright.cffu.Cffu
+
+
Returns a new Cffu that, when the given stage completes normally, + executes using Cffu.defaultExecutor(),
+
+
thenMRunAnySuccessAsync(CompletableFuture<?>, Runnable...) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that, when the given stage completes normally, + executes the given actions using the CompletableFuture's default asynchronous execution facility.
+
+
thenMRunAnySuccessAsync(CompletableFuture<?>, Executor, Runnable...) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that, when the given stage completes normally, + executes the given actions using the given Executor.
+
+
thenMRunAnySuccessAsync(Executor, Runnable...) - Method in class io.foldright.cffu.Cffu
+
+
Returns a new Cffu that, when the given stage completes normally, + executes the given actions using the given Executor.
+
+
thenMRunAsync(Runnable...) - Method in class io.foldright.cffu.Cffu
+
+
Returns a new Cffu that, when the given stage completes normally, + executes the given actions using Cffu.defaultExecutor().
+
+
thenMRunAsync(CompletableFuture<?>, Runnable...) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that, when the given stage completes normally, + executes the given actions using the CompletableFuture's default asynchronous execution facility.
+
+
thenMRunAsync(CompletableFuture<?>, Executor, Runnable...) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that, when the given stage completes normally, + executes the given actions using the given Executor.
+
+
thenMRunAsync(Executor, Runnable...) - Method in class io.foldright.cffu.Cffu
+
+
Returns a new Cffu that, when the given stage completes normally, + executes the given actions using the given Executor.
+
+
thenMRunFastFailAsync(Runnable...) - Method in class io.foldright.cffu.Cffu
+
+
Returns a new Cffu that, when the given stage completes normally, + executes using Cffu.defaultExecutor(),
+
+
thenMRunFastFailAsync(CompletableFuture<?>, Runnable...) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that, when the given stage completes normally, + executes the given actions using the CompletableFuture's default asynchronous execution facility.
+
+
thenMRunFastFailAsync(CompletableFuture<?>, Executor, Runnable...) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that, when the given stage completes normally, + executes the given actions using the given Executor.
+
+
thenMRunFastFailAsync(Executor, Runnable...) - Method in class io.foldright.cffu.Cffu
+
+
Returns a new Cffu that, when the given stage completes normally, + executes the given actions using the given 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.
+
+
thenTupleMApplyAllSuccessAsync(CompletableFuture<? extends T>, Executor, Function<? super T, ? extends U1>, Function<? super T, ? extends U2>) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that, when the given stage completes normally, + is executed in the given Executor with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
+
+
thenTupleMApplyAllSuccessAsync(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
+
+
Returns a new CompletableFuture that, when the given stage completes normally, + is executed in the given Executor with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
+
+
thenTupleMApplyAllSuccessAsync(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
+
+
Returns a new CompletableFuture that, when the given stage completes normally, + is executed in the given Executor with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
+
+
thenTupleMApplyAllSuccessAsync(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
+
+
Returns a new CompletableFuture that, when the given stage completes normally, + is executed in the given Executor with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
+
+
thenTupleMApplyAllSuccessAsync(CompletableFuture<? extends T>, Function<? super T, ? extends U1>, Function<? super T, ? extends U2>) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that, when the given stage completes normally, + is executed in the CompletableFuture's default asynchronous execution facility + with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions).
+
+
thenTupleMApplyAllSuccessAsync(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
+
+
Returns a new CompletableFuture that, when the given stage completes normally, + is executed in the CompletableFuture's default asynchronous execution facility + with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
+
+
thenTupleMApplyAllSuccessAsync(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
+
+
Returns a new CompletableFuture that, when the given stage completes normally, + is executed in the CompletableFuture's default asynchronous execution facility + with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
+
+
thenTupleMApplyAllSuccessAsync(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
+
+
Returns a new CompletableFuture that, when the given stage completes normally, + is executed in the CompletableFuture's default asynchronous execution facility + with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
+
+
thenTupleMApplyAllSuccessAsync(Executor, Function<? super T, ? extends U1>, Function<? super T, ? extends U2>) - Method in class io.foldright.cffu.Cffu
+
+
Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, + with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions).
+
+
thenTupleMApplyAllSuccessAsync(Executor, Function<? super T, ? extends U1>, Function<? super T, ? extends U2>, Function<? super T, ? extends U3>) - Method in class io.foldright.cffu.Cffu
+
+
Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, + with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions).
+
+
thenTupleMApplyAllSuccessAsync(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
+
+
Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, + with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions).
+
+
thenTupleMApplyAllSuccessAsync(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
+
+
Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, + with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions).
+
+
thenTupleMApplyAllSuccessAsync(Function<? super T, ? extends U1>, Function<? super T, ? extends U2>) - Method in class io.foldright.cffu.Cffu
+
+
Returns a new Cffu that, when this Cffu completes normally, is executed using the Cffu.defaultExecutor(), + with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions).
+
+
thenTupleMApplyAllSuccessAsync(Function<? super T, ? extends U1>, Function<? super T, ? extends U2>, Function<? super T, ? extends U3>) - Method in class io.foldright.cffu.Cffu
+
+
Returns a new Cffu that, when this Cffu completes normally, is executed using the Cffu.defaultExecutor(), + with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions).
+
+
thenTupleMApplyAllSuccessAsync(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
+
+
Returns a new Cffu that, when this Cffu completes normally, is executed using the Cffu.defaultExecutor(), + with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions).
+
+
thenTupleMApplyAllSuccessAsync(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
+
+
Returns a new Cffu that, when this Cffu completes normally, is executed using the Cffu.defaultExecutor(), + with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions).
+
+
thenTupleMApplyAsync(CompletableFuture<? extends T>, Executor, Function<? super T, ? extends U1>, Function<? super T, ? extends U2>) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the given Executor, with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
+
+
thenTupleMApplyAsync(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
+
+
Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the given Executor, with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
+
+
thenTupleMApplyAsync(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
+
+
Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the given Executor, with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
+
+
thenTupleMApplyAsync(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
+
+
Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the given Executor, with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
+
+
thenTupleMApplyAsync(CompletableFuture<? extends T>, Function<? super T, ? extends U1>, Function<? super T, ? extends U2>) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the CompletableFuture's default asynchronous execution facility, + with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
+
+
thenTupleMApplyAsync(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
+
+
Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the CompletableFuture's default asynchronous execution facility, + with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
+
+
thenTupleMApplyAsync(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
+
+
Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the CompletableFuture's default asynchronous execution facility, + with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
+
+
thenTupleMApplyAsync(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
+
+
Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the CompletableFuture's default asynchronous execution facility, + with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
+
+
thenTupleMApplyAsync(Executor, Function<? super T, ? extends U1>, Function<? super T, ? extends U2>) - Method in class io.foldright.cffu.Cffu
+
+
Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
+
+
thenTupleMApplyAsync(Executor, Function<? super T, ? extends U1>, Function<? super T, ? extends U2>, Function<? super T, ? extends U3>) - Method in class io.foldright.cffu.Cffu
+
+
Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
+
+
thenTupleMApplyAsync(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
+
+
Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
+
+
thenTupleMApplyAsync(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
+
+
Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
+
+
thenTupleMApplyAsync(Function<? super T, ? extends U1>, Function<? super T, ? extends U2>) - Method in class io.foldright.cffu.Cffu
+
+
Returns a new Cffu that, when this Cffu completes normally, is executed using the Cffu.defaultExecutor(), + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
+
+
thenTupleMApplyAsync(Function<? super T, ? extends U1>, Function<? super T, ? extends U2>, Function<? super T, ? extends U3>) - Method in class io.foldright.cffu.Cffu
+
+
Returns a new Cffu that, when this Cffu completes normally, is executed using the Cffu.defaultExecutor(), + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
+
+
thenTupleMApplyAsync(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
+
+
Returns a new Cffu that, when this Cffu completes normally, is executed using the Cffu.defaultExecutor(), + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
+
+
thenTupleMApplyAsync(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
+
+
Returns a new Cffu that, when this Cffu completes normally, is executed using the Cffu.defaultExecutor(), + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
+
+
thenTupleMApplyFastFailAsync(CompletableFuture<? extends T>, Executor, Function<? super T, ? extends U1>, Function<? super T, ? extends U2>) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the given Executor, with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
+
+
thenTupleMApplyFastFailAsync(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
+
+
Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the given Executor, with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
+
+
thenTupleMApplyFastFailAsync(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
+
+
Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the given Executor, with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
+
+
thenTupleMApplyFastFailAsync(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
+
+
Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the given Executor, with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
+
+
thenTupleMApplyFastFailAsync(CompletableFuture<? extends T>, Function<? super T, ? extends U1>, Function<? super T, ? extends U2>) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the CompletableFuture's default asynchronous execution facility, + with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
+
+
thenTupleMApplyFastFailAsync(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
+
+
Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the CompletableFuture's default asynchronous execution facility, + with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
+
+
thenTupleMApplyFastFailAsync(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
+
+
Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the CompletableFuture's default asynchronous execution facility, + with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
+
+
thenTupleMApplyFastFailAsync(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
+
+
Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the CompletableFuture's default asynchronous execution facility, + with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
+
+
thenTupleMApplyFastFailAsync(Executor, Function<? super T, ? extends U1>, Function<? super T, ? extends U2>) - Method in class io.foldright.cffu.Cffu
+
+
Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
+
+
thenTupleMApplyFastFailAsync(Executor, Function<? super T, ? extends U1>, Function<? super T, ? extends U2>, Function<? super T, ? extends U3>) - Method in class io.foldright.cffu.Cffu
+
+
Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
+
+
thenTupleMApplyFastFailAsync(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
+
+
Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
+
+
thenTupleMApplyFastFailAsync(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
+
+
Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
+
+
thenTupleMApplyFastFailAsync(Function<? super T, ? extends U1>, Function<? super T, ? extends U2>) - Method in class io.foldright.cffu.Cffu
+
+
Returns a new Cffu that, when this Cffu completes normally, is executed using the Cffu.defaultExecutor(), + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
+
+
thenTupleMApplyFastFailAsync(Function<? super T, ? extends U1>, Function<? super T, ? extends U2>, Function<? super T, ? extends U3>) - Method in class io.foldright.cffu.Cffu
+
+
Returns a new Cffu that, when this Cffu completes normally, is executed using the Cffu.defaultExecutor(), + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
+
+
thenTupleMApplyFastFailAsync(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
+
+
Returns a new Cffu that, when this Cffu completes normally, is executed using the Cffu.defaultExecutor(), + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
+
+
thenTupleMApplyFastFailAsync(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
+
+
Returns a new Cffu that, when this Cffu completes normally, is executed using the Cffu.defaultExecutor(), + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
+
+
thenTupleMApplyMostSuccessAsync(long, TimeUnit, Function<? super T, ? extends U1>, Function<? super T, ? extends U2>) - Method in class io.foldright.cffu.Cffu
+
+
Returns a new Cffu that, when this Cffu completes normally, is executed using the Cffu.defaultExecutor(), + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
+
+
thenTupleMApplyMostSuccessAsync(long, TimeUnit, Function<? super T, ? extends U1>, Function<? super T, ? extends U2>, Function<? super T, ? extends U3>) - Method in class io.foldright.cffu.Cffu
+
+
Returns a new Cffu that, when this Cffu completes normally, is executed using the Cffu.defaultExecutor(), + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
+
+
thenTupleMApplyMostSuccessAsync(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
+
+
Returns a new Cffu that, when this Cffu completes normally, is executed using the Cffu.defaultExecutor(), + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
+
+
thenTupleMApplyMostSuccessAsync(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
+
+
Returns a new Cffu that, when this Cffu completes normally, is executed using the Cffu.defaultExecutor(), + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
+
+
thenTupleMApplyMostSuccessAsync(CompletableFuture<? extends T>, long, TimeUnit, Function<? super T, ? extends U1>, Function<? super T, ? extends U2>) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the CompletableFuture's default asynchronous execution facility, + with the most values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Functions arguments.
+
+
thenTupleMApplyMostSuccessAsync(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
+
+
Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the CompletableFuture's default asynchronous execution facility, + with the most values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Functions arguments.
+
+
thenTupleMApplyMostSuccessAsync(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
+
+
Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the CompletableFuture's default asynchronous execution facility, + with the most values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Functions arguments.
+
+
thenTupleMApplyMostSuccessAsync(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
+
+
Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the CompletableFuture's default asynchronous execution facility, + with the most values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Functions arguments.
+
+
thenTupleMApplyMostSuccessAsync(CompletableFuture<? extends T>, Executor, long, TimeUnit, Function<? super T, ? extends U1>, Function<? super T, ? extends U2>) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the given Executor, + with the most values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Functions arguments.
+
+
thenTupleMApplyMostSuccessAsync(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
+
+
Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the given Executor, + with the most values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Functions arguments.
+
+
thenTupleMApplyMostSuccessAsync(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
+
+
Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the given Executor, + with the most values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Functions arguments.
+
+
thenTupleMApplyMostSuccessAsync(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
+
+
Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the given Executor, + with the most values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Functions arguments.
+
+
thenTupleMApplyMostSuccessAsync(Executor, long, TimeUnit, Function<? super T, ? extends U1>, Function<? super T, ? extends U2>) - Method in class io.foldright.cffu.Cffu
+
+
Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
+
+
thenTupleMApplyMostSuccessAsync(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
+
+
Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
+
+
thenTupleMApplyMostSuccessAsync(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
+
+
Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
+
+
thenTupleMApplyMostSuccessAsync(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
+
+
Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
+
+
toCffu(ListenableFuture<T>, CffuFactory, boolean) - Static method in class io.foldright.cffu.ListenableFutureUtils
+
+
Converts input ListenableFuture to Cffu.
+
+
toCffu(CompletionStage<T>) - Method in class io.foldright.cffu.CffuFactory
+
+
Returns a Cffu maintaining the same completion properties as this stage and this CffuFactory config.
+
+
toCffuArray(CompletionStage<T>...) - Method in class io.foldright.cffu.CffuFactory
+
+
A convenient util method for converting input CompletionStage(including CompletableFuture) + array element by CffuFactory.toCffu(CompletionStage).
+
+
toCffuState(Future.State) - Static method in enum io.foldright.cffu.CffuState
+
+ +
+
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.ListenableFutureUtils
+
+ +
+
toCompletableFutureArray(CompletionStage<T>...) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
A convenient util method for converting input CompletionStage(including + Cffu/CompletableFuture) array element by CompletionStage.toCompletableFuture().
+
+
toFutureState() - Method in enum io.foldright.cffu.CffuState
+
+ +
+
toListenableFuture(Cffu<T>) - Static method in class io.foldright.cffu.ListenableFutureUtils
+
+
Converts input Cffu to ListenableFuture.
+
+
toListenableFuture(CompletableFuture<T>) - Static method in class io.foldright.cffu.ListenableFutureUtils
+
+ +
+
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,T3> - Class in io.foldright.cffu.tuple
+
+
Tuple3(aka Triple).
+
+
Tuple4<T1,T2,T3,T4> - Class in io.foldright.cffu.tuple
+
+
Tuple4, contains 4 elements.
+
+
Tuple5<T1,T2,T3,T4,T5> - Class in io.foldright.cffu.tuple
+
+
Tuple5, contains 5 elements.
+
+
tupleMSupplyAllSuccessAsync(Executor, Supplier<? extends T1>, Supplier<? extends T2>) - Method in class io.foldright.cffu.CffuFactory
+
+
Returns a new Cffu that is asynchronously completed + by tasks running in the given executor with the successfully values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
+
+
tupleMSupplyAllSuccessAsync(Executor, Supplier<? extends T1>, Supplier<? extends T2>) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that is asynchronously completed + by tasks running in the given executor with the successfully values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
+
+
tupleMSupplyAllSuccessAsync(Executor, Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>) - Method in class io.foldright.cffu.CffuFactory
+
+
Returns a new Cffu that is asynchronously completed + by tasks running in the given executor with the successfully values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
+
+
tupleMSupplyAllSuccessAsync(Executor, Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that is asynchronously completed + by tasks running in the given executor with the successfully values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
+
+
tupleMSupplyAllSuccessAsync(Executor, Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>, Supplier<? extends T4>) - Method in class io.foldright.cffu.CffuFactory
+
+
Returns a new Cffu that is asynchronously completed + by tasks running in the given executor with the successfully values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
+
+
tupleMSupplyAllSuccessAsync(Executor, Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>, Supplier<? extends T4>) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that is asynchronously completed + by tasks running in the given executor with the successfully values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
+
+
tupleMSupplyAllSuccessAsync(Executor, Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>, Supplier<? extends T4>, Supplier<? extends T5>) - Method in class io.foldright.cffu.CffuFactory
+
+
Returns a new Cffu that is asynchronously completed + by tasks running in the given executor with the successfully values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
+
+
tupleMSupplyAllSuccessAsync(Executor, Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>, Supplier<? extends T4>, Supplier<? extends T5>) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that is asynchronously completed + by tasks running in the given executor with the successfully values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
+
+
tupleMSupplyAllSuccessAsync(Supplier<? extends T1>, Supplier<? extends T2>) - Method in class io.foldright.cffu.CffuFactory
+
+
Returns a new Cffu that is asynchronously completed + by tasks running in the Cffu's default asynchronous execution facility + with the successful values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
+
+
tupleMSupplyAllSuccessAsync(Supplier<? extends T1>, Supplier<? extends T2>) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that is asynchronously completed + by tasks running in the CompletableFuture's default asynchronous execution facility + with the successful values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
+
+
tupleMSupplyAllSuccessAsync(Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>) - Method in class io.foldright.cffu.CffuFactory
+
+
Returns a new Cffu that is asynchronously completed + by tasks running in the Cffu's default asynchronous execution facility + with the successful values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
+
+
tupleMSupplyAllSuccessAsync(Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that is asynchronously completed + by tasks running in the CompletableFuture's default asynchronous execution facility + with the successful values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
+
+
tupleMSupplyAllSuccessAsync(Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>, Supplier<? extends T4>) - Method in class io.foldright.cffu.CffuFactory
+
+
Returns a new Cffu that is asynchronously completed + by tasks running in the Cffu's default asynchronous execution facility + with the successful values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
+
+
tupleMSupplyAllSuccessAsync(Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>, Supplier<? extends T4>) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that is asynchronously completed + by tasks running in the CompletableFuture's default asynchronous execution facility + with the successful values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
+
+
tupleMSupplyAllSuccessAsync(Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>, Supplier<? extends T4>, Supplier<? extends T5>) - Method in class io.foldright.cffu.CffuFactory
+
+
Returns a new Cffu that is asynchronously completed + by tasks running in the Cffu's default asynchronous execution facility + with the successful values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
+
+
tupleMSupplyAllSuccessAsync(Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>, Supplier<? extends T4>, Supplier<? extends T5>) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that is asynchronously completed + by tasks running in the CompletableFuture's default asynchronous execution facility + with the successful values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
+
+
tupleMSupplyAsync(Executor, Supplier<? extends T1>, Supplier<? extends T2>) - Method in class io.foldright.cffu.CffuFactory
+
+
Returns a new Cffu that is asynchronously completed + by tasks running in the given Executor with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
+
+
tupleMSupplyAsync(Executor, Supplier<? extends T1>, Supplier<? extends T2>) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that is asynchronously completed + by tasks running in the given Executor with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
+
+
tupleMSupplyAsync(Executor, Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>) - Method in class io.foldright.cffu.CffuFactory
+
+
Returns a new Cffu that is asynchronously completed + by tasks running in the given Executor with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
+
+
tupleMSupplyAsync(Executor, Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that is asynchronously completed + by tasks running in the given Executor with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
+
+
tupleMSupplyAsync(Executor, Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>, Supplier<? extends T4>) - Method in class io.foldright.cffu.CffuFactory
+
+
Returns a new Cffu that is asynchronously completed + by tasks running in the given Executor with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
+
+
tupleMSupplyAsync(Executor, Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>, Supplier<? extends T4>) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that is asynchronously completed + by tasks running in the given Executor with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
+
+
tupleMSupplyAsync(Executor, Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>, Supplier<? extends T4>, Supplier<? extends T5>) - Method in class io.foldright.cffu.CffuFactory
+
+
Returns a new Cffu that is asynchronously completed + by tasks running in the given Executor with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
+
+
tupleMSupplyAsync(Executor, Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>, Supplier<? extends T4>, Supplier<? extends T5>) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that is asynchronously completed + by tasks running in the given Executor with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
+
+
tupleMSupplyAsync(Supplier<? extends T1>, Supplier<? extends T2>) - Method in class io.foldright.cffu.CffuFactory
+
+
Returns a new Cffu that is asynchronously completed + by tasks running in the CffuFactory.defaultExecutor() with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
+
+
tupleMSupplyAsync(Supplier<? extends T1>, Supplier<? extends T2>) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that is asynchronously completed + by tasks running in the CompletableFuture's default asynchronous execution facility + with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
+
+
tupleMSupplyAsync(Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>) - Method in class io.foldright.cffu.CffuFactory
+
+
Returns a new Cffu that is asynchronously completed + by tasks running in the CffuFactory.defaultExecutor() with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
+
+
tupleMSupplyAsync(Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that is asynchronously completed + by tasks running in the CompletableFuture's default asynchronous execution facility + with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
+
+
tupleMSupplyAsync(Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>, Supplier<? extends T4>) - Method in class io.foldright.cffu.CffuFactory
+
+
Returns a new Cffu that is asynchronously completed + by tasks running in the CffuFactory.defaultExecutor() with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
+
+
tupleMSupplyAsync(Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>, Supplier<? extends T4>) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that is asynchronously completed + by tasks running in the CompletableFuture's default asynchronous execution facility + with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
+
+
tupleMSupplyAsync(Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>, Supplier<? extends T4>, Supplier<? extends T5>) - Method in class io.foldright.cffu.CffuFactory
+
+
Returns a new Cffu that is asynchronously completed + by tasks running in the CffuFactory.defaultExecutor() with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
+
+
tupleMSupplyAsync(Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>, Supplier<? extends T4>, Supplier<? extends T5>) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that is asynchronously completed + by tasks running in the CompletableFuture's default asynchronous execution facility + with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
+
+
tupleMSupplyFastFailAsync(Executor, Supplier<? extends T1>, Supplier<? extends T2>) - Method in class io.foldright.cffu.CffuFactory
+
+
Returns a new Cffu that is asynchronously completed + by tasks running in the CffuFactory.defaultExecutor() with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
+
+
tupleMSupplyFastFailAsync(Executor, Supplier<? extends T1>, Supplier<? extends T2>) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that is asynchronously completed + by tasks running in the given Executor with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
+
+
tupleMSupplyFastFailAsync(Executor, Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>) - Method in class io.foldright.cffu.CffuFactory
+
+
Returns a new Cffu that is asynchronously completed + by tasks running in the given Executor with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
+
+
tupleMSupplyFastFailAsync(Executor, Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that is asynchronously completed + by tasks running in the given Executor with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
+
+
tupleMSupplyFastFailAsync(Executor, Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>, Supplier<? extends T4>) - Method in class io.foldright.cffu.CffuFactory
+
+
Returns a new Cffu that is asynchronously completed + by tasks running in the given Executor with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
+
+
tupleMSupplyFastFailAsync(Executor, Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>, Supplier<? extends T4>) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that is asynchronously completed + by tasks running in the given Executor with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
+
+
tupleMSupplyFastFailAsync(Executor, Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>, Supplier<? extends T4>, Supplier<? extends T5>) - Method in class io.foldright.cffu.CffuFactory
+
+
Returns a new Cffu that is asynchronously completed + by tasks running in the given Executor with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
+
+
tupleMSupplyFastFailAsync(Executor, Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>, Supplier<? extends T4>, Supplier<? extends T5>) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that is asynchronously completed + by tasks running in the given Executor with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
+
+
tupleMSupplyFastFailAsync(Supplier<? extends T1>, Supplier<? extends T2>) - Method in class io.foldright.cffu.CffuFactory
+
+
Returns a new Cffu that is asynchronously completed + by tasks running in the CffuFactory.defaultExecutor() with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
+
+
tupleMSupplyFastFailAsync(Supplier<? extends T1>, Supplier<? extends T2>) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that is asynchronously completed + by tasks running in the CompletableFuture's default asynchronous execution facility + with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
+
+
tupleMSupplyFastFailAsync(Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>) - Method in class io.foldright.cffu.CffuFactory
+
+
Returns a new Cffu that is asynchronously completed + by tasks running in the given Executor with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
+
+
tupleMSupplyFastFailAsync(Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that is asynchronously completed + by tasks running in the CompletableFuture's default asynchronous execution facility + with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
+
+
tupleMSupplyFastFailAsync(Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>, Supplier<? extends T4>) - Method in class io.foldright.cffu.CffuFactory
+
+
Returns a new Cffu that is asynchronously completed + by tasks running in the CffuFactory.defaultExecutor() with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
+
+
tupleMSupplyFastFailAsync(Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>, Supplier<? extends T4>) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that is asynchronously completed + by tasks running in the CompletableFuture's default asynchronous execution facility + with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
+
+
tupleMSupplyFastFailAsync(Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>, Supplier<? extends T4>, Supplier<? extends T5>) - Method in class io.foldright.cffu.CffuFactory
+
+
Returns a new Cffu that is asynchronously completed + by tasks running in the CffuFactory.defaultExecutor() with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
+
+
tupleMSupplyFastFailAsync(Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>, Supplier<? extends T4>, Supplier<? extends T5>) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that is asynchronously completed + by tasks running in the CompletableFuture's default asynchronous execution facility + with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
+
+
tupleMSupplyMostSuccessAsync(long, TimeUnit, Supplier<? extends T1>, Supplier<? extends T2>) - Method in class io.foldright.cffu.CffuFactory
+
+
Returns a new Cffu that is asynchronously completed + by tasks running in the Cffu's default asynchronous execution facility + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments.
+
+
tupleMSupplyMostSuccessAsync(long, TimeUnit, Supplier<? extends T1>, Supplier<? extends T2>) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that is asynchronously completed + by tasks running in the CompletableFuture's default asynchronous execution facility + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments.
+
+
tupleMSupplyMostSuccessAsync(long, TimeUnit, Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>) - Method in class io.foldright.cffu.CffuFactory
+
+
Returns a new Cffu that is asynchronously completed + by tasks running in the Cffu's default asynchronous execution facility + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments.
+
+
tupleMSupplyMostSuccessAsync(long, TimeUnit, Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that is asynchronously completed + by tasks running in the CompletableFuture's default asynchronous execution facility + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments.
+
+
tupleMSupplyMostSuccessAsync(long, TimeUnit, Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>, Supplier<? extends T4>) - Method in class io.foldright.cffu.CffuFactory
+
+
Returns a new Cffu that is asynchronously completed + by tasks running in the Cffu's default asynchronous execution facility + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments.
+
+
tupleMSupplyMostSuccessAsync(long, TimeUnit, Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>, Supplier<? extends T4>) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that is asynchronously completed + by tasks running in the CompletableFuture's default asynchronous execution facility + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments.
+
+
tupleMSupplyMostSuccessAsync(long, TimeUnit, Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>, Supplier<? extends T4>, Supplier<? extends T5>) - Method in class io.foldright.cffu.CffuFactory
+
+
Returns a new Cffu that is asynchronously completed + by tasks running in the Cffu's default asynchronous execution facility + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments.
+
+
tupleMSupplyMostSuccessAsync(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
+
+
Returns a new CompletableFuture that is asynchronously completed + by tasks running in the CompletableFuture's default asynchronous execution facility + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments.
+
+
tupleMSupplyMostSuccessAsync(Executor, long, TimeUnit, Supplier<? extends T1>, Supplier<? extends T2>) - Method in class io.foldright.cffu.CffuFactory
+
+
Returns a new Cffu that is asynchronously completed by tasks running in the given Executor + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments.
+
+
tupleMSupplyMostSuccessAsync(Executor, long, TimeUnit, Supplier<? extends T1>, Supplier<? extends T2>) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that is asynchronously completed by tasks running in the given Executor + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments.
+
+
tupleMSupplyMostSuccessAsync(Executor, long, TimeUnit, Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>) - Method in class io.foldright.cffu.CffuFactory
+
+
Returns a new Cffu that is asynchronously completed by tasks running in the given Executor + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments.
+
+
tupleMSupplyMostSuccessAsync(Executor, long, TimeUnit, Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that is asynchronously completed by tasks running in the given Executor + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments.
+
+
tupleMSupplyMostSuccessAsync(Executor, long, TimeUnit, Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>, Supplier<? extends T4>) - Method in class io.foldright.cffu.CffuFactory
+
+
Returns a new Cffu that is asynchronously completed by tasks running in the given Executor + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments.
+
+
tupleMSupplyMostSuccessAsync(Executor, long, TimeUnit, Supplier<? extends T1>, Supplier<? extends T2>, Supplier<? extends T3>, Supplier<? extends T4>) - Static method in class io.foldright.cffu.CompletableFutureUtils
+
+
Returns a new CompletableFuture that is asynchronously completed by tasks running in the given Executor + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments.
+
+
tupleMSupplyMostSuccessAsync(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
+
+
Returns a new Cffu that is asynchronously completed by tasks running in the given Executor + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments.
+
+
tupleMSupplyMostSuccessAsync(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
+
+
Returns a new CompletableFuture that is asynchronously completed by tasks running in the given Executor + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments.
+
+
+

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
+
+
A convenient util method for unwrapping CF exception + (CompletionException/ExecutionException) to the biz 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.
+
+
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
+
 
+
+A B C D E F G H I J L M N O P R S T U V W _ 
All Classes and Interfaces|All Packages|Serialized Form
+
+
+ +
+
+
+ + diff --git a/cffu/1.0.0-Alpha22/index.html b/cffu/1.0.0-Alpha22/index.html new file mode 100644 index 0000000..7b1ffda --- /dev/null +++ b/cffu/1.0.0-Alpha22/index.html @@ -0,0 +1,92 @@ + + + + +Overview (CompletableFuture-Fu(cffu) 1.0.0-Alpha22 API) + + + + + + + + + + + + + + +
+ +
+
+
+

CompletableFuture-Fu(cffu) 1.0.0-Alpha22 API

+
+

This is the API documentation for the + + 🦝 Java CompletableFuture Fu(aka. CF-Fu, pronounced "Shifu"), + a tiny sidekick library to make + CompletableFuture + more convenient, more efficient and safer in your application. 😋🚀🦺

+
+
Packages
+
+
Package
+
Description
+ +
+
A tiny sidekick library for CompletableFuture to improve user experience and reduce misuse.
+
+ +
+
Cffu SPI interfaces.
+
+ +
+
Cffu executor wrapper provider(ExecutorWrapperProvider) SPI implementation for + 📌 TransmittableThreadLocal (TTL).
+
+ +
+
the Tuple util classes for Cffu use.
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/cffu/1.0.0-Alpha22/io/foldright/cffu/Cffu.html b/cffu/1.0.0-Alpha22/io/foldright/cffu/Cffu.html new file mode 100644 index 0000000..d8f2e04 --- /dev/null +++ b/cffu/1.0.0-Alpha22/io/foldright/cffu/Cffu.html @@ -0,0 +1,5289 @@ + + + + +Cffu (CompletableFuture-Fu(cffu) 1.0.0-Alpha22 API) + + + + + + + + + + + + + + +
+ +
+
+ +
+ +

Class Cffu<T>

+
+
java.lang.Object +
io.foldright.cffu.Cffu<T>
+
+
+
+
All Implemented Interfaces:
+
CompletionStage<T>, Future<T>
+
+
+
public final class Cffu<T> +extends Object +implements Future<T>, CompletionStage<T>
+
This class Cffu is the equivalent class to CompletableFuture, + contains the equivalent instance methods of CompletionStage and CompletableFuture. +

+ The methods that equivalent to static factory methods of CompletableFuture + is in CffuFactory class.

+
+
Author:
+
Jerry Lee (oldratlee at gmail dot com), HuHao (995483610 at qq dot com)
+
See Also:
+
+ +
+
+
+
+
    + +
  • +
    +

    Nested Class Summary

    +
    +

    Nested classes/interfaces inherited from interface java.util.concurrent.Future

    +Future.State
    +
    +
  • + +
  • +
    +

    Method Summary

    +
    +
    +
    +
    +
    Modifier and Type
    +
    Method
    +
    Description
    + +
    acceptEither(CompletionStage<? extends T> other, + Consumer<? super T> action)
    +
    +
    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> other, + Consumer<? super T> action)
    +
    +
    Returns a new Cffu that, when either this or the other given stage complete normally, + is executed using defaultExecutor(), + with the corresponding result as argument to the supplied action.
    +
    + +
    acceptEitherAsync(CompletionStage<? extends T> other, + Consumer<? super T> action, + Executor executor)
    +
    +
    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(CompletionStage<? extends T> other, + Consumer<? super T> action)
    +
    +
    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(CompletionStage<? extends T> other, + Consumer<? super T> action)
    +
    +
    Returns a new Cffu that, when either this or the other given stage complete normally, + is executed using defaultExecutor(), + with the corresponding result as argument to the supplied action.
    +
    + +
    acceptEitherSuccessAsync(CompletionStage<? extends T> other, + Consumer<? super T> action, + Executor executor)
    +
    +
    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.
    +
    +
    <U> Cffu<U>
    +
    applyToEither(CompletionStage<? extends T> other, + Function<? super T,U> fn)
    +
    +
    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.
    +
    +
    <U> Cffu<U>
    +
    applyToEitherAsync(CompletionStage<? extends T> other, + Function<? super T,U> fn)
    +
    +
    Returns a new Cffu that, when either this or the other given stage complete normally, + is executed using defaultExecutor(), + with the corresponding result as argument to the supplied function.
    +
    +
    <U> Cffu<U>
    +
    applyToEitherAsync(CompletionStage<? extends T> other, + Function<? super T,U> fn, + Executor executor)
    +
    +
    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.
    +
    +
    <U> Cffu<U>
    +
    applyToEitherSuccess(CompletionStage<? extends T> other, + Function<? super T,U> fn)
    +
    +
    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.
    +
    +
    <U> Cffu<U>
    +
    applyToEitherSuccessAsync(CompletionStage<? extends T> other, + Function<? super T,U> fn)
    +
    +
    Returns a new Cffu that, when either this or the other given stage complete normally, + is executed using defaultExecutor(), + with the corresponding result as argument to the supplied function.
    +
    +
    <U> Cffu<U>
    +
    applyToEitherSuccessAsync(CompletionStage<? extends T> other, + Function<? super T,U> fn, + Executor executor)
    +
    +
    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.
    +
    +
    boolean
    +
    cancel(boolean mayInterruptIfRunning)
    +
    +
    If not already completed, completes this Cffu with a CancellationException.
    +
    +
    <X extends Throwable>
    Cffu<T>
    +
    catching(Class<X> exceptionType, + Function<? super X,? extends T> fallback)
    +
    +
    Returns a new Cffu that, when given stage completes exceptionally with the given exceptionType, + is executed with given stage's exception as the argument to the supplied function.
    +
    +
    <X extends Throwable>
    Cffu<T>
    +
    catchingAsync(Class<X> exceptionType, + Function<? super X,? extends T> fallback)
    +
    +
    Returns a new Cffu that, when given stage completes exceptionally with the given exceptionType, + is executed with given stage's exception as the argument to the supplied function, + using the given stage's default asynchronous execution facility.
    +
    +
    <X extends Throwable>
    Cffu<T>
    +
    catchingAsync(Class<X> exceptionType, + Function<? super X,? extends T> fallback, + Executor executor)
    +
    +
    Returns a new Cffu that, when given stage completes exceptionally with the given exceptionType, + is executed with given stage's exception as the argument to the supplied function, using the supplied Executor.
    +
    +
    <X extends Throwable>
    Cffu<T>
    +
    catchingCompose(Class<X> exceptionType, + Function<? super X,? extends CompletionStage<T>> fallback)
    +
    +
    Returns a new Cffu that, when given stage completes exceptionally with the given exceptionType, + is composed using the results of the supplied function applied to given stage's exception.
    +
    +
    <X extends Throwable>
    Cffu<T>
    +
    catchingComposeAsync(Class<X> exceptionType, + Function<? super X,? extends CompletionStage<T>> fallback)
    +
    +
    Returns a new Cffu that, when given stage completes exceptionally with the given exceptionType, + is composed using the results of the supplied function applied to given stage's exception, + using given stage's default asynchronous execution facility.
    +
    +
    <X extends Throwable>
    Cffu<T>
    +
    catchingComposeAsync(Class<X> exceptionType, + Function<? super X,? extends CompletionStage<T>> fallback, + Executor executor)
    +
    +
    Returns a new Cffu that, when given stage completes exceptionally with the given exceptionType, + is composed using the results of the supplied function applied to given's exception, + using the supplied Executor.
    +
    + + +
    +
    Returns the CffuFactory of this Cffu.
    +
    + + +
    +
    Returns the computation state(CffuState), this method is equivalent to CompletableFuture.state() + with java version compatibility logic, so you can invoke in old java 18-.
    +
    + + +
    +
    Returns the underlying CompletableFuture.
    +
    +
    boolean
    +
    complete(T value)
    +
    +
    If not already completed, sets the value returned by get() and related methods to the given value.
    +
    + +
    completeAsync(Supplier<? extends T> supplier)
    +
    +
    Completes this Cffu with the result of the given Supplier function invoked + from an asynchronous task using defaultExecutor().
    +
    + +
    completeAsync(Supplier<? extends T> supplier, + Executor executor)
    +
    +
    Completes this Cffu with the result of the given Supplier function invoked + from an asynchronous task using the given executor.
    +
    +
    boolean
    + +
    +
    If not already completed, causes invocations of get() and related methods to throw the given exception.
    +
    + + +
    +
    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> supplier, + Executor executor)
    +
    +
    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(T value, + long timeout, + TimeUnit unit)
    +
    +
    Completes this Cffu with the given value if not otherwise completed before the given timeout.
    +
    + +
    completeOnTimeout(T value, + Executor executorWhenTimeout, + long timeout, + TimeUnit unit)
    +
    +
    Completes this Cffu with the given value if not otherwise completed before the given timeout.
    +
    + + +
    +
    Returns a new Cffu that is completed normally with the same value as this Cffu when it completes normally.
    +
    + + +
    +
    Returns the default Executor used for async methods that do not specify an Executor.
    +
    + + +
    +
    Returns a new Cffu that, when this stage completes exceptionally, + is executed with this stage's exception as the argument to the supplied function.
    +
    + + +
    +
    Returns a new Cffu that, when this stage completes exceptionally, + is executed with this stage's exception as the argument to the supplied function, + using defaultExecutor().
    +
    + +
    exceptionallyAsync(Function<Throwable,? extends T> fn, + Executor executor)
    +
    +
    Returns a new Cffu that, when this stage completes exceptionally, + is executed with this stage's exception as the argument to the supplied function, + using the supplied Executor.
    +
    + + +
    +
    Returns a new CompletionStage that, when this stage completes exceptionally, + is composed using the results of the supplied function applied to this stage's exception.
    +
    + + +
    +
    Returns a new Cffu that, when this stage completes exceptionally, + is composed using the results of the supplied function applied to this stage's exception, + using defaultExecutor().
    +
    + + +
    +
    Returns a new Cffu that, when this stage completes exceptionally, + is composed using the results of the supplied function applied to this stage's exception, + using the supplied Executor.
    +
    + + +
    +
    Returns the exception thrown by the task, without waiting.
    +
    +
    boolean
    + +
    +
    Returns forbidObtrudeMethods or not.
    +
    + +
    get()
    +
    +
    Waits if necessary for the computation to complete, and then retrieves its result.
    +
    + +
    get(long timeout, + TimeUnit unit)
    +
    +
    Waits if necessary for at most the given time for the computation to complete, + and then retrieves its result, if available.
    +
    + +
    getNow(T valueIfAbsent)
    +
    +
    Returns the result value (or throws any encountered exception) if completed, + else returns the given valueIfAbsent.
    +
    +
    int
    + +
    +
    Returns the estimated number of CompletableFuture(including Cffu Wrapper) + whose completions are awaiting completion of this Cffu(aka its underlying CompletableFuture).
    +
    + +
    getSuccessNow(T valueIfNotSuccess)
    +
    +
    Returns the result value if completed successfully, else returns the given valueIfNotSuccess.
    +
    +
    <U> Cffu<U>
    +
    handle(BiFunction<? super T,Throwable,? extends U> fn)
    +
    +
    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.
    +
    +
    <U> Cffu<U>
    +
    handleAsync(BiFunction<? super T,Throwable,? extends U> fn)
    +
    +
    Returns a new Cffu that, when this cffu completes either normally or exceptionally, + is executed using defaultExecutor(), + with this cffu's result and exception as arguments to the supplied function.
    +
    +
    <U> Cffu<U>
    +
    handleAsync(BiFunction<? super T,Throwable,? extends U> fn, + Executor executor)
    +
    +
    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.
    +
    +
    boolean
    + +
    +
    Returns true if this Cffu was cancelled before it completed normally.
    +
    +
    boolean
    + +
    +
    Returns true if this Cffu completed exceptionally, in any way.
    +
    +
    boolean
    + +
    +
    Returns true if this task completed.
    +
    +
    boolean
    + +
    +
    Returns whether is a minimal stage or not.
    +
    + + +
    +
    Returns the result value when complete, or throws an (unchecked) exception if completed exceptionally.
    +
    + +
    join(long timeout, + TimeUnit unit)
    +
    +
    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.
    +
    + + +
    +
    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.
    +
    +
    <U> Cffu<U>
    + +
    +
    Returns a new incomplete Cffu with CompletableFuture of the type to be returned by a CompletionStage method.
    +
    +
    void
    + +
    +
    Forcibly causes subsequent invocations of method get() and related methods to throw the given exception, + whether already completed or not.
    +
    +
    void
    +
    obtrudeValue(T value)
    +
    +
    Forcibly sets or resets the value subsequently returned by method get() and related methods, + whether already completed or not.
    +
    + +
    orTimeout(long timeout, + TimeUnit unit)
    +
    +
    Exceptionally completes this Cffu with a TimeoutException + if not otherwise completed before the given timeout.
    +
    + +
    orTimeout(Executor executorWhenTimeout, + long timeout, + TimeUnit unit)
    +
    +
    Exceptionally completes this Cffu with a TimeoutException + if not otherwise completed before the given timeout.
    +
    + +
    peek(BiConsumer<? super T,? super Throwable> action)
    +
    +
    Peeks the result by executing the given action when this cffu completes, returns this cffu.
    +
    + +
    peekAsync(BiConsumer<? super T,? super Throwable> action)
    +
    +
    Peeks the result by executing the given action when this cffu completes, + executes the given action using defaultExecutor(), returns this cffu.
    +
    + +
    peekAsync(BiConsumer<? super T,? super Throwable> action, + Executor executor)
    +
    +
    Peeks the result by executing the given action when this cffu completes, + that executes the given action using the supplied Executor when this cffu completes, returns this cffu.
    +
    + + +
    +
    Returns a new Cffu with the given CffuFactory(contained configuration).
    +
    + +
    resetDefaultExecutor(Executor defaultExecutor)
    +
    +
    Returns a new Cffu with the given defaultExecutor.
    +
    + + +
    +
    Returns the computed result, without waiting.
    +
    + +
    runAfterBoth(CompletionStage<?> other, + Runnable action)
    +
    +
    Returns a new Cffu that, when this and the other given stage both complete normally, executes the given action.
    +
    + + +
    +
    Returns a new Cffu that, when this and the other given stage both complete normally, + executes the given action using defaultExecutor().
    +
    + +
    runAfterBothAsync(CompletionStage<?> other, + Runnable action, + Executor executor)
    +
    +
    Returns a new Cffu that, when this and the other given stage both complete normally, + executes the given action using the supplied executor.
    +
    + + +
    +
    Returns a new Cffu that, when this and the other given stage both complete normally, executes the given action.
    +
    + + +
    +
    Returns a new Cffu that, when this and the other given stage both complete normally, + executes the given action using defaultExecutor().
    +
    + +
    runAfterBothFastFailAsync(CompletionStage<?> other, + Runnable action, + Executor executor)
    +
    +
    Returns a new Cffu that, when this and the other given stage both complete normally, + executes the given action using the supplied executor.
    +
    + + +
    +
    Returns a new Cffu that, when either this or the other given stage complete normally, + executes the given action.
    +
    + + +
    +
    Returns a new Cffu that, when either this or the other given stage complete normally, + executes the given action using defaultExecutor().
    +
    + +
    runAfterEitherAsync(CompletionStage<?> other, + Runnable action, + Executor executor)
    +
    +
    Returns a new Cffu that, when either this or the other given stage complete normally, + executes the given action using the supplied executor.
    +
    + + +
    +
    Returns a new Cffu that, when either this or the other given stage complete normally, executes the given action.
    +
    + + +
    +
    Returns a new Cffu that, when either this or the other given stage complete normally, + executes the given action using defaultExecutor().
    +
    + +
    runAfterEitherSuccessAsync(CompletionStage<?> other, + Runnable action, + Executor executor)
    +
    +
    Returns a new Cffu that, when either this or the other given stage complete normally, + executes the given action using the supplied executor.
    +
    + + +
    +
    Returns the computation state, this method contains NO java version compatibility logic, + if you need this function in old java 18-, use cffuState() instead.
    +
    + +
    thenAccept(Consumer<? super T> action)
    +
    +
    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> action)
    +
    +
    Returns a new Cffu that, when this stage completes normally, + is executed using defaultExecutor(), + with this stage's result as the argument to the supplied action.
    +
    + +
    thenAcceptAsync(Consumer<? super T> action, + Executor executor)
    +
    +
    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.
    +
    +
    <U> Cffu<Void>
    +
    thenAcceptBoth(CompletionStage<? extends U> other, + BiConsumer<? super T,? super U> action)
    +
    +
    Returns a new Cffu that, when this and the other given stage both complete normally, + is executed with the two results as arguments to the supplied action.
    +
    +
    <U> Cffu<Void>
    +
    thenAcceptBothAsync(CompletionStage<? extends U> other, + BiConsumer<? super T,? super U> action)
    +
    +
    Returns a new Cffu that, when this and the other given stage both complete normally, + is executed using defaultExecutor(), with the two results as arguments to the supplied action.
    +
    +
    <U> Cffu<Void>
    +
    thenAcceptBothAsync(CompletionStage<? extends U> other, + BiConsumer<? super T,? super U> action, + Executor executor)
    +
    +
    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.
    +
    +
    <U> Cffu<Void>
    +
    thenAcceptBothFastFail(CompletionStage<? extends U> other, + BiConsumer<? super T,? super U> action)
    +
    +
    Returns a new Cffu that, when this and the other given stage both complete normally, + is executed with the two results as arguments to the supplied action.
    +
    +
    <U> Cffu<Void>
    +
    thenAcceptBothFastFailAsync(CompletionStage<? extends U> other, + BiConsumer<? super T,? super U> action)
    +
    +
    Returns a new Cffu that, when this and the other given stage both complete normally, + is executed using defaultExecutor(), with the two results as arguments to the supplied action.
    +
    +
    <U> Cffu<Void>
    +
    thenAcceptBothFastFailAsync(CompletionStage<? extends U> other, + BiConsumer<? super T,? super U> action, + Executor executor)
    +
    +
    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.
    +
    +
    <U> Cffu<U>
    +
    thenApply(Function<? super T,? extends U> fn)
    +
    +
    Returns a new Cffu that, when this stage completes normally, + is executed with this stage's result as the argument to the supplied function.
    +
    +
    <U> Cffu<U>
    +
    thenApplyAsync(Function<? super T,? extends U> fn)
    +
    +
    Returns a new Cffu that, when this stage completes normally, + is executed using defaultExecutor(), + with this stage's result as the argument to the supplied function.
    +
    +
    <U> Cffu<U>
    +
    thenApplyAsync(Function<? super T,? extends U> fn, + Executor executor)
    +
    +
    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.
    +
    +
    <U, +V> Cffu<V>
    +
    thenCombine(CompletionStage<? extends U> other, + BiFunction<? super T,? super U,? extends V> fn)
    +
    +
    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.
    +
    +
    <U, +V> Cffu<V>
    +
    thenCombineAsync(CompletionStage<? extends U> other, + BiFunction<? super T,? super U,? extends V> fn)
    +
    +
    Returns a new Cffu that, when this and the other given stage both complete normally, + is executed using defaultExecutor(), with the two results as arguments to the supplied function.
    +
    +
    <U, +V> Cffu<V>
    +
    thenCombineAsync(CompletionStage<? extends U> other, + BiFunction<? super T,? super U,? extends V> fn, + Executor executor)
    +
    +
    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.
    +
    +
    <U, +V> Cffu<V>
    +
    thenCombineFastFail(CompletionStage<? extends U> other, + BiFunction<? super T,? super U,? extends V> fn)
    +
    +
    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.
    +
    +
    <U, +V> Cffu<V>
    +
    thenCombineFastFailAsync(CompletionStage<? extends U> other, + BiFunction<? super T,? super U,? extends V> fn)
    +
    +
    Returns a new Cffu that, when this and the other given stage both complete normally, + is executed using defaultExecutor(), with the two results as arguments to the supplied function.
    +
    +
    <U, +V> Cffu<V>
    +
    thenCombineFastFailAsync(CompletionStage<? extends U> other, + BiFunction<? super T,? super U,? extends V> fn, + Executor executor)
    +
    +
    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.
    +
    +
    <U> Cffu<U>
    +
    thenCompose(Function<? super T,? extends CompletionStage<U>> fn)
    +
    +
    Returns a new Cffu that is completed with the same value + as the CompletionStage returned by the given function.
    +
    +
    <U> Cffu<U>
    +
    thenComposeAsync(Function<? super T,? extends CompletionStage<U>> fn)
    +
    +
    Returns a new Cffu that is completed with the same value as the CompletionStage + returned by the given function, executed using defaultExecutor().
    +
    +
    <U> Cffu<U>
    +
    thenComposeAsync(Function<? super T,? extends CompletionStage<U>> fn, + Executor executor)
    +
    +
    Returns a new Cffu that is completed with the same value as the CompletionStage + returned by the given function, executed using the supplied Executor.
    +
    +
    final Cffu<Void>
    +
    thenMAcceptAnyAsync(Executor executor, + Consumer<? super T>... actions)
    +
    +
    Returns a new Cffu that, when the given stage completes normally, + is executed using the given Executor, with the given stage's result as the argument to the given actions.
    +
    +
    final Cffu<Void>
    +
    thenMAcceptAnyAsync(Consumer<? super T>... actions)
    +
    +
    Returns a new Cffu that, when the given stage completes normally, + is executed using defaultExecutor(), + with the given stage's result as the argument to the given actions.
    +
    +
    final Cffu<Void>
    +
    thenMAcceptAnySuccessAsync(Executor executor, + Consumer<? super T>... actions)
    +
    +
    Returns a new Cffu that, when the given stage completes normally, + is executed using the given Executor, with the given stage's result as the argument to the given actions.
    +
    +
    final Cffu<Void>
    +
    thenMAcceptAnySuccessAsync(Consumer<? super T>... actions)
    +
    +
    Returns a new Cffu that, when the given stage completes normally, + is executed using defaultExecutor(), + with the given stage's result as the argument to the given actions.
    +
    +
    final Cffu<Void>
    +
    thenMAcceptAsync(Executor executor, + Consumer<? super T>... actions)
    +
    +
    Returns a new Cffu that, when the given stage completes normally, + is executed using the given Executor, with the given stage's result as the argument to the given actions.
    +
    +
    final Cffu<Void>
    +
    thenMAcceptAsync(Consumer<? super T>... actions)
    +
    +
    Returns a new Cffu that, when the given stage completes normally, + is executed using defaultExecutor(), + with the given stage's result as the argument to the given actions.
    +
    +
    final Cffu<Void>
    +
    thenMAcceptFastFailAsync(Executor executor, + Consumer<? super T>... actions)
    +
    +
    Returns a new Cffu that, when the given stage completes normally, + is executed using the given Executor, with the given stage's result as the argument to the given actions.
    +
    +
    final Cffu<Void>
    +
    thenMAcceptFastFailAsync(Consumer<? super T>... actions)
    +
    +
    Returns a new Cffu that, when the given stage completes normally, + is executed using defaultExecutor(), + with the given stage's result as the argument to the given actions.
    +
    +
    final <U> Cffu<List<U>>
    +
    thenMApplyAllSuccessAsync(U valueIfFailed, + Executor executor, + Function<? super T,? extends U>... fns)
    +
    +
    Returns a new Cffu that, when the given stage completes normally, + is executed in the given Executor with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    final <U> Cffu<List<U>>
    +
    thenMApplyAllSuccessAsync(U valueIfFailed, + Function<? super T,? extends U>... fns)
    +
    +
    Returns a new Cffu that, when the given stage completes normally, + is executed in the Cffu's default asynchronous execution facility + with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    final <U> Cffu<U>
    +
    thenMApplyAnyAsync(Executor executor, + Function<? super T,? extends U>... fns)
    +
    +
    Returns a new Cffu that, when the given stage completes normally, + is executed using the given Executor, with any completed result obtained by calling the given Functions + (with the given stage's result as the argument to the given functions).
    +
    +
    final <U> Cffu<U>
    +
    thenMApplyAnyAsync(Function<? super T,? extends U>... fns)
    +
    +
    Returns a new Cffu that, when the given stage completes normally, + is executed using the Cffu's default asynchronous execution facility, + with any completed result obtained by calling the given Functions + (with the given stage's result as the argument to the given functions).
    +
    +
    final <U> Cffu<U>
    +
    thenMApplyAnySuccessAsync(Executor executor, + Function<? super T,? extends U>... fns)
    +
    +
    Returns a new Cffu that, when the given stage completes normally, + is executed using the given Executor, with any successful value obtained by calling the given Functions + (with the given stage's result as the argument to the given functions).
    +
    +
    final <U> Cffu<U>
    +
    thenMApplyAnySuccessAsync(Function<? super T,? extends U>... fns)
    +
    +
    Returns a new Cffu that, when the given stage completes normally, + is executed using the Cffu's default asynchronous execution facility, + with any successful value obtained by calling the given Functions + (with the given stage's result as the argument to the given functions).
    +
    +
    final <U> Cffu<List<U>>
    +
    thenMApplyAsync(Executor executor, + Function<? super T,? extends U>... fns)
    +
    +
    Returns a new Cffu that, when the given stage completes normally, + is executed using the given Executor, with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    final <U> Cffu<List<U>>
    +
    thenMApplyAsync(Function<? super T,? extends U>... fns)
    +
    +
    Returns a new Cffu that, when the given stage completes normally, + is executed using defaultExecutor(), + with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    final <U> Cffu<List<U>>
    +
    thenMApplyFastFailAsync(Executor executor, + Function<? super T,? extends U>... fns)
    +
    +
    Returns a new Cffu that, when the given stage completes normally, + is executed using the given Executor, with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    final <U> Cffu<List<U>>
    +
    thenMApplyFastFailAsync(Function<? super T,? extends U>... fns)
    +
    +
    Returns a new Cffu that, when the given stage completes normally, + is executed using defaultExecutor(), + with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    final <U> Cffu<List<U>>
    +
    thenMApplyMostSuccessAsync(U valueIfNotSuccess, + long timeout, + TimeUnit unit, + Function<? super T,? extends U>... fns)
    +
    +
    Returns a new Cffu that, when the given stage completes normally, + is executed using defaultExecutor(), + with the most values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Functions arguments.
    +
    +
    final <U> Cffu<List<U>>
    +
    thenMApplyMostSuccessAsync(U valueIfNotSuccess, + Executor executor, + long timeout, + TimeUnit unit, + Function<? super T,? extends U>... fns)
    +
    +
    Returns a new Cffu that, when the given stage completes normally, + is executed using the given Executor, with the most values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Functions arguments.
    +
    + + +
    +
    Returns a new Cffu that, when the given stage completes normally, + executes using defaultExecutor(),
    +
    + +
    thenMRunAnyAsync(Executor executor, + Runnable... actions)
    +
    +
    Returns a new Cffu that, when the given stage completes normally, + executes the given actions using the given Executor.
    +
    + + +
    +
    Returns a new Cffu that, when the given stage completes normally, + executes using defaultExecutor(),
    +
    + +
    thenMRunAnySuccessAsync(Executor executor, + Runnable... actions)
    +
    +
    Returns a new Cffu that, when the given stage completes normally, + executes the given actions using the given Executor.
    +
    + +
    thenMRunAsync(Runnable... actions)
    +
    +
    Returns a new Cffu that, when the given stage completes normally, + executes the given actions using defaultExecutor().
    +
    + +
    thenMRunAsync(Executor executor, + Runnable... actions)
    +
    +
    Returns a new Cffu that, when the given stage completes normally, + executes the given actions using the given Executor.
    +
    + + +
    +
    Returns a new Cffu that, when the given stage completes normally, + executes using defaultExecutor(),
    +
    + +
    thenMRunFastFailAsync(Executor executor, + Runnable... actions)
    +
    +
    Returns a new Cffu that, when the given stage completes normally, + executes the given actions using the given Executor.
    +
    + +
    thenRun(Runnable action)
    +
    +
    Returns a new Cffu that, when this stage completes normally, executes the given action.
    +
    + + +
    +
    Returns a new Cffu that, when this stage completes normally, + executes the given action using defaultExecutor().
    +
    + +
    thenRunAsync(Runnable action, + Executor executor)
    +
    +
    Returns a new Cffu that, when this stage completes normally, + executes the given action using the supplied Executor.
    +
    +
    <U1, +U2> Cffu<Tuple2<U1,U2>>
    +
    thenTupleMApplyAllSuccessAsync(Executor executor, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, + with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions).
    +
    +
    <U1, +U2, +U3>
    Cffu<Tuple3<U1,U2,U3>>
    +
    thenTupleMApplyAllSuccessAsync(Executor executor, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, + with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions).
    +
    +
    <U1, +U2, +U3, +U4>
    Cffu<Tuple4<U1,U2,U3,U4>>
    +
    thenTupleMApplyAllSuccessAsync(Executor executor, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, + with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions).
    +
    +
    <U1, +U2, +U3, +U4, +U5>
    Cffu<Tuple5<U1,U2,U3,U4,U5>>
    +
    thenTupleMApplyAllSuccessAsync(Executor executor, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4, + Function<? super T,? extends U5> fn5)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, + with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions).
    +
    +
    <U1, +U2> Cffu<Tuple2<U1,U2>>
    +
    thenTupleMApplyAllSuccessAsync(Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the defaultExecutor(), + with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions).
    +
    +
    <U1, +U2, +U3>
    Cffu<Tuple3<U1,U2,U3>>
    +
    thenTupleMApplyAllSuccessAsync(Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the defaultExecutor(), + with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions).
    +
    +
    <U1, +U2, +U3, +U4>
    Cffu<Tuple4<U1,U2,U3,U4>>
    +
    thenTupleMApplyAllSuccessAsync(Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the defaultExecutor(), + with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions).
    +
    +
    <U1, +U2, +U3, +U4, +U5>
    Cffu<Tuple5<U1,U2,U3,U4,U5>>
    +
    thenTupleMApplyAllSuccessAsync(Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4, + Function<? super T,? extends U5> fn5)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the defaultExecutor(), + with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions).
    +
    +
    <U1, +U2> Cffu<Tuple2<U1,U2>>
    +
    thenTupleMApplyAsync(Executor executor, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    <U1, +U2, +U3>
    Cffu<Tuple3<U1,U2,U3>>
    +
    thenTupleMApplyAsync(Executor executor, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    <U1, +U2, +U3, +U4>
    Cffu<Tuple4<U1,U2,U3,U4>>
    +
    thenTupleMApplyAsync(Executor executor, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    <U1, +U2, +U3, +U4, +U5>
    Cffu<Tuple5<U1,U2,U3,U4,U5>>
    +
    thenTupleMApplyAsync(Executor executor, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4, + Function<? super T,? extends U5> fn5)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    <U1, +U2> Cffu<Tuple2<U1,U2>>
    +
    thenTupleMApplyAsync(Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the defaultExecutor(), + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    <U1, +U2, +U3>
    Cffu<Tuple3<U1,U2,U3>>
    +
    thenTupleMApplyAsync(Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the defaultExecutor(), + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    <U1, +U2, +U3, +U4>
    Cffu<Tuple4<U1,U2,U3,U4>>
    +
    thenTupleMApplyAsync(Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the defaultExecutor(), + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    <U1, +U2, +U3, +U4, +U5>
    Cffu<Tuple5<U1,U2,U3,U4,U5>>
    +
    thenTupleMApplyAsync(Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4, + Function<? super T,? extends U5> fn5)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the defaultExecutor(), + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    <U1, +U2> Cffu<Tuple2<U1,U2>>
    +
    thenTupleMApplyFastFailAsync(Executor executor, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    <U1, +U2, +U3>
    Cffu<Tuple3<U1,U2,U3>>
    +
    thenTupleMApplyFastFailAsync(Executor executor, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    <U1, +U2, +U3, +U4>
    Cffu<Tuple4<U1,U2,U3,U4>>
    +
    thenTupleMApplyFastFailAsync(Executor executor, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    <U1, +U2, +U3, +U4, +U5>
    Cffu<Tuple5<U1,U2,U3,U4,U5>>
    +
    thenTupleMApplyFastFailAsync(Executor executor, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4, + Function<? super T,? extends U5> fn5)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    <U1, +U2> Cffu<Tuple2<U1,U2>>
    +
    thenTupleMApplyFastFailAsync(Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the defaultExecutor(), + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    <U1, +U2, +U3>
    Cffu<Tuple3<U1,U2,U3>>
    +
    thenTupleMApplyFastFailAsync(Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the defaultExecutor(), + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    <U1, +U2, +U3, +U4>
    Cffu<Tuple4<U1,U2,U3,U4>>
    +
    thenTupleMApplyFastFailAsync(Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the defaultExecutor(), + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    <U1, +U2, +U3, +U4, +U5>
    Cffu<Tuple5<U1,U2,U3,U4,U5>>
    +
    thenTupleMApplyFastFailAsync(Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4, + Function<? super T,? extends U5> fn5)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the defaultExecutor(), + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    <U1, +U2> Cffu<Tuple2<U1,U2>>
    +
    thenTupleMApplyMostSuccessAsync(long timeout, + TimeUnit unit, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the defaultExecutor(), + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    <U1, +U2, +U3>
    Cffu<Tuple3<U1,U2,U3>>
    +
    thenTupleMApplyMostSuccessAsync(long timeout, + TimeUnit unit, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the defaultExecutor(), + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    <U1, +U2, +U3, +U4>
    Cffu<Tuple4<U1,U2,U3,U4>>
    +
    thenTupleMApplyMostSuccessAsync(long timeout, + TimeUnit unit, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the defaultExecutor(), + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    <U1, +U2, +U3, +U4, +U5>
    Cffu<Tuple5<U1,U2,U3,U4,U5>>
    +
    thenTupleMApplyMostSuccessAsync(long timeout, + TimeUnit unit, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4, + Function<? super T,? extends U5> fn5)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the defaultExecutor(), + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    <U1, +U2> Cffu<Tuple2<U1,U2>>
    +
    thenTupleMApplyMostSuccessAsync(Executor executor, + long timeout, + TimeUnit unit, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    <U1, +U2, +U3>
    Cffu<Tuple3<U1,U2,U3>>
    +
    thenTupleMApplyMostSuccessAsync(Executor executor, + long timeout, + TimeUnit unit, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    <U1, +U2, +U3, +U4>
    Cffu<Tuple4<U1,U2,U3,U4>>
    +
    thenTupleMApplyMostSuccessAsync(Executor executor, + long timeout, + TimeUnit unit, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    <U1, +U2, +U3, +U4, +U5>
    Cffu<Tuple5<U1,U2,U3,U4,U5>>
    +
    thenTupleMApplyMostSuccessAsync(Executor executor, + long timeout, + TimeUnit unit, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4, + Function<? super T,? extends U5> fn5)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    + + +
    +
    Returns a CompletableFuture maintaining the same completion properties as this Cffu.
    +
    + + +
    +
    Returns a string identifying this Cffu, as well as its completion state.
    +
    + +
    unsafeCompleteOnTimeout(T value, + long timeout, + TimeUnit unit)
    +
    +
    Completes this Cffu with the given value if not otherwise completed before the given timeout.
    +
    + +
    unsafeOrTimeout(long timeout, + TimeUnit unit)
    +
    +
    Exceptionally completes this Cffu with a TimeoutException + if not otherwise completed before the given timeout.
    +
    + +
    whenComplete(BiConsumer<? super T,? super Throwable> action)
    +
    +
    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> action)
    +
    +
    Returns a new Cffu with the same result or exception as this stage, + that executes the given action using defaultExecutor() + when this stage completes.
    +
    + +
    whenCompleteAsync(BiConsumer<? super T,? super Throwable> action, + Executor executor)
    +
    +
    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.
    +
    +
    +
    +
    +
    +

    Methods inherited from class java.lang.Object

    +clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    +
    +
  • +
+
+
+
    + +
  • +
    +

    Method Details

    +
      +
    • +
      +

      thenApply

      +
      @CheckReturnValue(explanation="should use the returned Cffu; otherwise, prefer method `thenRun`") +public <U> Cffu<U> thenApply(Function<? super T,? extends U> fn)
      +
      Returns a new Cffu that, when this stage completes normally, + is executed with this stage's result as the argument to the supplied function. +

      + This method is analogous to Optional.map and + Stream.map. +

      + See the CompletionStage documentation for rules + covering exceptional completion.

      +
      +
      Specified by:
      +
      thenApply in interface CompletionStage<T>
      +
      Type Parameters:
      +
      U - the function's return type
      +
      Parameters:
      +
      fn - the function to use to compute the value of the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenApplyAsync

      +
      @CheckReturnValue(explanation="should use the returned Cffu; otherwise, prefer method `thenRunAsync`") +public <U> Cffu<U> thenApplyAsync(Function<? super T,? extends U> fn)
      +
      Returns a new Cffu that, when this stage completes normally, + is executed using defaultExecutor(), + with this stage's result as the argument to the supplied function. +

      + See the CompletionStage documentation for rules covering exceptional completion.

      +
      +
      Specified by:
      +
      thenApplyAsync in interface CompletionStage<T>
      +
      Type Parameters:
      +
      U - the function's return type
      +
      Parameters:
      +
      fn - the function to use to compute the value of the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenApplyAsync

      +
      @CheckReturnValue(explanation="should use the returned Cffu; otherwise, prefer method `thenRunAsync`") +public <U> Cffu<U> thenApplyAsync(Function<? super T,? extends U> fn, + Executor executor)
      +
      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. +

      + See the CompletionStage documentation for rules covering exceptional completion.

      +
      +
      Specified by:
      +
      thenApplyAsync in interface CompletionStage<T>
      +
      Type Parameters:
      +
      U - the function's return type
      +
      Parameters:
      +
      fn - the function to use to compute the value of the returned Cffu
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenAccept

      +
      public Cffu<Void> thenAccept(Consumer<? super T> action)
      +
      Returns a new Cffu that, when this stage completes normally, + is executed with this stage's result as the argument to the supplied action. +

      + See the CompletionStage documentation for rules covering exceptional completion.

      +
      +
      Specified by:
      +
      thenAccept in interface CompletionStage<T>
      +
      Parameters:
      +
      action - the action to perform before completing the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenAcceptAsync

      +
      public Cffu<Void> thenAcceptAsync(Consumer<? super T> action)
      +
      Returns a new Cffu that, when this stage completes normally, + is executed using defaultExecutor(), + with this stage's result as the argument to the supplied action. +

      + See the CompletionStage documentation for rules covering exceptional completion.

      +
      +
      Specified by:
      +
      thenAcceptAsync in interface CompletionStage<T>
      +
      Parameters:
      +
      action - the action to perform before completing the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenAcceptAsync

      +
      public Cffu<Void> thenAcceptAsync(Consumer<? super T> action, + Executor executor)
      +
      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. +

      + See the CompletionStage documentation for rules covering exceptional completion.

      +
      +
      Specified by:
      +
      thenAcceptAsync in interface CompletionStage<T>
      +
      Parameters:
      +
      action - the action to perform before completing the returned Cffu
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenRun

      +
      public Cffu<Void> thenRun(Runnable action)
      +
      Returns a new Cffu that, when this stage completes normally, executes the given action. +

      + See the CompletionStage documentation for rules covering exceptional completion.

      +
      +
      Specified by:
      +
      thenRun in interface CompletionStage<T>
      +
      Parameters:
      +
      action - the action to perform before completing the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenRunAsync

      +
      public Cffu<Void> thenRunAsync(Runnable action)
      +
      Returns a new Cffu that, when this stage completes normally, + executes the given action using defaultExecutor(). +

      + See the CompletionStage documentation for rules covering exceptional completion.

      +
      +
      Specified by:
      +
      thenRunAsync in interface CompletionStage<T>
      +
      Parameters:
      +
      action - the action to perform before completing the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenRunAsync

      +
      public Cffu<Void> thenRunAsync(Runnable action, + Executor executor)
      +
      Returns a new Cffu that, when this stage completes normally, + executes the given action using the supplied Executor. +

      + See the CompletionStage documentation for rules covering exceptional completion.

      +
      +
      Specified by:
      +
      thenRunAsync in interface CompletionStage<T>
      +
      Parameters:
      +
      action - the action to perform before completing the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenMApplyFastFailAsync

      +
      @SafeVarargs +public final <U> Cffu<List<U>> thenMApplyFastFailAsync(Function<? super T,? extends U>... fns)
      +
      Returns a new Cffu that, when the given stage completes normally, + is executed using defaultExecutor(), + with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
      +
      +
      Type Parameters:
      +
      U - the functions' return type
      +
      Parameters:
      +
      fns - the functions to use to compute the values of the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenMApplyFastFailAsync

      +
      @SafeVarargs +public final <U> Cffu<List<U>> thenMApplyFastFailAsync(Executor executor, + Function<? super T,? extends U>... fns)
      +
      Returns a new Cffu that, when the given stage completes normally, + is executed using the given Executor, with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
      +
      +
      Type Parameters:
      +
      U - the functions' return type
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      fns - the functions to use to compute the values of the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenMApplyAllSuccessAsync

      +
      @SafeVarargs +public final <U> Cffu<List<U>> thenMApplyAllSuccessAsync(@Nullable + U valueIfFailed, + Function<? super T,? extends U>... fns)
      +
      Returns a new Cffu that, when the given stage completes normally, + is executed in the Cffu's default asynchronous execution facility + with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments. +

      + If any of the provided functions fails, its corresponding position will contain valueIfFailed.

      +
      +
      Type Parameters:
      +
      U - the functions' return type
      +
      Parameters:
      +
      valueIfFailed - the value to return if not completed successfully
      +
      fns - the functions to use to compute the values of the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenMApplyAllSuccessAsync

      +
      @SafeVarargs +public final <U> Cffu<List<U>> thenMApplyAllSuccessAsync(@Nullable + U valueIfFailed, + Executor executor, + Function<? super T,? extends U>... fns)
      +
      Returns a new Cffu that, when the given stage completes normally, + is executed in the given Executor with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments. +

      + If any of the provided functions fails, its corresponding position will contain valueIfFailed.

      +
      +
      Type Parameters:
      +
      U - the functions' return type
      +
      Parameters:
      +
      valueIfFailed - the value to return if not completed successfully
      +
      fns - the functions to use to compute the values of the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenMApplyMostSuccessAsync

      +
      @SafeVarargs +public final <U> Cffu<List<U>> thenMApplyMostSuccessAsync(@Nullable + U valueIfNotSuccess, + long timeout, + TimeUnit unit, + Function<? super T,? extends U>... fns)
      +
      Returns a new Cffu that, when the given stage completes normally, + is executed using defaultExecutor(), + with the most values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Functions arguments. +

      + If any of the provided functions does not success(fails or incomplete) in given time, + its corresponding position will contain valueIfNotSuccess.

      +
      +
      Type Parameters:
      +
      U - the functions' return type
      +
      Parameters:
      +
      valueIfNotSuccess - the value to return if not completed successfully
      +
      timeout - how long to wait in units of unit
      +
      unit - a TimeUnit determining how to interpret the timeout parameter
      +
      fns - the functions to use to compute the values of the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenMApplyMostSuccessAsync

      +
      @SafeVarargs +public final <U> Cffu<List<U>> thenMApplyMostSuccessAsync(@Nullable + U valueIfNotSuccess, + Executor executor, + long timeout, + TimeUnit unit, + Function<? super T,? extends U>... fns)
      +
      Returns a new Cffu that, when the given stage completes normally, + is executed using the given Executor, with the most values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Functions arguments. +

      + If any of the provided functions does not success(fails or incomplete) in given time, + its corresponding position will contain valueIfNotSuccess.

      +
      +
      Type Parameters:
      +
      U - the functions' return type
      +
      Parameters:
      +
      valueIfNotSuccess - the value to return if not completed successfully
      +
      executor - the executor to use for asynchronous execution
      +
      timeout - how long to wait in units of unit
      +
      unit - a TimeUnit determining how to interpret the timeout parameter
      +
      fns - the functions to use to compute the values of the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenMApplyAsync

      +
      @SafeVarargs +public final <U> Cffu<List<U>> thenMApplyAsync(Function<? super T,? extends U>... fns)
      +
      Returns a new Cffu that, when the given stage completes normally, + is executed using defaultExecutor(), + with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
      +
      +
      Type Parameters:
      +
      U - the functions' return type
      +
      Parameters:
      +
      fns - the functions to use to compute the values of the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenMApplyAsync

      +
      @SafeVarargs +public final <U> Cffu<List<U>> thenMApplyAsync(Executor executor, + Function<? super T,? extends U>... fns)
      +
      Returns a new Cffu that, when the given stage completes normally, + is executed using the given Executor, with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
      +
      +
      Type Parameters:
      +
      U - the functions' return type
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      fns - the functions to use to compute the values of the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenMApplyAnySuccessAsync

      +
      @SafeVarargs +public final <U> Cffu<U> thenMApplyAnySuccessAsync(Function<? super T,? extends U>... fns)
      +
      Returns a new Cffu that, when the given stage completes normally, + is executed using the Cffu's default asynchronous execution facility, + with any successful value obtained by calling the given Functions + (with the given stage's result as the argument to the given functions).
      +
      +
      Type Parameters:
      +
      U - the functions' return type
      +
      Parameters:
      +
      fns - the functions to use to compute the values of the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenMApplyAnySuccessAsync

      +
      @SafeVarargs +public final <U> Cffu<U> thenMApplyAnySuccessAsync(Executor executor, + Function<? super T,? extends U>... fns)
      +
      Returns a new Cffu that, when the given stage completes normally, + is executed using the given Executor, with any successful value obtained by calling the given Functions + (with the given stage's result as the argument to the given functions).
      +
      +
      Type Parameters:
      +
      U - the functions' return type
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      fns - the functions to use to compute the values of the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenMApplyAnyAsync

      +
      @SafeVarargs +public final <U> Cffu<U> thenMApplyAnyAsync(Function<? super T,? extends U>... fns)
      +
      Returns a new Cffu that, when the given stage completes normally, + is executed using the Cffu's default asynchronous execution facility, + with any completed result obtained by calling the given Functions + (with the given stage's result as the argument to the given functions).
      +
      +
      Type Parameters:
      +
      U - the functions' return type
      +
      Parameters:
      +
      fns - the functions to use to compute the values of the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenMApplyAnyAsync

      +
      @SafeVarargs +public final <U> Cffu<U> thenMApplyAnyAsync(Executor executor, + Function<? super T,? extends U>... fns)
      +
      Returns a new Cffu that, when the given stage completes normally, + is executed using the given Executor, with any completed result obtained by calling the given Functions + (with the given stage's result as the argument to the given functions).
      +
      +
      Type Parameters:
      +
      U - the functions' return type
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      fns - the functions to use to compute the values of the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenMAcceptFastFailAsync

      +
      @SafeVarargs +public final Cffu<Void> thenMAcceptFastFailAsync(Consumer<? super T>... actions)
      +
      Returns a new Cffu that, when the given stage completes normally, + is executed using defaultExecutor(), + with the given stage's result as the argument to the given actions.
      +
      +
      Parameters:
      +
      actions - the actions to perform before completing the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenMAcceptFastFailAsync

      +
      @SafeVarargs +public final Cffu<Void> thenMAcceptFastFailAsync(Executor executor, + Consumer<? super T>... actions)
      +
      Returns a new Cffu that, when the given stage completes normally, + is executed using the given Executor, with the given stage's result as the argument to the given actions.
      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      actions - the actions to perform before completing the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenMAcceptAsync

      +
      @SafeVarargs +public final Cffu<Void> thenMAcceptAsync(Consumer<? super T>... actions)
      +
      Returns a new Cffu that, when the given stage completes normally, + is executed using defaultExecutor(), + with the given stage's result as the argument to the given actions.
      +
      +
      Parameters:
      +
      actions - the actions to perform before completing the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenMAcceptAsync

      +
      @SafeVarargs +public final Cffu<Void> thenMAcceptAsync(Executor executor, + Consumer<? super T>... actions)
      +
      Returns a new Cffu that, when the given stage completes normally, + is executed using the given Executor, with the given stage's result as the argument to the given actions.
      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      actions - the actions to perform before completing the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenMAcceptAnySuccessAsync

      +
      @SafeVarargs +public final Cffu<Void> thenMAcceptAnySuccessAsync(Consumer<? super T>... actions)
      +
      Returns a new Cffu that, when the given stage completes normally, + is executed using defaultExecutor(), + with the given stage's result as the argument to the given actions.
      +
      +
      Parameters:
      +
      actions - the actions to perform before completing the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenMAcceptAnySuccessAsync

      +
      @SafeVarargs +public final Cffu<Void> thenMAcceptAnySuccessAsync(Executor executor, + Consumer<? super T>... actions)
      +
      Returns a new Cffu that, when the given stage completes normally, + is executed using the given Executor, with the given stage's result as the argument to the given actions.
      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      actions - the actions to perform before completing the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenMAcceptAnyAsync

      +
      @SafeVarargs +public final Cffu<Void> thenMAcceptAnyAsync(Consumer<? super T>... actions)
      +
      Returns a new Cffu that, when the given stage completes normally, + is executed using defaultExecutor(), + with the given stage's result as the argument to the given actions.
      +
      +
      Parameters:
      +
      actions - the actions to perform before completing the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenMAcceptAnyAsync

      +
      @SafeVarargs +public final Cffu<Void> thenMAcceptAnyAsync(Executor executor, + Consumer<? super T>... actions)
      +
      Returns a new Cffu that, when the given stage completes normally, + is executed using the given Executor, with the given stage's result as the argument to the given actions.
      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      actions - the actions to perform before completing the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenMRunFastFailAsync

      +
      public Cffu<Void> thenMRunFastFailAsync(Runnable... actions)
      +
      Returns a new Cffu that, when the given stage completes normally, + executes using defaultExecutor(),
      +
      +
      Parameters:
      +
      actions - the actions to perform before completing the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenMRunFastFailAsync

      +
      public Cffu<Void> thenMRunFastFailAsync(Executor executor, + Runnable... actions)
      +
      Returns a new Cffu that, when the given stage completes normally, + executes the given actions using the given Executor.
      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      actions - the actions to perform before completing the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenMRunAsync

      +
      public Cffu<Void> thenMRunAsync(Runnable... actions)
      +
      Returns a new Cffu that, when the given stage completes normally, + executes the given actions using defaultExecutor().
      +
      +
      Parameters:
      +
      actions - the actions to perform before completing the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenMRunAsync

      +
      public Cffu<Void> thenMRunAsync(Executor executor, + Runnable... actions)
      +
      Returns a new Cffu that, when the given stage completes normally, + executes the given actions using the given Executor.
      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      actions - the actions to perform before completing the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenMRunAnySuccessAsync

      +
      public Cffu<Void> thenMRunAnySuccessAsync(Runnable... actions)
      +
      Returns a new Cffu that, when the given stage completes normally, + executes using defaultExecutor(),
      +
      +
      Parameters:
      +
      actions - the actions to perform before completing the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenMRunAnySuccessAsync

      +
      public Cffu<Void> thenMRunAnySuccessAsync(Executor executor, + Runnable... actions)
      +
      Returns a new Cffu that, when the given stage completes normally, + executes the given actions using the given Executor.
      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      actions - the actions to perform before completing the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenMRunAnyAsync

      +
      public Cffu<Void> thenMRunAnyAsync(Runnable... actions)
      +
      Returns a new Cffu that, when the given stage completes normally, + executes using defaultExecutor(),
      +
      +
      Parameters:
      +
      actions - the actions to perform before completing the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenMRunAnyAsync

      +
      public Cffu<Void> thenMRunAnyAsync(Executor executor, + Runnable... actions)
      +
      Returns a new Cffu that, when the given stage completes normally, + executes the given actions using the given Executor.
      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      actions - the actions to perform before completing the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenTupleMApplyFastFailAsync

      +
      public <U1, +U2> Cffu<Tuple2<U1,U2>> thenTupleMApplyFastFailAsync(Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2)
      +
      Returns a new Cffu that, when this Cffu completes normally, is executed using the defaultExecutor(), + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
      +
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenTupleMApplyFastFailAsync

      +
      public <U1, +U2> Cffu<Tuple2<U1,U2>> thenTupleMApplyFastFailAsync(Executor executor, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2)
      +
      Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenTupleMApplyFastFailAsync

      +
      public <U1, +U2, +U3> Cffu<Tuple3<U1,U2,U3>> thenTupleMApplyFastFailAsync(Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3)
      +
      Returns a new Cffu that, when this Cffu completes normally, is executed using the defaultExecutor(), + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
      +
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenTupleMApplyFastFailAsync

      +
      public <U1, +U2, +U3> Cffu<Tuple3<U1,U2,U3>> thenTupleMApplyFastFailAsync(Executor executor, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3)
      +
      Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenTupleMApplyFastFailAsync

      +
      public <U1, +U2, +U3, +U4> Cffu<Tuple4<U1,U2,U3,U4>> thenTupleMApplyFastFailAsync(Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4)
      +
      Returns a new Cffu that, when this Cffu completes normally, is executed using the defaultExecutor(), + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
      +
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenTupleMApplyFastFailAsync

      +
      public <U1, +U2, +U3, +U4> Cffu<Tuple4<U1,U2,U3,U4>> thenTupleMApplyFastFailAsync(Executor executor, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4)
      +
      Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenTupleMApplyFastFailAsync

      +
      public <U1, +U2, +U3, +U4, +U5> +Cffu<Tuple5<U1,U2,U3,U4,U5>> thenTupleMApplyFastFailAsync(Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4, + Function<? super T,? extends U5> fn5)
      +
      Returns a new Cffu that, when this Cffu completes normally, is executed using the defaultExecutor(), + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
      +
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenTupleMApplyFastFailAsync

      +
      public <U1, +U2, +U3, +U4, +U5> +Cffu<Tuple5<U1,U2,U3,U4,U5>> thenTupleMApplyFastFailAsync(Executor executor, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4, + Function<? super T,? extends U5> fn5)
      +
      Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenTupleMApplyAllSuccessAsync

      +
      public <U1, +U2> Cffu<Tuple2<U1,U2>> thenTupleMApplyAllSuccessAsync(Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2)
      +
      Returns a new Cffu that, when this Cffu completes normally, is executed using the defaultExecutor(), + with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions). +

      + If any of the provided functions fails, its corresponding position will contain null + (which is indistinguishable from the function having a successful value of null).

      +
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenTupleMApplyAllSuccessAsync

      +
      public <U1, +U2> Cffu<Tuple2<U1,U2>> thenTupleMApplyAllSuccessAsync(Executor executor, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2)
      +
      Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, + with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions). +

      + If any of the provided functions fails, its corresponding position will contain null + (which is indistinguishable from the function having a successful value of null).

      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenTupleMApplyAllSuccessAsync

      +
      public <U1, +U2, +U3> Cffu<Tuple3<U1,U2,U3>> thenTupleMApplyAllSuccessAsync(Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3)
      +
      Returns a new Cffu that, when this Cffu completes normally, is executed using the defaultExecutor(), + with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions). +

      + If any of the provided functions fails, its corresponding position will contain null + (which is indistinguishable from the function having a successful value of null).

      +
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenTupleMApplyAllSuccessAsync

      +
      public <U1, +U2, +U3> Cffu<Tuple3<U1,U2,U3>> thenTupleMApplyAllSuccessAsync(Executor executor, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3)
      +
      Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, + with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions). +

      + If any of the provided functions fails, its corresponding position will contain null + (which is indistinguishable from the function having a successful value of null).

      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenTupleMApplyAllSuccessAsync

      +
      public <U1, +U2, +U3, +U4> Cffu<Tuple4<U1,U2,U3,U4>> thenTupleMApplyAllSuccessAsync(Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4)
      +
      Returns a new Cffu that, when this Cffu completes normally, is executed using the defaultExecutor(), + with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions). +

      + If any of the provided functions fails, its corresponding position will contain null + (which is indistinguishable from the function having a successful value of null).

      +
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenTupleMApplyAllSuccessAsync

      +
      public <U1, +U2, +U3, +U4> Cffu<Tuple4<U1,U2,U3,U4>> thenTupleMApplyAllSuccessAsync(Executor executor, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4)
      +
      Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, + with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions). +

      + If any of the provided functions fails, its corresponding position will contain null + (which is indistinguishable from the function having a successful value of null).

      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenTupleMApplyAllSuccessAsync

      +
      public <U1, +U2, +U3, +U4, +U5> +Cffu<Tuple5<U1,U2,U3,U4,U5>> thenTupleMApplyAllSuccessAsync(Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4, + Function<? super T,? extends U5> fn5)
      +
      Returns a new Cffu that, when this Cffu completes normally, is executed using the defaultExecutor(), + with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions). +

      + If any of the provided functions fails, its corresponding position will contain null + (which is indistinguishable from the function having a successful value of null).

      +
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenTupleMApplyAllSuccessAsync

      +
      public <U1, +U2, +U3, +U4, +U5> +Cffu<Tuple5<U1,U2,U3,U4,U5>> thenTupleMApplyAllSuccessAsync(Executor executor, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4, + Function<? super T,? extends U5> fn5)
      +
      Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, + with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions). +

      + If any of the provided functions fails, its corresponding position will contain null + (which is indistinguishable from the function having a successful value of null).

      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenTupleMApplyMostSuccessAsync

      +
      public <U1, +U2> Cffu<Tuple2<U1,U2>> thenTupleMApplyMostSuccessAsync(long timeout, + TimeUnit unit, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2)
      +
      Returns a new Cffu that, when this Cffu completes normally, is executed using the defaultExecutor(), + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
      +
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenTupleMApplyMostSuccessAsync

      +
      public <U1, +U2> Cffu<Tuple2<U1,U2>> thenTupleMApplyMostSuccessAsync(Executor executor, + long timeout, + TimeUnit unit, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2)
      +
      Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenTupleMApplyMostSuccessAsync

      +
      public <U1, +U2, +U3> Cffu<Tuple3<U1,U2,U3>> thenTupleMApplyMostSuccessAsync(long timeout, + TimeUnit unit, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3)
      +
      Returns a new Cffu that, when this Cffu completes normally, is executed using the defaultExecutor(), + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
      +
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenTupleMApplyMostSuccessAsync

      +
      public <U1, +U2, +U3> Cffu<Tuple3<U1,U2,U3>> thenTupleMApplyMostSuccessAsync(Executor executor, + long timeout, + TimeUnit unit, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3)
      +
      Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenTupleMApplyMostSuccessAsync

      +
      public <U1, +U2, +U3, +U4> Cffu<Tuple4<U1,U2,U3,U4>> thenTupleMApplyMostSuccessAsync(long timeout, + TimeUnit unit, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4)
      +
      Returns a new Cffu that, when this Cffu completes normally, is executed using the defaultExecutor(), + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
      +
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenTupleMApplyMostSuccessAsync

      +
      public <U1, +U2, +U3, +U4> Cffu<Tuple4<U1,U2,U3,U4>> thenTupleMApplyMostSuccessAsync(Executor executor, + long timeout, + TimeUnit unit, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4)
      +
      Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenTupleMApplyMostSuccessAsync

      +
      public <U1, +U2, +U3, +U4, +U5> +Cffu<Tuple5<U1,U2,U3,U4,U5>> thenTupleMApplyMostSuccessAsync(long timeout, + TimeUnit unit, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4, + Function<? super T,? extends U5> fn5)
      +
      Returns a new Cffu that, when this Cffu completes normally, is executed using the defaultExecutor(), + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
      +
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenTupleMApplyMostSuccessAsync

      +
      public <U1, +U2, +U3, +U4, +U5> +Cffu<Tuple5<U1,U2,U3,U4,U5>> thenTupleMApplyMostSuccessAsync(Executor executor, + long timeout, + TimeUnit unit, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4, + Function<? super T,? extends U5> fn5)
      +
      Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenTupleMApplyAsync

      +
      public <U1, +U2> Cffu<Tuple2<U1,U2>> thenTupleMApplyAsync(Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2)
      +
      Returns a new Cffu that, when this Cffu completes normally, is executed using the defaultExecutor(), + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
      +
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenTupleMApplyAsync

      +
      public <U1, +U2> Cffu<Tuple2<U1,U2>> thenTupleMApplyAsync(Executor executor, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2)
      +
      Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenTupleMApplyAsync

      +
      public <U1, +U2, +U3> Cffu<Tuple3<U1,U2,U3>> thenTupleMApplyAsync(Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3)
      +
      Returns a new Cffu that, when this Cffu completes normally, is executed using the defaultExecutor(), + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
      +
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenTupleMApplyAsync

      +
      public <U1, +U2, +U3> Cffu<Tuple3<U1,U2,U3>> thenTupleMApplyAsync(Executor executor, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3)
      +
      Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenTupleMApplyAsync

      +
      public <U1, +U2, +U3, +U4> Cffu<Tuple4<U1,U2,U3,U4>> thenTupleMApplyAsync(Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4)
      +
      Returns a new Cffu that, when this Cffu completes normally, is executed using the defaultExecutor(), + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
      +
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenTupleMApplyAsync

      +
      public <U1, +U2, +U3, +U4> Cffu<Tuple4<U1,U2,U3,U4>> thenTupleMApplyAsync(Executor executor, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4)
      +
      Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenTupleMApplyAsync

      +
      public <U1, +U2, +U3, +U4, +U5> +Cffu<Tuple5<U1,U2,U3,U4,U5>> thenTupleMApplyAsync(Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4, + Function<? super T,? extends U5> fn5)
      +
      Returns a new Cffu that, when this Cffu completes normally, is executed using the defaultExecutor(), + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
      +
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenTupleMApplyAsync

      +
      public <U1, +U2, +U3, +U4, +U5> +Cffu<Tuple5<U1,U2,U3,U4,U5>> thenTupleMApplyAsync(Executor executor, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4, + Function<? super T,? extends U5> fn5)
      +
      Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenCombineFastFail

      +
      @CheckReturnValue(explanation="should use the returned Cffu; otherwise, prefer method `thenAcceptBothFastFail`") +public <U, +V> Cffu<V> thenCombineFastFail(CompletionStage<? extends U> other, + BiFunction<? super T,? super U,? extends V> fn)
      +
      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. + if any of the given stage complete exceptionally, then the returned Cffu also does so + *without* waiting other incomplete given CompletionStage, + with a CompletionException holding this exception as its cause.
      +
      +
      Type Parameters:
      +
      U - the type of the other CompletionStage's result
      +
      V - the function's return type
      +
      Parameters:
      +
      other - the other CompletionStage
      +
      fn - the function to use to compute the value of the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenCombineFastFailAsync

      +
      @CheckReturnValue(explanation="should use the returned Cffu; otherwise, prefer method `thenAcceptBothFastFailAsync`") +public <U, +V> Cffu<V> thenCombineFastFailAsync(CompletionStage<? extends U> other, + BiFunction<? super T,? super U,? extends V> fn)
      +
      Returns a new Cffu that, when this and the other given stage both complete normally, + is executed using defaultExecutor(), with the two results as arguments to the supplied function. + if any of the given stage complete exceptionally, then the returned Cffu also does so + *without* waiting other incomplete given CompletionStage, + with a CompletionException holding this exception as its cause.
      +
      +
      Type Parameters:
      +
      U - the type of the other CompletionStage's result
      +
      V - the function's return type
      +
      Parameters:
      +
      other - the other CompletionStage
      +
      fn - the function to use to compute the value of the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenCombineFastFailAsync

      +
      @CheckReturnValue(explanation="should use the returned Cffu; otherwise, prefer method `thenAcceptBothFastFailAsync`") +public <U, +V> Cffu<V> thenCombineFastFailAsync(CompletionStage<? extends U> other, + BiFunction<? super T,? super U,? extends V> fn, + Executor executor)
      +
      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. + if any of the given stage complete exceptionally, then the returned Cffu also does so + *without* waiting other incomplete given CompletionStage, + with a CompletionException holding this exception as its cause.
      +
      +
      Type Parameters:
      +
      U - the type of the other CompletionStage's result
      +
      V - the function's return type
      +
      Parameters:
      +
      other - the other CompletionStage
      +
      fn - the function to use to compute the value of the returned Cffu
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenAcceptBothFastFail

      +
      public <U> Cffu<Void> thenAcceptBothFastFail(CompletionStage<? extends U> other, + BiConsumer<? super T,? super U> action)
      +
      Returns a new Cffu that, when this and the other given stage both complete normally, + is executed with the two results as arguments to the supplied action. + if any of the given stage complete exceptionally, then the returned Cffu also does so + *without* waiting other incomplete given CompletionStage, + with a CompletionException holding this exception as its cause.
      +
      +
      Type Parameters:
      +
      U - the type of the other CompletionStage's result
      +
      Parameters:
      +
      other - the other CompletionStage
      +
      action - the action to perform before completing the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenAcceptBothFastFailAsync

      +
      public <U> Cffu<Void> thenAcceptBothFastFailAsync(CompletionStage<? extends U> other, + BiConsumer<? super T,? super U> action)
      +
      Returns a new Cffu that, when this and the other given stage both complete normally, + is executed using defaultExecutor(), with the two results as arguments to the supplied action. + if any of the given stage complete exceptionally, then the returned Cffu also does so + *without* waiting other incomplete given CompletionStage, + with a CompletionException holding this exception as its cause.
      +
      +
      Type Parameters:
      +
      U - the type of the other CompletionStage's result
      +
      Parameters:
      +
      other - the other CompletionStage
      +
      action - the action to perform before completing the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenAcceptBothFastFailAsync

      +
      public <U> Cffu<Void> thenAcceptBothFastFailAsync(CompletionStage<? extends U> other, + BiConsumer<? super T,? super U> action, + Executor executor)
      +
      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. + if any of the given stage complete exceptionally, then the returned Cffu also does so + *without* waiting other incomplete given CompletionStage, + with a CompletionException holding this exception as its cause.
      +
      +
      Type Parameters:
      +
      U - the type of the other CompletionStage's result
      +
      Parameters:
      +
      other - the other CompletionStage
      +
      action - the action to perform before completing the returned Cffu
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      runAfterBothFastFail

      +
      public Cffu<Void> runAfterBothFastFail(CompletionStage<?> other, + Runnable action)
      +
      Returns a new Cffu that, when this and the other given stage both complete normally, executes the given action. + if any of the given stage complete exceptionally, then the returned Cffu also does so + *without* waiting other incomplete given CompletionStage, + with a CompletionException holding this exception as its cause.
      +
      +
      Parameters:
      +
      other - the other CompletionStage
      +
      action - the action to perform before completing the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      runAfterBothFastFailAsync

      +
      public Cffu<Void> runAfterBothFastFailAsync(CompletionStage<?> other, + Runnable action)
      +
      Returns a new Cffu that, when this and the other given stage both complete normally, + executes the given action using defaultExecutor(). + if any of the given stage complete exceptionally, then the returned Cffu also does so + *without* waiting other incomplete given CompletionStage, + with a CompletionException holding this exception as its cause.
      +
      +
      Parameters:
      +
      other - the other CompletionStage
      +
      action - the action to perform before completing the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      runAfterBothFastFailAsync

      +
      public Cffu<Void> runAfterBothFastFailAsync(CompletionStage<?> other, + Runnable action, + Executor executor)
      +
      Returns a new Cffu that, when this and the other given stage both complete normally, + executes the given action using the supplied executor. + if any of the given stage complete exceptionally, then the returned Cffu also does so + *without* waiting other incomplete given CompletionStage, + with a CompletionException holding this exception as its cause.
      +
      +
      Parameters:
      +
      other - the other CompletionStage
      +
      action - the action to perform before completing the returned Cffu
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenCombine

      +
      @CheckReturnValue(explanation="should use the returned Cffu; otherwise, prefer method `thenAcceptBoth`") +public <U, +V> Cffu<V> thenCombine(CompletionStage<? extends U> other, + BiFunction<? super T,? super U,? extends V> fn)
      +
      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. +

      + See the CompletionStage documentation for rules covering exceptional completion.

      +
      +
      Specified by:
      +
      thenCombine in interface CompletionStage<T>
      +
      Type Parameters:
      +
      U - the type of the other CompletionStage's result
      +
      V - the function's return type
      +
      Parameters:
      +
      other - the other CompletionStage
      +
      fn - the function to use to compute the value of the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenCombineAsync

      +
      @CheckReturnValue(explanation="should use the returned Cffu; otherwise, prefer method `thenAcceptBothAsync`") +public <U, +V> Cffu<V> thenCombineAsync(CompletionStage<? extends U> other, + BiFunction<? super T,? super U,? extends V> fn)
      +
      Returns a new Cffu that, when this and the other given stage both complete normally, + is executed using defaultExecutor(), with the two results as arguments to the supplied function. +

      + See the CompletionStage documentation for rules covering exceptional completion.

      +
      +
      Specified by:
      +
      thenCombineAsync in interface CompletionStage<T>
      +
      Type Parameters:
      +
      U - the type of the other CompletionStage's result
      +
      V - the function's return type
      +
      Parameters:
      +
      other - the other CompletionStage
      +
      fn - the function to use to compute the value of the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenCombineAsync

      +
      @CheckReturnValue(explanation="should use the returned Cffu; otherwise, prefer method `thenAcceptBothAsync`") +public <U, +V> Cffu<V> thenCombineAsync(CompletionStage<? extends U> other, + BiFunction<? super T,? super U,? extends V> fn, + Executor executor)
      +
      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. +

      + See the CompletionStage documentation for rules covering exceptional completion.

      +
      +
      Specified by:
      +
      thenCombineAsync in interface CompletionStage<T>
      +
      Type Parameters:
      +
      U - the type of the other CompletionStage's result
      +
      V - the function's return type
      +
      Parameters:
      +
      other - the other CompletionStage
      +
      fn - the function to use to compute the value of the returned Cffu
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenAcceptBoth

      +
      public <U> Cffu<Void> thenAcceptBoth(CompletionStage<? extends U> other, + BiConsumer<? super T,? super U> action)
      +
      Returns a new Cffu that, when this and the other given stage both complete normally, + is executed with the two results as arguments to the supplied action. +

      + See the CompletionStage documentation for rules covering exceptional completion.

      +
      +
      Specified by:
      +
      thenAcceptBoth in interface CompletionStage<T>
      +
      Type Parameters:
      +
      U - the type of the other CompletionStage's result
      +
      Parameters:
      +
      other - the other CompletionStage
      +
      action - the action to perform before completing the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenAcceptBothAsync

      +
      public <U> Cffu<Void> thenAcceptBothAsync(CompletionStage<? extends U> other, + BiConsumer<? super T,? super U> action)
      +
      Returns a new Cffu that, when this and the other given stage both complete normally, + is executed using defaultExecutor(), with the two results as arguments to the supplied action. +

      + See the CompletionStage documentation for rules covering exceptional completion.

      +
      +
      Specified by:
      +
      thenAcceptBothAsync in interface CompletionStage<T>
      +
      Type Parameters:
      +
      U - the type of the other CompletionStage's result
      +
      Parameters:
      +
      other - the other CompletionStage
      +
      action - the action to perform before completing the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenAcceptBothAsync

      +
      public <U> Cffu<Void> thenAcceptBothAsync(CompletionStage<? extends U> other, + BiConsumer<? super T,? super U> action, + Executor executor)
      +
      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. +

      + See the CompletionStage documentation for rules + covering exceptional completion.

      +
      +
      Specified by:
      +
      thenAcceptBothAsync in interface CompletionStage<T>
      +
      Type Parameters:
      +
      U - the type of the other CompletionStage's result
      +
      Parameters:
      +
      other - the other CompletionStage
      +
      action - the action to perform before completing the returned Cffu
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      runAfterBoth

      +
      public Cffu<Void> runAfterBoth(CompletionStage<?> other, + Runnable action)
      +
      Returns a new Cffu that, when this and the other given stage both complete normally, executes the given action. +

      + See the CompletionStage documentation for rules covering exceptional completion.

      +
      +
      Specified by:
      +
      runAfterBoth in interface CompletionStage<T>
      +
      Parameters:
      +
      other - the other CompletionStage
      +
      action - the action to perform before completing the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      runAfterBothAsync

      +
      public Cffu<Void> runAfterBothAsync(CompletionStage<?> other, + Runnable action)
      +
      Returns a new Cffu that, when this and the other given stage both complete normally, + executes the given action using defaultExecutor(). +

      + See the CompletionStage documentation for rules + covering exceptional completion.

      +
      +
      Specified by:
      +
      runAfterBothAsync in interface CompletionStage<T>
      +
      Parameters:
      +
      other - the other CompletionStage
      +
      action - the action to perform before completing the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      runAfterBothAsync

      +
      public Cffu<Void> runAfterBothAsync(CompletionStage<?> other, + Runnable action, + Executor executor)
      +
      Returns a new Cffu that, when this and the other given stage both complete normally, + executes the given action using the supplied executor. +

      + See the CompletionStage documentation for rules covering exceptional completion.

      +
      +
      Specified by:
      +
      runAfterBothAsync in interface CompletionStage<T>
      +
      Parameters:
      +
      other - the other CompletionStage
      +
      action - the action to perform before completing the returned Cffu
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      applyToEitherSuccess

      +
      @CheckReturnValue(explanation="should use the returned Cffu; otherwise, prefer method `acceptEitherSuccess`") +public <U> Cffu<U> applyToEitherSuccess(CompletionStage<? extends T> other, + Function<? super T,U> fn)
      +
      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.
      +
      +
      Type Parameters:
      +
      U - the function's return type
      +
      Parameters:
      +
      other - the other CompletionStage
      +
      fn - the function to use to compute the value of the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      applyToEitherSuccessAsync

      +
      @CheckReturnValue(explanation="should use the returned Cffu; otherwise, prefer method `acceptEitherSuccessAsync`") +public <U> Cffu<U> applyToEitherSuccessAsync(CompletionStage<? extends T> other, + Function<? super T,U> fn)
      +
      Returns a new Cffu that, when either this or the other given stage complete normally, + is executed using defaultExecutor(), + with the corresponding result as argument to the supplied function.
      +
      +
      Type Parameters:
      +
      U - the function's return type
      +
      Parameters:
      +
      other - the other CompletionStage
      +
      fn - the function to use to compute the value of the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      applyToEitherSuccessAsync

      +
      @CheckReturnValue(explanation="should use the returned Cffu; otherwise, prefer method `acceptEitherSuccessAsync`") +public <U> Cffu<U> applyToEitherSuccessAsync(CompletionStage<? extends T> other, + Function<? super T,U> fn, + Executor executor)
      +
      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.
      +
      +
      Type Parameters:
      +
      U - the function's return type
      +
      Parameters:
      +
      other - the other CompletionStage
      +
      fn - the function to use to compute the value of the returned Cffu
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      acceptEitherSuccess

      +
      public Cffu<Void> acceptEitherSuccess(CompletionStage<? extends T> other, + Consumer<? super T> action)
      +
      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.
      +
      +
      Parameters:
      +
      other - the other CompletionStage
      +
      action - the action to perform before completing the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      acceptEitherSuccessAsync

      +
      public Cffu<Void> acceptEitherSuccessAsync(CompletionStage<? extends T> other, + Consumer<? super T> action)
      +
      Returns a new Cffu that, when either this or the other given stage complete normally, + is executed using defaultExecutor(), + with the corresponding result as argument to the supplied action.
      +
      +
      Parameters:
      +
      other - the other CompletionStage
      +
      action - the action to perform before completing the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      acceptEitherSuccessAsync

      +
      public Cffu<Void> acceptEitherSuccessAsync(CompletionStage<? extends T> other, + Consumer<? super T> action, + Executor executor)
      +
      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.
      +
      +
      Parameters:
      +
      other - the other CompletionStage
      +
      action - the action to perform before completing the returned Cffu
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      runAfterEitherSuccess

      +
      public Cffu<Void> runAfterEitherSuccess(CompletionStage<?> other, + Runnable action)
      +
      Returns a new Cffu that, when either this or the other given stage complete normally, executes the given action. + Otherwise, all two complete exceptionally, the returned Cffu also does so, + with a CompletionException holding an exception from any of as its cause.
      +
      +
      Parameters:
      +
      other - the other CompletionStage
      +
      action - the action to perform before completing the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      runAfterEitherSuccessAsync

      +
      public Cffu<Void> runAfterEitherSuccessAsync(CompletionStage<?> other, + Runnable action)
      +
      Returns a new Cffu that, when either this or the other given stage complete normally, + executes the given action using defaultExecutor(). + Otherwise, all two complete exceptionally, the returned Cffu also does so, + with a CompletionException holding an exception from any of as its cause.
      +
      +
      Parameters:
      +
      other - the other CompletionStage
      +
      action - the action to perform before completing the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      runAfterEitherSuccessAsync

      +
      public Cffu<Void> runAfterEitherSuccessAsync(CompletionStage<?> other, + Runnable action, + Executor executor)
      +
      Returns a new Cffu that, when either this or the other given stage complete normally, + executes the given action using the supplied executor. + Otherwise, all two complete exceptionally, the returned Cffu also does so, + with a CompletionException holding an exception from any of as its cause.
      +
      +
      Parameters:
      +
      other - the other CompletionStage
      +
      action - the action to perform before completing the returned Cffu
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      applyToEither

      +
      @CheckReturnValue(explanation="should use the returned Cffu; otherwise, prefer method `acceptEither`") +public <U> Cffu<U> applyToEither(CompletionStage<? extends T> other, + Function<? super T,U> fn)
      +
      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. +

      + See the CompletionStage documentation for rules covering exceptional completion.

      +
      +
      Specified by:
      +
      applyToEither in interface CompletionStage<T>
      +
      Type Parameters:
      +
      U - the function's return type
      +
      Parameters:
      +
      other - the other CompletionStage
      +
      fn - the function to use to compute the value of the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      applyToEitherAsync

      +
      @CheckReturnValue(explanation="should use the returned Cffu; otherwise, prefer method `acceptEitherAsync`") +public <U> Cffu<U> applyToEitherAsync(CompletionStage<? extends T> other, + Function<? super T,U> fn)
      +
      Returns a new Cffu that, when either this or the other given stage complete normally, + is executed using defaultExecutor(), + with the corresponding result as argument to the supplied function. +

      + See the CompletionStage documentation for rules covering exceptional completion.

      +
      +
      Specified by:
      +
      applyToEitherAsync in interface CompletionStage<T>
      +
      Type Parameters:
      +
      U - the function's return type
      +
      Parameters:
      +
      other - the other CompletionStage
      +
      fn - the function to use to compute the value of the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      applyToEitherAsync

      +
      @CheckReturnValue(explanation="should use the returned Cffu; otherwise, prefer method `acceptEitherAsync`") +public <U> Cffu<U> applyToEitherAsync(CompletionStage<? extends T> other, + Function<? super T,U> fn, + Executor executor)
      +
      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. +

      + See the CompletionStage documentation for rules covering exceptional completion.

      +
      +
      Specified by:
      +
      applyToEitherAsync in interface CompletionStage<T>
      +
      Type Parameters:
      +
      U - the function's return type
      +
      Parameters:
      +
      other - the other CompletionStage
      +
      fn - the function to use to compute the value of the returned Cffu
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      acceptEither

      +
      public Cffu<Void> acceptEither(CompletionStage<? extends T> other, + Consumer<? super T> action)
      +
      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. +

      + See the CompletionStage documentation for rules covering exceptional completion.

      +
      +
      Specified by:
      +
      acceptEither in interface CompletionStage<T>
      +
      Parameters:
      +
      other - the other CompletionStage
      +
      action - the action to perform before completing the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      acceptEitherAsync

      +
      public Cffu<Void> acceptEitherAsync(CompletionStage<? extends T> other, + Consumer<? super T> action)
      +
      Returns a new Cffu that, when either this or the other given stage complete normally, + is executed using defaultExecutor(), + with the corresponding result as argument to the supplied action. +

      + See the CompletionStage documentation for rules covering exceptional completion.

      +
      +
      Specified by:
      +
      acceptEitherAsync in interface CompletionStage<T>
      +
      Parameters:
      +
      other - the other CompletionStage
      +
      action - the action to perform before completing the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      acceptEitherAsync

      +
      public Cffu<Void> acceptEitherAsync(CompletionStage<? extends T> other, + Consumer<? super T> action, + Executor executor)
      +
      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. +

      + See the CompletionStage documentation for rules covering exceptional completion.

      +
      +
      Specified by:
      +
      acceptEitherAsync in interface CompletionStage<T>
      +
      Parameters:
      +
      other - the other CompletionStage
      +
      action - the action to perform before completing the returned Cffu
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      runAfterEither

      +
      public Cffu<Void> runAfterEither(CompletionStage<?> other, + Runnable action)
      +
      Returns a new Cffu that, when either this or the other given stage complete normally, + executes the given action. +

      + See the CompletionStage documentation for rules covering exceptional completion.

      +
      +
      Specified by:
      +
      runAfterEither in interface CompletionStage<T>
      +
      Parameters:
      +
      other - the other CompletionStage
      +
      action - the action to perform before completing the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      runAfterEitherAsync

      +
      public Cffu<Void> runAfterEitherAsync(CompletionStage<?> other, + Runnable action)
      +
      Returns a new Cffu that, when either this or the other given stage complete normally, + executes the given action using defaultExecutor(). +

      + See the CompletionStage documentation for rules covering exceptional completion.

      +
      +
      Specified by:
      +
      runAfterEitherAsync in interface CompletionStage<T>
      +
      Parameters:
      +
      other - the other CompletionStage
      +
      action - the action to perform before completing the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      runAfterEitherAsync

      +
      public Cffu<Void> runAfterEitherAsync(CompletionStage<?> other, + Runnable action, + Executor executor)
      +
      Returns a new Cffu that, when either this or the other given stage complete normally, + executes the given action using the supplied executor. +

      + See the CompletionStage documentation for rules covering exceptional completion.

      +
      +
      Specified by:
      +
      runAfterEitherAsync in interface CompletionStage<T>
      +
      Parameters:
      +
      other - the other CompletionStage
      +
      action - the action to perform before completing the returned Cffu
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      catching

      +
      public <X extends Throwable> Cffu<T> catching(Class<X> exceptionType, + Function<? super X,? extends T> fallback)
      +
      Returns a new Cffu that, when given stage completes exceptionally with the given exceptionType, + is executed with given stage's exception as the argument to the supplied function. + Otherwise, the returned stage contains same result as input Cffu.
      +
      +
      Parameters:
      +
      exceptionType - the exception type that triggers use of fallback. The exception type is matched + against the input's exception. To avoid hiding bugs and other unrecoverable errors, + callers should prefer more specific types, avoiding Throwable.class in particular.
      +
      fallback - the Function to be called if input fails with the expected exception type. + The function's argument is the input's exception.
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      catchingAsync

      +
      public <X extends Throwable> Cffu<T> catchingAsync(Class<X> exceptionType, + Function<? super X,? extends T> fallback)
      +
      Returns a new Cffu that, when given stage completes exceptionally with the given exceptionType, + is executed with given stage's exception as the argument to the supplied function, + using the given stage's default asynchronous execution facility. + Otherwise, the returned stage contains same result as input Cffu.
      +
      +
      Parameters:
      +
      exceptionType - the exception type that triggers use of fallback. The exception type is matched + against the input's exception. To avoid hiding bugs and other unrecoverable errors, + callers should prefer more specific types, avoiding Throwable.class in particular.
      +
      fallback - the Function to be called if input fails with the expected exception type. + The function's argument is the input's exception.
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      catchingAsync

      +
      public <X extends Throwable> Cffu<T> catchingAsync(Class<X> exceptionType, + Function<? super X,? extends T> fallback, + Executor executor)
      +
      Returns a new Cffu that, when given stage completes exceptionally with the given exceptionType, + is executed with given stage's exception as the argument to the supplied function, using the supplied Executor. + Otherwise, the returned stage contains same result as input Cffu.
      +
      +
      Parameters:
      +
      exceptionType - the exception type that triggers use of fallback. The exception type is matched + against the input's exception. To avoid hiding bugs and other unrecoverable errors, + callers should prefer more specific types, avoiding Throwable.class in particular.
      +
      fallback - the Function to be called if input fails with the expected exception type. + The function's argument is the input's exception.
      +
      executor - the executor to use for asynchronous execution
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      exceptionally

      +
      public Cffu<T> exceptionally(Function<Throwable,? extends T> fn)
      +
      Returns a new Cffu that, when this stage completes exceptionally, + is executed with this stage's exception as the argument to the supplied function. + Otherwise, if this stage completes normally, + then the returned stage also completes normally with the same value. +

      + Just as catching Throwable is not best practice in general, this method handles the Throwable; + Strong recommend using catching(Class, Function) + instead in your biz application.

      +
      +
      Specified by:
      +
      exceptionally in interface CompletionStage<T>
      +
      Parameters:
      +
      fn - the function to use to compute the value of the returned Cffu + if this Cffu completed exceptionally
      +
      Returns:
      +
      the new Cffu
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      exceptionallyAsync

      +
      public Cffu<T> exceptionallyAsync(Function<Throwable,? extends T> fn)
      +
      Returns a new Cffu that, when this stage completes exceptionally, + is executed with this stage's exception as the argument to the supplied function, + using defaultExecutor(). + Otherwise, if this stage completes normally, + then the returned stage also completes normally with the same value. +

      + Just as catching Throwable is not best practice in general, this method handles the Throwable; + Strong recommend using catchingAsync(Class, Function) + instead in your biz application.

      +
      +
      Specified by:
      +
      exceptionallyAsync in interface CompletionStage<T>
      +
      Parameters:
      +
      fn - the function to use to compute the value of the returned Cffu + if this Cffu completed exceptionally
      +
      Returns:
      +
      the new Cffu
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      exceptionallyAsync

      +
      public Cffu<T> exceptionallyAsync(Function<Throwable,? extends T> fn, + Executor executor)
      +
      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. Otherwise, if this stage completes normally, + then the returned stage also completes normally with the same value. +

      + Just as catching Throwable is not best practice in general, this method handles the Throwable; + Strong recommend using catchingAsync(Class, Function, Executor) + instead in your biz application.

      +
      +
      Specified by:
      +
      exceptionallyAsync in interface CompletionStage<T>
      +
      Parameters:
      +
      fn - the function to use to compute the value of the returned Cffu + if this Cffu completed exceptionally
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new Cffu
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      orTimeout

      +
      public Cffu<T> orTimeout(long timeout, + TimeUnit unit)
      +
      Exceptionally completes this Cffu with a TimeoutException + if not otherwise completed before the given timeout. +

      + Uses defaultExecutor() as executorWhenTimeout.

      +
      +
      Parameters:
      +
      timeout - how long to wait before completing exceptionally with a TimeoutException, in units of unit
      +
      unit - a TimeUnit determining how to interpret the timeout parameter
      +
      Returns:
      +
      the new Cffu
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      orTimeout

      +
      public Cffu<T> orTimeout(Executor executorWhenTimeout, + long timeout, + TimeUnit unit)
      +
      Exceptionally completes this Cffu with a TimeoutException + if not otherwise completed before the given timeout.
      +
      +
      Parameters:
      +
      executorWhenTimeout - the async executor when triggered by timeout
      +
      timeout - how long to wait before completing exceptionally with a TimeoutException, + in units of unit
      +
      unit - a TimeUnit determining how to interpret the timeout parameter
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      unsafeOrTimeout

      +
      @Contract("_, _ -> this") +public Cffu<T> unsafeOrTimeout(long timeout, + TimeUnit unit)
      +
      Exceptionally completes this Cffu with a TimeoutException + if not otherwise completed before the given timeout. +

      + CAUTION: This method is UNSAFE! +

      + When triggered by timeout, the subsequent non-async actions of the dependent cfs + are performed in the SINGLE thread builtin executor + of CompletableFuture for delay execution(including timeout function). + So the long-running subsequent non-async actions lead to the CompletableFuture dysfunction + (including delay execution and timeout). +

      + Strong recommend using the safe method orTimeout(long, TimeUnit) + instead of this method. +

      + Unless all subsequent actions of dependent cfs is ensured executing async + (aka. the dependent cfs is created by async methods), using this method + is one less thread switch of task execution when triggered by timeout.

      +
      +
      Parameters:
      +
      timeout - how long to wait before completing exceptionally with a TimeoutException, in units of unit
      +
      unit - a TimeUnit determining how to interpret the timeout parameter
      +
      Returns:
      +
      this Cffu
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      completeOnTimeout

      +
      public Cffu<T> completeOnTimeout(@Nullable + T value, + long timeout, + TimeUnit unit)
      +
      Completes this Cffu with the given value if not otherwise completed before the given timeout. +

      + Uses defaultExecutor() as executorWhenTimeout.

      +
      +
      Parameters:
      +
      value - the value to use upon timeout
      +
      timeout - how long to wait before completing normally with the given value, in units of unit
      +
      unit - a TimeUnit determining how to interpret the timeout parameter
      +
      Returns:
      +
      the new Cffu
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      completeOnTimeout

      +
      public Cffu<T> completeOnTimeout(@Nullable + T value, + Executor executorWhenTimeout, + long timeout, + TimeUnit unit)
      +
      Completes this Cffu with the given value if not otherwise completed before the given timeout.
      +
      +
      Parameters:
      +
      value - the value to use upon timeout
      +
      executorWhenTimeout - the async executor when triggered by timeout
      +
      timeout - how long to wait before completing normally with the given value, in units of unit
      +
      unit - a TimeUnit determining how to interpret the timeout parameter
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      unsafeCompleteOnTimeout

      +
      @Contract("_, _, _ -> this") +public Cffu<T> unsafeCompleteOnTimeout(@Nullable + T value, + long timeout, + TimeUnit unit)
      +
      Completes this Cffu with the given value if not otherwise completed before the given timeout. +

      + CAUTION: This method is UNSAFE! +

      + When triggered by timeout, the subsequent non-async actions of the dependent cfs + are performed in the SINGLE thread builtin executor + of CompletableFuture for delay execution (including timeout function). + So the long-running subsequent non-async actions lead to the CompletableFuture dysfunction + (including delay execution and timeout). +

      + Strong recommend using the safe method completeOnTimeout(Object, long, TimeUnit) + instead of this method. +

      + Unless all subsequent actions of dependent cfs is ensured executing async + (aka. the dependent cfs is created by async methods), using this method + is one less thread switch of task execution when triggered by timeout.

      +
      +
      Parameters:
      +
      value - the value to use upon timeout
      +
      timeout - how long to wait before completing normally with the given value, in units of unit
      +
      unit - a TimeUnit determining how to interpret the timeout parameter
      +
      Returns:
      +
      this Cffu
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      thenCompose

      +
      public <U> Cffu<U> thenCompose(Function<? super T,? extends CompletionStage<U>> fn)
      +
      Returns a new Cffu that is completed with the same value + as the CompletionStage returned by the given function. +

      + When this stage completes normally, the given function is invoked + with this stage's result as the argument, returning another CompletionStage. + When that stage completes normally, the Cffu returned by this method + is completed with the same value. +

      + To ensure progress, the supplied function must arrange eventual completion of its result. +

      + This method is analogous to Optional.flatMap and + Stream.flatMap. +

      + See the CompletionStage documentation for rules covering exceptional completion.

      +
      +
      Specified by:
      +
      thenCompose in interface CompletionStage<T>
      +
      Type Parameters:
      +
      U - the type of the returned Cffu's result
      +
      Parameters:
      +
      fn - the function to use to compute another CompletionStage
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenComposeAsync

      +
      public <U> Cffu<U> thenComposeAsync(Function<? super T,? extends CompletionStage<U>> fn)
      +
      Returns a new Cffu that is completed with the same value as the CompletionStage + returned by the given function, executed using defaultExecutor(). +

      + When this stage completes normally, the given function is invoked with this stage's result as the argument, + returning another CompletionStage. When that stage completes normally, + the Cffu returned by this method is completed with the same value. +

      + To ensure progress, the supplied function must arrange eventual completion of its result. +

      + See the CompletionStage documentation for rules covering exceptional completion.

      +
      +
      Specified by:
      +
      thenComposeAsync in interface CompletionStage<T>
      +
      Type Parameters:
      +
      U - the type of the returned Cffu's result
      +
      Parameters:
      +
      fn - the function to use to compute another CompletionStage
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      thenComposeAsync

      +
      public <U> Cffu<U> thenComposeAsync(Function<? super T,? extends CompletionStage<U>> fn, + Executor executor)
      +
      Returns a new Cffu that is completed with the same value as the CompletionStage + returned by the given function, executed using the supplied Executor. +

      + When this stage completes normally, the given function is invoked with this stage's result as the argument, + returning another CompletionStage. When that stage completes normally, + the Cffu returned by this method is completed with the same value. +

      + To ensure progress, the supplied function must arrange eventual completion of its result. +

      + See the CompletionStage documentation for rules covering exceptional completion.

      +
      +
      Specified by:
      +
      thenComposeAsync in interface CompletionStage<T>
      +
      Type Parameters:
      +
      U - the type of the returned Cffu's result
      +
      Parameters:
      +
      fn - the function to use to compute another CompletionStage
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      catchingCompose

      +
      public <X extends Throwable> Cffu<T> catchingCompose(Class<X> exceptionType, + Function<? super X,? extends CompletionStage<T>> fallback)
      +
      Returns a new Cffu that, when given stage completes exceptionally with the given exceptionType, + is composed using the results of the supplied function applied to given stage's exception.
      +
      +
      Parameters:
      +
      exceptionType - the exception type that triggers use of fallback. The exception type is matched + against the input's exception. To avoid hiding bugs and other unrecoverable errors, + callers should prefer more specific types, avoiding Throwable.class in particular.
      +
      fallback - the Function to be called if input fails with the expected exception type. + The function's argument is the input's exception.
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      catchingComposeAsync

      +
      public <X extends Throwable> Cffu<T> catchingComposeAsync(Class<X> exceptionType, + Function<? super X,? extends CompletionStage<T>> fallback)
      +
      Returns a new Cffu that, when given stage completes exceptionally with the given exceptionType, + is composed using the results of the supplied function applied to given stage's exception, + using given stage's default asynchronous execution facility.
      +
      +
      Parameters:
      +
      exceptionType - the exception type that triggers use of fallback. The exception type is matched + against the input's exception. To avoid hiding bugs and other unrecoverable errors, + callers should prefer more specific types, avoiding Throwable.class in particular.
      +
      fallback - the Function to be called if input fails with the expected exception type. + The function's argument is the input's exception.
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      catchingComposeAsync

      +
      public <X extends Throwable> Cffu<T> catchingComposeAsync(Class<X> exceptionType, + Function<? super X,? extends CompletionStage<T>> fallback, + Executor executor)
      +
      Returns a new Cffu that, when given stage completes exceptionally with the given exceptionType, + is composed using the results of the supplied function applied to given's exception, + using the supplied Executor.
      +
      +
      Parameters:
      +
      exceptionType - the exception type that triggers use of fallback. The exception type is matched + against the input's exception. To avoid hiding bugs and other unrecoverable errors, + callers should prefer more specific types, avoiding Throwable.class in particular.
      +
      fallback - the Function to be called if input fails with the expected exception type. + The function's argument is the input's exception.
      +
      executor - the executor to use for asynchronous execution
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      exceptionallyCompose

      +
      public Cffu<T> exceptionallyCompose(Function<Throwable,? extends CompletionStage<T>> fn)
      +
      Returns a new CompletionStage that, when this stage completes exceptionally, + is composed using the results of the supplied function applied to this stage's exception. +

      + Just as catching Throwable is not best practice in general, this method handles the Throwable; + Strong recommend using catchingCompose(Class, Function) + instead in your biz application.

      +
      +
      Specified by:
      +
      exceptionallyCompose in interface CompletionStage<T>
      +
      Parameters:
      +
      fn - the function to use to compute the returned CompletionStage + if this CompletionStage completed exceptionally
      +
      Returns:
      +
      the new CompletionStage
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      exceptionallyComposeAsync

      +
      public Cffu<T> exceptionallyComposeAsync(Function<Throwable,? extends CompletionStage<T>> fn)
      +
      Returns a new Cffu that, when this stage completes exceptionally, + is composed using the results of the supplied function applied to this stage's exception, + using defaultExecutor(). +

      + Just as catching Throwable is not best practice in general, this method handles the Throwable; + Strong recommend using catchingComposeAsync(Class, Function) + instead in your biz application.

      +
      +
      Specified by:
      +
      exceptionallyComposeAsync in interface CompletionStage<T>
      +
      Parameters:
      +
      fn - the function to use to compute the returned CompletionStage + if this Cffu completed exceptionally
      +
      Returns:
      +
      the new Cffu
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      exceptionallyComposeAsync

      +
      public Cffu<T> exceptionallyComposeAsync(Function<Throwable,? extends CompletionStage<T>> fn, + Executor executor)
      +
      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. +

      + Just as catching Throwable is not best practice in general, this method handles the Throwable; + Strong recommend using catchingComposeAsync(Class, Function, Executor) + instead in your biz application.

      +
      +
      Specified by:
      +
      exceptionallyComposeAsync in interface CompletionStage<T>
      +
      Parameters:
      +
      fn - the function to use to compute the returned CompletionStage + if this Cffu completed exceptionally
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new Cffu
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      handle

      +
      @CheckReturnValue(explanation="should use the returned Cffu; otherwise, prefer method `peek`") +public <U> Cffu<U> handle(BiFunction<? super T,Throwable,? extends U> fn)
      +
      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. +

      + When this cffu is complete, the given function is invoked with the result (or null if none) + and the exception (or null if none) of this cffu as arguments, + and the function's result is used to complete the returned cffu.

      +
      +
      Specified by:
      +
      handle in interface CompletionStage<T>
      +
      Type Parameters:
      +
      U - the function's return type
      +
      Parameters:
      +
      fn - the function to use to compute the value of the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      handleAsync

      +
      @CheckReturnValue(explanation="should use the returned Cffu; otherwise, prefer method `peekAsync`") +public <U> Cffu<U> handleAsync(BiFunction<? super T,Throwable,? extends U> fn)
      +
      Returns a new Cffu that, when this cffu completes either normally or exceptionally, + is executed using defaultExecutor(), + with this cffu's result and exception as arguments to the supplied function. +

      + When this Cffu is complete, the given function is invoked with the result (or null if none) + and the exception (or null if none) of this Cffu as arguments, + and the function's result is used to complete the returned Cffu.

      +
      +
      Specified by:
      +
      handleAsync in interface CompletionStage<T>
      +
      Type Parameters:
      +
      U - the function's return type
      +
      Parameters:
      +
      fn - the function to use to compute the value of the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      handleAsync

      +
      @CheckReturnValue(explanation="should use the returned Cffu; otherwise, prefer method `peekAsync`") +public <U> Cffu<U> handleAsync(BiFunction<? super T,Throwable,? extends U> fn, + Executor executor)
      +
      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. +

      + When this cffu is complete, the given function is invoked with the result (or null if none) + and the exception (or null if none) of this cffu as arguments, + and the function's result is used to complete the returned cffu.

      +
      +
      Specified by:
      +
      handleAsync in interface CompletionStage<T>
      +
      Type Parameters:
      +
      U - the function's return type
      +
      Parameters:
      +
      fn - the function to use to compute the value of the returned cffu
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      whenComplete

      +
      @CheckReturnValue(explanation="should use the returned Cffu; otherwise, prefer method `peek`") +public Cffu<T> whenComplete(BiConsumer<? super T,? super Throwable> action)
      +
      Returns a new Cffu with the same result or exception as this stage, + that executes the given action when this stage completes. +

      + When this stage is complete, the given action is invoked with the result (or null if none) + and the exception (or null if none) of this stage as arguments. + The returned stage is completed when the action returns. +

      + Unlike method handle, this method is not designed to translate completion outcomes, + so the supplied action should not throw an exception. However, if it does, the following rules apply: + if this stage completed normally but the supplied action throws an exception, + then the returned stage completes exceptionally with the supplied action's exception. + Or, if this stage completed exceptionally and the supplied action throws an exception, + then the returned stage completes exceptionally with this stage's exception.

      +
      +
      Specified by:
      +
      whenComplete in interface CompletionStage<T>
      +
      Parameters:
      +
      action - the action to perform
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      whenCompleteAsync

      +
      @CheckReturnValue(explanation="should use the returned Cffu; otherwise, prefer method `peekAsync`") +public Cffu<T> whenCompleteAsync(BiConsumer<? super T,? super Throwable> action)
      +
      Returns a new Cffu with the same result or exception as this stage, + that executes the given action using defaultExecutor() + when this stage completes. +

      + When this stage is complete, the given action is invoked with the result (or null if none) + and the exception (or null if none) of this stage as arguments. + The returned stage is completed when the action returns. +

      + Unlike method handleAsync, this method is not designed to + translate completion outcomes, so the supplied action should not throw an exception. + However, if it does, the following rules apply: + If this stage completed normally but the supplied action throws an exception, + then the returned stage completes exceptionally with the supplied action's exception. + Or, if this stage completed exceptionally and the supplied action throws an exception, + then the returned stage completes exceptionally with this stage's exception.

      +
      +
      Specified by:
      +
      whenCompleteAsync in interface CompletionStage<T>
      +
      Parameters:
      +
      action - the action to perform
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      whenCompleteAsync

      +
      @CheckReturnValue(explanation="should use the returned Cffu; otherwise, prefer method `peekAsync`") +public Cffu<T> whenCompleteAsync(BiConsumer<? super T,? super Throwable> action, + Executor executor)
      +
      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. +

      + When this stage is complete, the given action is invoked with the result (or null if none) + and the exception (or null if none) of this stage as arguments. + The returned stage is completed when the action returns. +

      + Unlike method handleAsync, this method is not designed to + translate completion outcomes, so the supplied action should not throw an exception. + However, if it does, the following rules apply: + If this stage completed normally but the supplied action throws an exception, + then the returned stage completes exceptionally with the supplied action's exception. + Or, if this stage completed exceptionally and the supplied action throws an exception, + then the returned stage completes exceptionally with this stage's exception.

      +
      +
      Specified by:
      +
      whenCompleteAsync in interface CompletionStage<T>
      +
      Parameters:
      +
      action - the action to perform
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      peek

      +
      @Contract("_ -> this") +public Cffu<T> peek(BiConsumer<? super T,? super Throwable> action)
      +
      Peeks the result by executing the given action when this cffu completes, returns this cffu. +

      + When this cffu is complete, the given action is invoked with the result (or null if none) + and the exception (or null if none) of this cffu as arguments. Whether the supplied action + throws an exception or not, this cffu is NOT affected. +

      + Unlike method handle and like method + whenComplete, + this method is not designed to translate completion outcomes.

      +
      +
      Parameters:
      +
      action - the action to perform
      +
      Returns:
      +
      this Cffu
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      peekAsync

      +
      @Contract("_ -> this") +public Cffu<T> peekAsync(BiConsumer<? super T,? super Throwable> action)
      +
      Peeks the result by executing the given action when this cffu completes, + executes the given action using defaultExecutor(), returns this cffu. +

      + When this cffu is complete, the given action is invoked with the result (or null if none) + and the exception (or null if none) of this cffu as arguments. Whether the supplied action + throws an exception or not, this cffu is NOT affected. +

      + Unlike method handle and like method + whenComplete, + this method is not designed to translate completion outcomes.

      +
      +
      Parameters:
      +
      action - the action to perform
      +
      Returns:
      +
      this Cffu
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      peekAsync

      +
      @Contract("_, _ -> this") +public Cffu<T> peekAsync(BiConsumer<? super T,? super Throwable> action, + Executor executor)
      +
      Peeks the result by executing the given action when this cffu completes, + that executes the given action using the supplied Executor when this cffu completes, returns this cffu. +

      + When this cffu is complete, the given action is invoked with the result (or null if none) + and the exception (or null if none) of this cffu as arguments. Whether the supplied action + throws an exception or not, this cffu is NOT affected. +

      + Unlike method handle and like method + whenComplete, + this method is not designed to translate completion outcomes.

      +
      +
      Parameters:
      +
      action - the action to perform
      +
      Returns:
      +
      this Cffu
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      get

      + +
      Waits if necessary for the computation to complete, and then retrieves its result.
      +
      +
      Specified by:
      +
      get in interface Future<T>
      +
      Returns:
      +
      the computed result
      +
      Throws:
      +
      CancellationException - if the computation was cancelled
      +
      ExecutionException - if the computation threw an exception
      +
      InterruptedException - if the current thread was interrupted while waiting
      +
      +
      +
    • +
    • +
      +

      get

      +
      @Blocking +@Nullable +public T get(long timeout, + TimeUnit unit) + throws InterruptedException, +ExecutionException, +TimeoutException
      +
      Waits if necessary for at most the given time for the computation to complete, + and then retrieves its result, if available.
      +
      +
      Specified by:
      +
      get in interface Future<T>
      +
      Parameters:
      +
      timeout - the maximum time to wait
      +
      unit - the time unit of the timeout argument
      +
      Returns:
      +
      the computed result
      +
      Throws:
      +
      CancellationException - if the computation was cancelled
      +
      ExecutionException - if the computation threw an exception
      +
      InterruptedException - if the current thread was interrupted while waiting
      +
      TimeoutException - if the wait timed out
      +
      +
      +
    • +
    • +
      +

      join

      +
      @Blocking +@Nullable +public T join()
      +
      Returns the result value when complete, or throws an (unchecked) exception if completed exceptionally. +

      + To better conform with the use of common functional forms, if a computation involved in the completion + of this Cffu threw an exception, this method throws an (unchecked) CompletionException + with the underlying exception as its cause.

      +
      +
      Returns:
      +
      the result value
      +
      Throws:
      +
      CancellationException - if the computation was cancelled
      +
      CompletionException - if this future completed exceptionally + or a completion computation threw an exception
      +
      +
      +
    • +
    • +
      +

      join

      +
      @Blocking +@Nullable +public T join(long timeout, + TimeUnit unit)
      +
      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. +

      + NOTE:
      + Calling this method +

      + result = cffu.join(timeout, unit); +

      + is the same as: + +

      result = cffu.copy() // defensive copy to avoid writing this cffu unexpectedly
      +     .orTimeout(timeout, unit)
      +     .join();
      + 
      + + CAUTION:
      + if the wait timed out, this method throws an (unchecked) CompletionException + with the TimeoutException as its cause; + NOT throws a (checked) TimeoutException like get(long, TimeUnit).
      +
      +
      Parameters:
      +
      timeout - the maximum time to wait
      +
      unit - the time unit of the timeout argument
      +
      Returns:
      +
      the result value
      +
      Throws:
      +
      CancellationException - if the computation was cancelled
      +
      CompletionException - if this future completed exceptionally + or a completion computation threw an exception + or the wait timed out(with the TimeoutException as its cause)
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      getNow

      +
      @Contract(pure=true) +@Nullable +public T getNow(T valueIfAbsent)
      +
      Returns the result value (or throws any encountered exception) if completed, + else returns the given valueIfAbsent.
      +
      +
      Parameters:
      +
      valueIfAbsent - the value to return if not completed
      +
      Returns:
      +
      the result value, if completed, else the given valueIfAbsent
      +
      Throws:
      +
      CancellationException - if the computation was cancelled
      +
      CompletionException - if this future completed exceptionally + or a completion computation threw an exception
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      getSuccessNow

      +
      @Contract(pure=true) +@Nullable +public T getSuccessNow(@Nullable + T valueIfNotSuccess)
      +
      Returns the result value if completed successfully, else returns the given valueIfNotSuccess. +

      + This method will not throw exceptions + (CancellationException/CompletionException/ExecutionException/IllegalStateException/...).

      +
      +
      Parameters:
      +
      valueIfNotSuccess - the value to return if not completed successfully
      +
      Returns:
      +
      the result value, if completed successfully, else the given valueIfNotSuccess
      +
      +
      +
    • +
    • +
      +

      resultNow

      +
      @Contract(pure=true) +@Nullable +public T resultNow()
      +
      Returns the computed result, without waiting. +

      + This method is for cases where the caller knows that the task has already completed successfully, + for example when filtering a stream of Future objects for the successful tasks + and using a mapping operation to obtain a stream of results. + +

      results = futures.stream()
      +     .filter(f -> f.state() == Future.State.SUCCESS)
      +     .map(Future::resultNow)
      +     .toList();
      + 
      +
      +
      Specified by:
      +
      resultNow in interface Future<T>
      +
      Returns:
      +
      the computed result
      +
      Throws:
      +
      IllegalStateException - if the task has not completed or the task did not complete with a result
      +
      +
      +
    • +
    • +
      +

      exceptionNow

      +
      @Contract(pure=true) +public Throwable exceptionNow()
      +
      Returns the exception thrown by the task, without waiting. +

      + This method is for cases where the caller knows that the task has already completed with an exception.

      +
      +
      Specified by:
      +
      exceptionNow in interface Future<T>
      +
      Returns:
      +
      the exception thrown by the task
      +
      Throws:
      +
      IllegalStateException - if the task has not completed, the task completed normally, + or the task was cancelled
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      isDone

      +
      @Contract(pure=true) +public boolean isDone()
      +
      Returns true if this task completed. +

      + Completion may be due to normal termination, an exception, or cancellation -- in all of these cases, + this method will return true.

      +
      +
      Specified by:
      +
      isDone in interface Future<T>
      +
      Returns:
      +
      true if this task completed
      +
      +
      +
    • +
    • +
      +

      isCompletedExceptionally

      +
      @Contract(pure=true) +public boolean isCompletedExceptionally()
      +
      Returns true if this Cffu completed exceptionally, in any way. + Possible causes include cancellation, explicit invocation of completeExceptionally, + and abrupt termination of a CompletionStage action.
      +
      +
      Returns:
      +
      true if this Cffu completed exceptionally
      +
      +
      +
    • +
    • +
      +

      isCancelled

      +
      @Contract(pure=true) +public boolean isCancelled()
      +
      Returns true if this Cffu was cancelled before it completed normally.
      +
      +
      Specified by:
      +
      isCancelled in interface Future<T>
      +
      Returns:
      +
      true if this Cffu was cancelled + before it completed normally
      +
      +
      +
    • +
    • +
      +

      state

      +
      @Contract(pure=true) +public Future.State state()
      +
      Returns the computation state, this method contains NO java version compatibility logic, + if you need this function in old java 18-, use cffuState() instead. +

      + NOTE:
      + CompletableFuture.state() is new method since Java 19, + this method should have compatibility logic for old Java version; + But the return type Future.State is also added since Java 19, + so it's IMPOSSIBLE to backport by compatibility logic of wrapper class(Cffu).

      +
      +
      Specified by:
      +
      state in interface Future<T>
      +
      Returns:
      +
      the computation state
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      cffuState

      +
      @Contract(pure=true) +public CffuState cffuState()
      +
      Returns the computation state(CffuState), this method is equivalent to CompletableFuture.state() + with java version compatibility logic, so you can invoke in old java 18-.
      +
      +
      Returns:
      +
      the computation state
      +
      +
      +
    • +
    • +
      +

      complete

      +
      public boolean complete(@Nullable + T value)
      +
      If not already completed, sets the value returned by get() and related methods to the given value.
      +
      +
      Parameters:
      +
      value - the result value
      +
      Returns:
      +
      true if this invocation caused this Cffu to transition to a completed state, else false
      +
      +
      +
    • +
    • +
      +

      completeAsync

      +
      @Contract("_ -> this") +public Cffu<T> completeAsync(Supplier<? extends T> supplier)
      +
      Completes this Cffu with the result of the given Supplier function invoked + from an asynchronous task using defaultExecutor().
      +
      +
      Parameters:
      +
      supplier - a function returning the value to be used to complete this Cffu
      +
      Returns:
      +
      this Cffu
      +
      +
      +
    • +
    • +
      +

      completeAsync

      +
      @Contract("_, _ -> this") +public Cffu<T> completeAsync(Supplier<? extends T> supplier, + Executor executor)
      +
      Completes this Cffu with the result of the given Supplier function invoked + from an asynchronous task using the given executor.
      +
      +
      Parameters:
      +
      supplier - a function returning the value to be used to complete this Cffu
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      this Cffu
      +
      +
      +
    • +
    • +
      +

      completeExceptionally

      +
      public boolean completeExceptionally(Throwable ex)
      +
      If not already completed, causes invocations of get() and related methods to throw the given exception.
      +
      +
      Parameters:
      +
      ex - the exception
      +
      Returns:
      +
      true if this invocation caused this Cffu to transition to a completed state, else false
      +
      +
      +
    • +
    • +
      +

      completeExceptionallyAsync

      +
      @Contract("_ -> this") +public Cffu<T> completeExceptionallyAsync(Supplier<? extends Throwable> supplier)
      +
      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.
      +
      +
      Parameters:
      +
      supplier - a function returning the value to be used to complete this Cffu
      +
      Returns:
      +
      this Cffu
      +
      +
      +
    • +
    • +
      +

      completeExceptionallyAsync

      +
      @Contract("_, _ -> this") +public Cffu<T> completeExceptionallyAsync(Supplier<? extends Throwable> supplier, + Executor executor)
      +
      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.
      +
      +
      Parameters:
      +
      supplier - a function returning the value to be used to complete this Cffu
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      this Cffu
      +
      +
      +
    • +
    • +
      +

      cancel

      +
      public boolean cancel(boolean mayInterruptIfRunning)
      +
      If not already completed, completes this Cffu with a CancellationException. + Dependent Cffus that have not already completed will also complete exceptionally, + with a CompletionException caused by this CancellationException.
      +
      +
      Specified by:
      +
      cancel in interface Future<T>
      +
      Parameters:
      +
      mayInterruptIfRunning - this value has no effect in this implementation + because interrupts are not used to control processing.
      +
      Returns:
      +
      true if this task is now cancelled
      +
      +
      +
    • +
    • +
      +

      minimalCompletionStage

      +
      @Contract(pure=true) +public CompletionStage<T> minimalCompletionStage()
      +
      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. + If this Cffu completes exceptionally, then the returned CompletionStage completes + exceptionally with a CompletionException with this exception as cause. +

      + demo code about re-config methods of Cffu: + +

      cffu2 = cffu
      +     .resetDefaultExecutor(executor2) // reset to use executor2
      +     .minimalCompletionStage();       // restrict to methods of CompletionStage
      + 
      +

      + CAUTION:
      + if run on old Java 8(not support *minimal* CompletionStage), just return a Cffu with + a *normal* underlying CompletableFuture which is NOT with a *minimal* CompletionStage.

      +
      +
    • +
    • +
      +

      resetDefaultExecutor

      +
      @Contract(pure=true) +public Cffu<T> resetDefaultExecutor(Executor defaultExecutor)
      +
      Returns a new Cffu with the given defaultExecutor. +

      + demo code about re-config methods of Cffu: + +

      cffu2 = cffu
      +     .resetDefaultExecutor(executor2) // reset to use executor2
      +     .minimalCompletionStage();       // restrict to methods of CompletionStage
      + 
      +
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      resetCffuFactory

      +
      @Contract(pure=true) +public Cffu<T> resetCffuFactory(CffuFactory cffuFactory)
      +
      Returns a new Cffu with the given CffuFactory(contained configuration). +

      + demo code about re-config methods of Cffu: + +

      cffu2 = cffu
      +     .resetCffuFactory(cffuFactory2) // reset to use config from cffuFactory2
      +     .minimalCompletionStage();      // restrict to methods of CompletionStage
      + 
      +
      +
      Parameters:
      +
      cffuFactory - cffuFactory contained configuration
      +
      Returns:
      +
      the new Cffu
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      toCompletableFuture

      +
      @Contract(pure=true) +public CompletableFuture<T> toCompletableFuture()
      +
      Returns a CompletableFuture maintaining the same completion properties as this Cffu. +

      + Calling this method is same as calling the CompletableFuture.toCompletableFuture() method + of the underlying CompletableFuture: underlyingCf.toCompletableFuture(); + CompletableFutureUtils.toCompletableFutureArray(CompletionStage[]) is the batch operation of this method. + If you need the underlying CompletableFuture instance, call method cffuUnwrap().

      +
      +
      Specified by:
      +
      toCompletableFuture in interface CompletionStage<T>
      +
      Returns:
      +
      the CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      copy

      +
      @Contract(pure=true) +public Cffu<T> copy()
      +
      Returns a new Cffu that is completed normally with the same value as this Cffu when it completes normally. + If this Cffu completes exceptionally, then the returned Cffu completes exceptionally + with a CompletionException with this exception as cause. The behavior is equivalent to thenApply(x -> x). + This method may be useful as a form of "defensive copying", to prevent clients from completing, + while still being able to arrange dependent actions.
      +
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      defaultExecutor

      +
      @Contract(pure=true) +public Executor defaultExecutor()
      +
      Returns the default Executor used for async methods that do not specify an Executor. + Config from the CffuFactory.defaultExecutor(), + and can re-configured by resetCffuFactory(CffuFactory).
      +
      +
      Returns:
      +
      the default executor
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      cffuFactory

      +
      @Contract(pure=true) +public CffuFactory cffuFactory()
      +
      Returns the CffuFactory of this Cffu. + This can be re-configured by resetCffuFactory(CffuFactory).
      +
      +
      Returns:
      +
      the CffuFactory
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      forbidObtrudeMethods

      +
      @Contract(pure=true) +public boolean forbidObtrudeMethods()
      +
      Returns forbidObtrudeMethods or not. + This can be re-configured by resetCffuFactory(CffuFactory).
      +
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      isMinimalStage

      +
      @Contract(pure=true) +public boolean isMinimalStage()
      +
      Returns whether is a minimal stage or not. +

      + create a minimal stage by below methods: +

      +
      +
    • +
    • +
      +

      getNumberOfDependents

      +
      @Contract(pure=true) +public int getNumberOfDependents()
      +
      Returns the estimated number of CompletableFuture(including Cffu Wrapper) + whose completions are awaiting completion of this Cffu(aka its underlying CompletableFuture). + This method is designed for use in monitoring system state, not for synchronization control.
      +
      +
      Returns:
      +
      the estimated number of dependent CompletableFutures(including Cffu Wrapper)
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      obtrudeValue

      +
      public void obtrudeValue(@Nullable + T value)
      +
      Forcibly sets or resets the value subsequently returned by method get() and related methods, + whether already completed or not. This method is designed for use only in error recovery actions, and even in + such situations may result in ongoing dependent completions using established versus overwritten outcomes.
      +
      +
      Parameters:
      +
      value - the completion value
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      obtrudeException

      +
      public void obtrudeException(Throwable ex)
      +
      Forcibly causes subsequent invocations of method get() and related methods to throw the given exception, + whether already completed or not. This method is designed for use only in error recovery actions, and even + in such situations may result in ongoing dependent completions using established versus overwritten outcomes.
      +
      +
      Parameters:
      +
      ex - the exception
      +
      Throws:
      +
      NullPointerException - if the exception is null
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      cffuUnwrap

      +
      @Contract(pure=true) +public CompletableFuture<T> cffuUnwrap()
      +
      Returns the underlying CompletableFuture. + In general, you should NEVER use this method, use toCompletableFuture() instead.
      +
      +
      Returns:
      +
      the underlying CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      newIncompleteFuture

      +
      @Contract(pure=true) +public <U> Cffu<U> newIncompleteFuture()
      +
      Returns a new incomplete Cffu with CompletableFuture of the type to be returned by a CompletionStage method. +

      + NOTE:
      + This method existed mainly for API compatibility to CompletableFuture, + prefer CffuFactory.newIncompleteCffu().

      +
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      toString

      +
      @Contract(pure=true) +public String toString()
      +
      Returns a string identifying this Cffu, as well as its completion state. +

      + The state, in brackets, contains the String "Completed Normally" or + the String "Completed Exceptionally", or the String "Not completed" + followed by the number of Cffus dependent upon its completion, if any.

      +
      +
      Overrides:
      +
      toString in class Object
      +
      Returns:
      +
      a string identifying this Cffu, as well as its state
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    +
    +
  • +
+
+ +
+
+
+ +
+
+
+ + diff --git a/cffu/1.0.0-Alpha22/io/foldright/cffu/CffuFactory.html b/cffu/1.0.0-Alpha22/io/foldright/cffu/CffuFactory.html new file mode 100644 index 0000000..05ec112 --- /dev/null +++ b/cffu/1.0.0-Alpha22/io/foldright/cffu/CffuFactory.html @@ -0,0 +1,3466 @@ + + + + +CffuFactory (CompletableFuture-Fu(cffu) 1.0.0-Alpha22 API) + + + + + + + + + + + + + + +
+ +
+
+ +
+ +

Class CffuFactory

+
+
java.lang.Object +
io.foldright.cffu.CffuFactory
+
+
+
+
@ThreadSafe +public final class CffuFactory +extends Object
+
This class CffuFactory is equivalent to CompletableFuture, + contains the static (factory) methods of CompletableFuture. +

+ The methods that equivalent to the instance methods of CompletableFuture is in Cffu class. +

+ Use builder(Executor) to config and build CffuFactory. +

+ About factory methods conventions of CffuFactory: +

+
+
Author:
+
Jerry Lee (oldratlee at gmail dot com), HuHao (995483610 at qq dot com)
+
See Also:
+
+ +
+
+
+
+
    + +
  • +
    +

    Method Summary

    +
    +
    +
    +
    +
    Modifier and Type
    +
    Method
    +
    Description
    + + +
    +
    Returns a new Cffu that is successful when all the given stages success; + 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.
    +
    + + +
    +
    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.
    +
    +
    final <T> Cffu<List<T>>
    + +
    +
    Returns a new Cffu that is successful with the results in the same order + of the given stages arguments when all the given stages success; + 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.
    +
    +
    final <T> Cffu<List<T>>
    +
    allResultsOf(CompletionStage<? extends T>... cfs)
    +
    +
    Returns a new Cffu with the results in the same order of the given stages arguments, + the new Cffu 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.
    +
    +
    final <T> Cffu<List<T>>
    +
    allSuccessResultsOf(T valueIfFailed, + CompletionStage<? extends T>... cfs)
    +
    +
    Returns a new Cffu that is successful with the results in the same order + of the given stages arguments when all the given stages completed; + If no stages are provided, returns a Cffu completed with the value empty list.
    +
    +
    <T1, +T2> Cffu<Tuple2<T1,T2>>
    +
    allSuccessTupleOf(CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2)
    +
    +
    Returns a new Cffu that is successful + with the results of the given stages arguments when all the given stages completed.
    +
    +
    <T1, +T2, +T3>
    Cffu<Tuple3<T1,T2,T3>>
    +
    allSuccessTupleOf(CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3)
    +
    +
    Returns a new Cffu that is successful + with the results of the given stages arguments when all the given stages completed.
    +
    +
    <T1, +T2, +T3, +T4>
    Cffu<Tuple4<T1,T2,T3,T4>>
    +
    allSuccessTupleOf(CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3, + CompletionStage<? extends T4> cf4)
    +
    +
    Returns a new Cffu that is successful + with the results of the given stages arguments when all the given stages completed.
    +
    +
    <T1, +T2, +T3, +T4, +T5>
    Cffu<Tuple5<T1,T2,T3,T4,T5>>
    +
    allSuccessTupleOf(CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3, + CompletionStage<? extends T4> cf4, + CompletionStage<? extends T5> cf5)
    +
    +
    Returns a new Cffu that is successful + with the results of the given stages arguments when all the given stages completed.
    +
    +
    <T1, +T2> Cffu<Tuple2<T1,T2>>
    +
    allTupleFastFailOf(CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2)
    +
    +
    Returns a new Cffu that is successful when the given two stages success.
    +
    +
    <T1, +T2, +T3>
    Cffu<Tuple3<T1,T2,T3>>
    +
    allTupleFastFailOf(CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3)
    +
    +
    Returns a new Cffu that is successful when the given three stages success.
    +
    +
    <T1, +T2, +T3, +T4>
    Cffu<Tuple4<T1,T2,T3,T4>>
    +
    allTupleFastFailOf(CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3, + CompletionStage<? extends T4> cf4)
    +
    +
    Returns a new Cffu that is successful when the given four stages success.
    +
    +
    <T1, +T2, +T3, +T4, +T5>
    Cffu<Tuple5<T1,T2,T3,T4,T5>>
    +
    allTupleFastFailOf(CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3, + CompletionStage<? extends T4> cf4, + CompletionStage<? extends T5> cf5)
    +
    +
    Returns a new Cffu that is successful when the given five stages success.
    +
    +
    <T1, +T2> Cffu<Tuple2<T1,T2>>
    +
    allTupleOf(CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2)
    +
    +
    Returns a new Cffu that is completed when the given two stages complete.
    +
    +
    <T1, +T2, +T3>
    Cffu<Tuple3<T1,T2,T3>>
    +
    allTupleOf(CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3)
    +
    +
    Returns a new Cffu that is completed when the given three stages complete.
    +
    +
    <T1, +T2, +T3, +T4>
    Cffu<Tuple4<T1,T2,T3,T4>>
    +
    allTupleOf(CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3, + CompletionStage<? extends T4> cf4)
    +
    +
    Returns a new Cffu that is completed when the given four stages complete.
    +
    +
    <T1, +T2, +T3, +T4, +T5>
    Cffu<Tuple5<T1,T2,T3,T4,T5>>
    +
    allTupleOf(CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3, + CompletionStage<? extends T4> cf4, + CompletionStage<? extends T5> cf5)
    +
    +
    Returns a new Cffu that is completed when the given five stages complete.
    +
    +
    final <T> Cffu<T>
    +
    anyOf(CompletionStage<? extends T>... cfs)
    +
    +
    Returns a new Cffu that is completed when any of the given stages complete, with the same result.
    + Otherwise, if it completed exceptionally, the returned Cffu also does so, + with a CompletionException holding this exception as its cause.
    + If no stages are provided, returns an incomplete Cffu.
    +
    +
    final <T> Cffu<T>
    +
    anySuccessOf(CompletionStage<? extends T>... cfs)
    +
    +
    Returns a new Cffu that is successful when any of the given stages success, + with the same result.
    +
    + +
    builder(Executor defaultExecutor)
    +
    +
    Returns a CffuFactoryBuilder with defaultExecutor setting.
    +
    +
    static <T> Cffu<T>[]
    +
    cffuListToArray(List<Cffu<T>> cffuList)
    +
    +
    Convert Cffu list to Cffu array.
    +
    +
    <T> Cffu<T>
    +
    completedFuture(T value)
    +
    +
    Returns a new Cffu that is already completed with the given value.
    +
    + +
    completedStage(T value)
    +
    +
    Returns a new CompletionStage that is already completed with the given value + and supports only those methods in interface CompletionStage.
    +
    + + +
    +
    Returns the default Executor used for async methods that do not specify an Executor.
    +
    + +
    delayedExecutor(long delay, + TimeUnit unit)
    +
    +
    Returns a new Executor that submits a task to the default executor + after the given delay (or no delay if non-positive).
    +
    + +
    delayedExecutor(long delay, + TimeUnit unit, + Executor executor)
    +
    +
    Returns a new Executor that submits a task to the given base executor + after the given delay (or no delay if non-positive).
    +
    +
    <T> Cffu<T>
    + +
    +
    Returns a new Cffu that is already completed exceptionally with the given exception.
    +
    + + +
    +
    Returns a new CompletionStage that is already completed exceptionally + with the given exception and supports only those methods in interface CompletionStage.
    +
    +
    boolean
    + +
    +
    Returns forbidObtrudeMethods or not.
    +
    +
    final <T> Cffu<List<T>>
    +
    mostSuccessResultsOf(T valueIfNotSuccess, + long timeout, + TimeUnit unit, + CompletionStage<? extends T>... cfs)
    +
    +
    Returns a new Cffu with the most results in the same order of + the given stages arguments in the given time(timeout, aka as many results as possible in the given time).
    +
    +
    <T1, +T2> Cffu<Tuple2<T1,T2>>
    +
    mostSuccessTupleOf(long timeout, + TimeUnit unit, + CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2)
    +
    +
    Returns a new Cffu with the most results in the same order of the given two stages arguments + in the given time(timeout, aka as many results as possible in the given time).
    +
    +
    <T1, +T2, +T3>
    Cffu<Tuple3<T1,T2,T3>>
    +
    mostSuccessTupleOf(long timeout, + TimeUnit unit, + CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3)
    +
    +
    Returns a new Cffu with the most results in the same order of the given three stages arguments + in the given time(timeout, aka as many results as possible in the given time).
    +
    +
    <T1, +T2, +T3, +T4>
    Cffu<Tuple4<T1,T2,T3,T4>>
    +
    mostSuccessTupleOf(long timeout, + TimeUnit unit, + CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3, + CompletionStage<? extends T4> cf4)
    +
    +
    Returns a new Cffu with the most results in the same order of the given four stages arguments + in the given time(timeout, aka as many results as possible in the given time).
    +
    +
    <T1, +T2, +T3, +T4, +T5>
    Cffu<Tuple5<T1,T2,T3,T4,T5>>
    +
    mostSuccessTupleOf(long timeout, + TimeUnit unit, + CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3, + CompletionStage<? extends T4> cf4, + CompletionStage<? extends T5> cf5)
    +
    +
    Returns a new Cffu with the most results in the same order of the given five stages arguments + in the given time(timeout, aka as many results as possible in the given time).
    +
    + +
    mRunAnyAsync(Runnable... actions)
    +
    +
    Returns a new Cffu that is asynchronously completed + when any tasks running in the Cffu's default asynchronous execution facility.
    +
    + +
    mRunAnyAsync(Executor executor, + Runnable... actions)
    +
    +
    Returns a new Cffu that is asynchronously completed + when any tasks running in the given executor complete.
    +
    + + +
    +
    Returns a new Cffu that is asynchronously successful + when any tasks running in the Cffu's default asynchronous execution facility success.
    +
    + +
    mRunAnySuccessAsync(Executor executor, + Runnable... actions)
    +
    +
    Returns a new Cffu that is asynchronously completed + when any tasks running in the Cffu's default asynchronous execution facility.
    +
    + +
    mRunAsync(Runnable... actions)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the Cffu's default asynchronous execution facility + after runs the given actions.
    +
    + +
    mRunAsync(Executor executor, + Runnable... actions)
    +
    +
    Returns a new Cffu that is asynchronously completed by tasks running in the given Executor + after runs the given actions.
    +
    + + +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the Cffu's default asynchronous execution facility + after runs the given actions.
    +
    + +
    mRunFastFailAsync(Executor executor, + Runnable... actions)
    +
    +
    Returns a new Cffu that is asynchronously completed by tasks running in the given Executor + after runs the given actions.
    +
    +
    final <T> Cffu<List<T>>
    +
    mSupplyAllSuccessAsync(T valueIfFailed, + Executor executor, + Supplier<? extends T>... suppliers)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the given Executor with the successfully values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    final <T> Cffu<List<T>>
    +
    mSupplyAllSuccessAsync(T valueIfFailed, + Supplier<? extends T>... suppliers)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the Cffu's default asynchronous execution facility + with the successful values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    final <T> Cffu<T>
    +
    mSupplyAnyAsync(Executor executor, + Supplier<? extends T>... suppliers)
    +
    +
    Returns a new Cffu that is completed + when any of tasks running in the given Executor by calling the given Suppliers complete, with the same result.
    +
    +
    final <T> Cffu<T>
    +
    mSupplyAnyAsync(Supplier<? extends T>... suppliers)
    +
    +
    Returns a new Cffu that is completed + when any of tasks running in the Cffu's default asynchronous execution facility + by calling the given Suppliers complete, with the same result.
    +
    +
    final <T> Cffu<T>
    +
    mSupplyAnySuccessAsync(Executor executor, + Supplier<? extends T>... suppliers)
    +
    +
    Returns a new Cffu that is asynchronously successful + when any of tasks running in the given executor by calling the given Suppliers success, with the same result.
    +
    +
    final <T> Cffu<T>
    +
    mSupplyAnySuccessAsync(Supplier<? extends T>... suppliers)
    +
    +
    Returns a new Cffu that is asynchronously successful + when any of tasks running in the Cffu's default asynchronous execution facility + by calling the given Suppliers success, with the same result.
    +
    +
    final <T> Cffu<List<T>>
    +
    mSupplyAsync(Executor executor, + Supplier<? extends T>... suppliers)
    +
    +
    Returns a new Cffu that is asynchronously completed by tasks running in the given Executor + with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    final <T> Cffu<List<T>>
    +
    mSupplyAsync(Supplier<? extends T>... suppliers)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the Cffu's default asynchronous execution facility + with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    final <T> Cffu<List<T>>
    +
    mSupplyFastFailAsync(Executor executor, + Supplier<? extends T>... suppliers)
    +
    +
    Returns a new Cffu that is asynchronously completed by tasks running in the given Executor + with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    final <T> Cffu<List<T>>
    +
    mSupplyFastFailAsync(Supplier<? extends T>... suppliers)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the Cffu's default asynchronous execution facility + with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    final <T> Cffu<List<T>>
    +
    mSupplyMostSuccessAsync(T valueIfNotSuccess, + long timeout, + TimeUnit unit, + Supplier<? extends T>... suppliers)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the Cffu's default asynchronous execution facility + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments.
    +
    +
    final <T> Cffu<List<T>>
    +
    mSupplyMostSuccessAsync(T valueIfNotSuccess, + Executor executor, + long timeout, + TimeUnit unit, + Supplier<? extends T>... suppliers)
    +
    +
    Returns a new Cffu that is asynchronously completed by tasks running in the given Executor + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments.
    +
    +
    <T> Cffu<T>
    + +
    +
    Return an incomplete Cffu, equivalent to CompletableFuture() constructor.
    +
    + +
    resetDefaultExecutor(Executor defaultExecutor)
    +
    +
    Returns a new CffuFactory from this CffuFactory that reset the defaultExecutor.
    +
    + + +
    +
    Returns a new Cffu that is asynchronously completed by a task running + in the defaultExecutor() after it runs the given action.
    +
    + +
    runAsync(Runnable action, + Executor executor)
    +
    +
    Returns a new Cffu that is asynchronously completed + by a task running in the given executor after it runs the given action.
    +
    +
    <T> Cffu<T>
    +
    supplyAsync(Supplier<T> supplier)
    +
    +
    Returns a new Cffu that is asynchronously completed + by a task running in the defaultExecutor() with + the value obtained by calling the given Supplier.
    +
    +
    <T> Cffu<T>
    +
    supplyAsync(Supplier<T> supplier, + Executor executor)
    +
    +
    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.
    +
    +
    <T> Cffu<T>
    + +
    +
    Returns a Cffu maintaining the same completion properties as this stage and this CffuFactory config.
    +
    +
    final <T> Cffu<T>[]
    + +
    +
    A convenient util method for converting input CompletionStage(including CompletableFuture) + array element by toCffu(CompletionStage).
    +
    +
    <T1, +T2> Cffu<Tuple2<T1,T2>>
    +
    tupleMSupplyAllSuccessAsync(Executor executor, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the given executor with the successfully values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2, +T3>
    Cffu<Tuple3<T1,T2,T3>>
    +
    tupleMSupplyAllSuccessAsync(Executor executor, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the given executor with the successfully values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2, +T3, +T4>
    Cffu<Tuple4<T1,T2,T3,T4>>
    +
    tupleMSupplyAllSuccessAsync(Executor executor, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the given executor with the successfully values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2, +T3, +T4, +T5>
    Cffu<Tuple5<T1,T2,T3,T4,T5>>
    +
    tupleMSupplyAllSuccessAsync(Executor executor, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4, + Supplier<? extends T5> supplier5)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the given executor with the successfully values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2> Cffu<Tuple2<T1,T2>>
    +
    tupleMSupplyAllSuccessAsync(Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the Cffu's default asynchronous execution facility + with the successful values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2, +T3>
    Cffu<Tuple3<T1,T2,T3>>
    +
    tupleMSupplyAllSuccessAsync(Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the Cffu's default asynchronous execution facility + with the successful values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2, +T3, +T4>
    Cffu<Tuple4<T1,T2,T3,T4>>
    +
    tupleMSupplyAllSuccessAsync(Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the Cffu's default asynchronous execution facility + with the successful values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2, +T3, +T4, +T5>
    Cffu<Tuple5<T1,T2,T3,T4,T5>>
    +
    tupleMSupplyAllSuccessAsync(Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4, + Supplier<? extends T5> supplier5)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the Cffu's default asynchronous execution facility + with the successful values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2> Cffu<Tuple2<T1,T2>>
    +
    tupleMSupplyAsync(Executor executor, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the given Executor with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2, +T3>
    Cffu<Tuple3<T1,T2,T3>>
    +
    tupleMSupplyAsync(Executor executor, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the given Executor with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2, +T3, +T4>
    Cffu<Tuple4<T1,T2,T3,T4>>
    +
    tupleMSupplyAsync(Executor executor, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the given Executor with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2, +T3, +T4, +T5>
    Cffu<Tuple5<T1,T2,T3,T4,T5>>
    +
    tupleMSupplyAsync(Executor executor, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4, + Supplier<? extends T5> supplier5)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the given Executor with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2> Cffu<Tuple2<T1,T2>>
    +
    tupleMSupplyAsync(Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the defaultExecutor() with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2, +T3>
    Cffu<Tuple3<T1,T2,T3>>
    +
    tupleMSupplyAsync(Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the defaultExecutor() with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2, +T3, +T4>
    Cffu<Tuple4<T1,T2,T3,T4>>
    +
    tupleMSupplyAsync(Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the defaultExecutor() with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2, +T3, +T4, +T5>
    Cffu<Tuple5<T1,T2,T3,T4,T5>>
    +
    tupleMSupplyAsync(Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4, + Supplier<? extends T5> supplier5)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the defaultExecutor() with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2> Cffu<Tuple2<T1,T2>>
    +
    tupleMSupplyFastFailAsync(Executor executor, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the defaultExecutor() with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2, +T3>
    Cffu<Tuple3<T1,T2,T3>>
    +
    tupleMSupplyFastFailAsync(Executor executor, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the given Executor with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2, +T3, +T4>
    Cffu<Tuple4<T1,T2,T3,T4>>
    +
    tupleMSupplyFastFailAsync(Executor executor, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the given Executor with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2, +T3, +T4, +T5>
    Cffu<Tuple5<T1,T2,T3,T4,T5>>
    +
    tupleMSupplyFastFailAsync(Executor executor, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4, + Supplier<? extends T5> supplier5)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the given Executor with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2> Cffu<Tuple2<T1,T2>>
    +
    tupleMSupplyFastFailAsync(Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the defaultExecutor() with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2, +T3>
    Cffu<Tuple3<T1,T2,T3>>
    +
    tupleMSupplyFastFailAsync(Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the given Executor with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2, +T3, +T4>
    Cffu<Tuple4<T1,T2,T3,T4>>
    +
    tupleMSupplyFastFailAsync(Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the defaultExecutor() with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2, +T3, +T4, +T5>
    Cffu<Tuple5<T1,T2,T3,T4,T5>>
    +
    tupleMSupplyFastFailAsync(Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4, + Supplier<? extends T5> supplier5)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the defaultExecutor() with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2> Cffu<Tuple2<T1,T2>>
    +
    tupleMSupplyMostSuccessAsync(long timeout, + TimeUnit unit, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the Cffu's default asynchronous execution facility + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2, +T3>
    Cffu<Tuple3<T1,T2,T3>>
    +
    tupleMSupplyMostSuccessAsync(long timeout, + TimeUnit unit, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the Cffu's default asynchronous execution facility + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2, +T3, +T4>
    Cffu<Tuple4<T1,T2,T3,T4>>
    +
    tupleMSupplyMostSuccessAsync(long timeout, + TimeUnit unit, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the Cffu's default asynchronous execution facility + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2, +T3, +T4, +T5>
    Cffu<Tuple5<T1,T2,T3,T4,T5>>
    +
    tupleMSupplyMostSuccessAsync(long timeout, + TimeUnit unit, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4, + Supplier<? extends T5> supplier5)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the Cffu's default asynchronous execution facility + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2> Cffu<Tuple2<T1,T2>>
    +
    tupleMSupplyMostSuccessAsync(Executor executor, + long timeout, + TimeUnit unit, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2)
    +
    +
    Returns a new Cffu that is asynchronously completed by tasks running in the given Executor + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2, +T3>
    Cffu<Tuple3<T1,T2,T3>>
    +
    tupleMSupplyMostSuccessAsync(Executor executor, + long timeout, + TimeUnit unit, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3)
    +
    +
    Returns a new Cffu that is asynchronously completed by tasks running in the given Executor + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2, +T3, +T4>
    Cffu<Tuple4<T1,T2,T3,T4>>
    +
    tupleMSupplyMostSuccessAsync(Executor executor, + long timeout, + TimeUnit unit, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4)
    +
    +
    Returns a new Cffu that is asynchronously completed by tasks running in the given Executor + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2, +T3, +T4, +T5>
    Cffu<Tuple5<T1,T2,T3,T4,T5>>
    +
    tupleMSupplyMostSuccessAsync(Executor executor, + long timeout, + TimeUnit unit, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4, + Supplier<? extends T5> supplier5)
    +
    +
    Returns a new Cffu that is asynchronously completed by tasks running in the given Executor + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments.
    +
    +
    +
    +
    +
    +

    Methods inherited from class java.lang.Object

    +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    +
    +
  • +
+
+
+
    + +
  • +
    +

    Method Details

    +
      +
    • +
      +

      builder

      +
      @Contract(pure=true) +public static CffuFactoryBuilder builder(Executor defaultExecutor)
      +
      Returns a CffuFactoryBuilder with defaultExecutor setting.
      +
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      resetDefaultExecutor

      +
      @Contract(pure=true) +public CffuFactory resetDefaultExecutor(Executor defaultExecutor)
      +
      Returns a new CffuFactory from this CffuFactory that reset the defaultExecutor.
      +
      +
    • +
    • +
      +

      newIncompleteCffu

      +
      @Contract(pure=true) +public <T> Cffu<T> newIncompleteCffu()
      +
      Return an incomplete Cffu, equivalent to CompletableFuture() constructor. +

      + In general, should not use this method in biz code, prefer other factory methods of Cffu.

      +
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      supplyAsync

      +
      @CheckReturnValue(explanation="should use the returned Cffu; otherwise, prefer method `runAsync`") +public <T> Cffu<T> supplyAsync(Supplier<T> supplier)
      +
      Returns a new Cffu that is asynchronously completed + by a task running in the defaultExecutor() with + the value obtained by calling the given Supplier.
      +
      +
      Type Parameters:
      +
      T - the function's return type
      +
      Parameters:
      +
      supplier - a function returning the value to be used to complete the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      supplyAsync

      +
      @CheckReturnValue(explanation="should use the returned Cffu; otherwise, prefer method `runAsync`") +public <T> Cffu<T> supplyAsync(Supplier<T> supplier, + Executor executor)
      +
      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.
      +
      +
      Type Parameters:
      +
      T - the function's return type
      +
      Parameters:
      +
      supplier - a function returning the value to be used to complete the returned Cffu
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      runAsync

      +
      public Cffu<Void> runAsync(Runnable action)
      +
      Returns a new Cffu that is asynchronously completed by a task running + in the defaultExecutor() after it runs the given action.
      +
      +
      Parameters:
      +
      action - the action to run before completing the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      runAsync

      +
      public Cffu<Void> runAsync(Runnable action, + Executor executor)
      +
      Returns a new Cffu that is asynchronously completed + by a task running in the given executor after it runs the given action.
      +
      +
      Parameters:
      +
      action - the action to run before completing the returned Cffu
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      mSupplyFastFailAsync

      +
      @SafeVarargs +public final <T> Cffu<List<T>> mSupplyFastFailAsync(Supplier<? extends T>... suppliers)
      +
      Returns a new Cffu that is asynchronously completed + by tasks running in the Cffu's default asynchronous execution facility + with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
      +
      +
      Type Parameters:
      +
      T - the suppliers' return type
      +
      Parameters:
      +
      suppliers - the suppliers returning the value to be used to complete the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      mSupplyFastFailAsync

      +
      @SafeVarargs +public final <T> Cffu<List<T>> mSupplyFastFailAsync(Executor executor, + Supplier<? extends T>... suppliers)
      +
      Returns a new Cffu that is asynchronously completed by tasks running in the given Executor + with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
      +
      +
      Type Parameters:
      +
      T - the suppliers' return type
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      suppliers - the suppliers returning the value to be used to complete the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      mSupplyAllSuccessAsync

      +
      @SafeVarargs +public final <T> Cffu<List<T>> mSupplyAllSuccessAsync(@Nullable + T valueIfFailed, + Supplier<? extends T>... suppliers)
      +
      Returns a new Cffu that is asynchronously completed + by tasks running in the Cffu's default asynchronous execution facility + with the successful values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments. +

      + If any of the provided suppliers fails, its corresponding position will contain valueIfFailed.

      +
      +
      Type Parameters:
      +
      T - the suppliers' return type
      +
      Parameters:
      +
      valueIfFailed - the value to return if not failed
      +
      suppliers - the suppliers returning the value to be used to complete the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      mSupplyAllSuccessAsync

      +
      @SafeVarargs +public final <T> Cffu<List<T>> mSupplyAllSuccessAsync(@Nullable + T valueIfFailed, + Executor executor, + Supplier<? extends T>... suppliers)
      +
      Returns a new Cffu that is asynchronously completed + by tasks running in the given Executor with the successfully values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments. +

      + If any of the provided suppliers fails, its corresponding position will contain valueIfFailed.

      +
      +
      Type Parameters:
      +
      T - the suppliers' return type
      +
      Parameters:
      +
      valueIfFailed - the value to return if not failed
      +
      executor - the executor to use for asynchronous execution
      +
      suppliers - the suppliers returning the value to be used to complete the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      mSupplyMostSuccessAsync

      +
      @SafeVarargs +public final <T> Cffu<List<T>> mSupplyMostSuccessAsync(@Nullable + T valueIfNotSuccess, + long timeout, + TimeUnit unit, + Supplier<? extends T>... suppliers)
      +
      Returns a new Cffu that is asynchronously completed + by tasks running in the Cffu's default asynchronous execution facility + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments. +

      + If any of the provided suppliers does not success(fails or incomplete) in given time, + its corresponding position will contain valueIfNotSuccess.

      +
      +
      Type Parameters:
      +
      T - the suppliers' return type
      +
      Parameters:
      +
      valueIfNotSuccess - the value to return if not completed successfully
      +
      timeout - how long to wait in units of unit
      +
      unit - a TimeUnit determining how to interpret the timeout parameter
      +
      suppliers - the suppliers returning the value to be used to complete the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      mSupplyMostSuccessAsync

      +
      @SafeVarargs +public final <T> Cffu<List<T>> mSupplyMostSuccessAsync(@Nullable + T valueIfNotSuccess, + Executor executor, + long timeout, + TimeUnit unit, + Supplier<? extends T>... suppliers)
      +
      Returns a new Cffu that is asynchronously completed by tasks running in the given Executor + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments. +

      + If any of the provided suppliers does not success(fails or incomplete) in given time, + its corresponding position will contain valueIfNotSuccess.

      +
      +
      Type Parameters:
      +
      T - the suppliers' return type
      +
      Parameters:
      +
      valueIfNotSuccess - the value to return if not completed successfully
      +
      executor - the executor to use for asynchronous execution
      +
      timeout - how long to wait in units of unit
      +
      unit - a TimeUnit determining how to interpret the timeout parameter
      +
      suppliers - the suppliers returning the value to be used to complete the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      mSupplyAsync

      +
      @SafeVarargs +public final <T> Cffu<List<T>> mSupplyAsync(Supplier<? extends T>... suppliers)
      +
      Returns a new Cffu that is asynchronously completed + by tasks running in the Cffu's default asynchronous execution facility + with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
      +
      +
      Type Parameters:
      +
      T - the suppliers' return type
      +
      Parameters:
      +
      suppliers - the suppliers returning the value to be used to complete the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      mSupplyAsync

      +
      @SafeVarargs +public final <T> Cffu<List<T>> mSupplyAsync(Executor executor, + Supplier<? extends T>... suppliers)
      +
      Returns a new Cffu that is asynchronously completed by tasks running in the given Executor + with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
      +
      +
      Type Parameters:
      +
      T - the suppliers' return type
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      suppliers - the suppliers returning the value to be used to complete the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      mSupplyAnySuccessAsync

      +
      @SafeVarargs +public final <T> Cffu<T> mSupplyAnySuccessAsync(Supplier<? extends T>... suppliers)
      +
      Returns a new Cffu that is asynchronously successful + when any of tasks running in the Cffu's default asynchronous execution facility + by calling the given Suppliers success, with the same result. + Otherwise, all the given tasks complete exceptionally, + the returned Cffu also does so, with a CompletionException holding + an exception from any of the given stages as its cause. + If no suppliers are provided, returns a new Cffu that is already completed exceptionally + with a CompletionException holding a NoCfsProvidedException as its cause.
      +
      +
      Type Parameters:
      +
      T - the suppliers' return type
      +
      Parameters:
      +
      suppliers - the suppliers returning the value to be used to complete the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      mSupplyAnySuccessAsync

      +
      @SafeVarargs +public final <T> Cffu<T> mSupplyAnySuccessAsync(Executor executor, + Supplier<? extends T>... suppliers)
      +
      Returns a new Cffu that is asynchronously successful + when any of tasks running in the given executor by calling the given Suppliers success, with the same result. + Otherwise, all the given tasks complete exceptionally, + the returned Cffu also does so, with a CompletionException holding + an exception from any of the given stages as its cause. + If no suppliers are provided, returns a new Cffu that is already completed exceptionally + with a CompletionException holding a NoCfsProvidedException as its cause.
      +
      +
      Type Parameters:
      +
      T - the suppliers' return type
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      suppliers - the suppliers returning the value to be used to complete the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      mSupplyAnyAsync

      +
      @SafeVarargs +public final <T> Cffu<T> mSupplyAnyAsync(Supplier<? extends T>... suppliers)
      +
      Returns a new Cffu that is completed + when any of tasks running in the Cffu's default asynchronous execution facility + by calling the given Suppliers complete, with the same result. + Otherwise, if it completed exceptionally, the returned Cffu also does so, + with a CompletionException holding this exception as its cause. + If no suppliers are provided, returns an incomplete Cffu.
      +
      +
      Type Parameters:
      +
      T - the suppliers' return type
      +
      Parameters:
      +
      suppliers - the suppliers returning the value to be used to complete the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      mSupplyAnyAsync

      +
      @SafeVarargs +public final <T> Cffu<T> mSupplyAnyAsync(Executor executor, + Supplier<? extends T>... suppliers)
      +
      Returns a new Cffu that is completed + when any of tasks running in the given Executor by calling the given Suppliers complete, with the same result. + Otherwise, if it completed exceptionally, the returned Cffu also does so, + with a CompletionException holding this exception as its cause. + If no suppliers are provided, returns an incomplete Cffu.
      +
      +
      Type Parameters:
      +
      T - the suppliers' return type
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      suppliers - the suppliers returning the value to be used to complete the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      mRunFastFailAsync

      +
      public Cffu<Void> mRunFastFailAsync(Runnable... actions)
      +
      Returns a new Cffu that is asynchronously completed + by tasks running in the Cffu's default asynchronous execution facility + after runs the given actions.
      +
      +
      Parameters:
      +
      actions - the actions to run before completing the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      mRunFastFailAsync

      +
      public Cffu<Void> mRunFastFailAsync(Executor executor, + Runnable... actions)
      +
      Returns a new Cffu that is asynchronously completed by tasks running in the given Executor + after runs the given actions.
      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      actions - the actions to run before completing the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      mRunAsync

      +
      public Cffu<Void> mRunAsync(Runnable... actions)
      +
      Returns a new Cffu that is asynchronously completed + by tasks running in the Cffu's default asynchronous execution facility + after runs the given actions.
      +
      +
      Parameters:
      +
      actions - the actions to run before completing the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      mRunAsync

      +
      public Cffu<Void> mRunAsync(Executor executor, + Runnable... actions)
      +
      Returns a new Cffu that is asynchronously completed by tasks running in the given Executor + after runs the given actions.
      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      actions - the actions to run before completing the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      mRunAnySuccessAsync

      +
      public Cffu<Void> mRunAnySuccessAsync(Runnable... actions)
      +
      Returns a new Cffu that is asynchronously successful + when any tasks running in the Cffu's default asynchronous execution facility success.
      +
      +
      Parameters:
      +
      actions - the actions to run before completing the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      mRunAnySuccessAsync

      +
      public Cffu<Void> mRunAnySuccessAsync(Executor executor, + Runnable... actions)
      +
      Returns a new Cffu that is asynchronously completed + when any tasks running in the Cffu's default asynchronous execution facility.
      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      actions - the actions to run before completing the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      mRunAnyAsync

      +
      public Cffu<Void> mRunAnyAsync(Runnable... actions)
      +
      Returns a new Cffu that is asynchronously completed + when any tasks running in the Cffu's default asynchronous execution facility.
      +
      +
      Parameters:
      +
      actions - the actions to run before completing the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      mRunAnyAsync

      +
      public Cffu<Void> mRunAnyAsync(Executor executor, + Runnable... actions)
      +
      Returns a new Cffu that is asynchronously completed + when any tasks running in the given executor complete.
      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      actions - the actions to run before completing the returned Cffu
      +
      Returns:
      +
      the new Cffu
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      tupleMSupplyFastFailAsync

      +
      public <T1, +T2> Cffu<Tuple2<T1,T2>> tupleMSupplyFastFailAsync(Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2)
      +
      Returns a new Cffu that is asynchronously completed + by tasks running in the defaultExecutor() with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
      +
      +
      Returns:
      +
      the new Cffu
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      tupleMSupplyFastFailAsync

      +
      public <T1, +T2> Cffu<Tuple2<T1,T2>> tupleMSupplyFastFailAsync(Executor executor, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2)
      +
      Returns a new Cffu that is asynchronously completed + by tasks running in the defaultExecutor() with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new Cffu
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      tupleMSupplyFastFailAsync

      +
      public <T1, +T2, +T3> Cffu<Tuple3<T1,T2,T3>> tupleMSupplyFastFailAsync(Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3)
      +
      Returns a new Cffu that is asynchronously completed + by tasks running in the given Executor with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
      +
      +
      Returns:
      +
      the new Cffu
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      tupleMSupplyFastFailAsync

      +
      public <T1, +T2, +T3> Cffu<Tuple3<T1,T2,T3>> tupleMSupplyFastFailAsync(Executor executor, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3)
      +
      Returns a new Cffu that is asynchronously completed + by tasks running in the given Executor with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new Cffu
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      tupleMSupplyFastFailAsync

      +
      public <T1, +T2, +T3, +T4> Cffu<Tuple4<T1,T2,T3,T4>> tupleMSupplyFastFailAsync(Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4)
      +
      Returns a new Cffu that is asynchronously completed + by tasks running in the defaultExecutor() with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
      +
      +
      Returns:
      +
      the new Cffu
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      tupleMSupplyFastFailAsync

      +
      public <T1, +T2, +T3, +T4> Cffu<Tuple4<T1,T2,T3,T4>> tupleMSupplyFastFailAsync(Executor executor, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4)
      +
      Returns a new Cffu that is asynchronously completed + by tasks running in the given Executor with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new Cffu
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      tupleMSupplyFastFailAsync

      +
      public <T1, +T2, +T3, +T4, +T5> +Cffu<Tuple5<T1,T2,T3,T4,T5>> tupleMSupplyFastFailAsync(Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4, + Supplier<? extends T5> supplier5)
      +
      Returns a new Cffu that is asynchronously completed + by tasks running in the defaultExecutor() with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
      +
      +
      Returns:
      +
      the new Cffu
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      tupleMSupplyFastFailAsync

      +
      public <T1, +T2, +T3, +T4, +T5> +Cffu<Tuple5<T1,T2,T3,T4,T5>> tupleMSupplyFastFailAsync(Executor executor, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4, + Supplier<? extends T5> supplier5)
      +
      Returns a new Cffu that is asynchronously completed + by tasks running in the given Executor with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new Cffu
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      tupleMSupplyAllSuccessAsync

      +
      public <T1, +T2> Cffu<Tuple2<T1,T2>> tupleMSupplyAllSuccessAsync(Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2)
      +
      Returns a new Cffu that is asynchronously completed + by tasks running in the Cffu's default asynchronous execution facility + with the successful values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments. +

      + If any of the provided suppliers fails, its corresponding position will contain null + (which is indistinguishable from the supplier having a successful value of null).

      +
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      tupleMSupplyAllSuccessAsync

      +
      public <T1, +T2> Cffu<Tuple2<T1,T2>> tupleMSupplyAllSuccessAsync(Executor executor, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2)
      +
      Returns a new Cffu that is asynchronously completed + by tasks running in the given executor with the successfully values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments. +

      + If any of the provided suppliers fails, its corresponding position will contain null + (which is indistinguishable from the supplier having a successful value of null).

      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      tupleMSupplyAllSuccessAsync

      +
      public <T1, +T2, +T3> Cffu<Tuple3<T1,T2,T3>> tupleMSupplyAllSuccessAsync(Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3)
      +
      Returns a new Cffu that is asynchronously completed + by tasks running in the Cffu's default asynchronous execution facility + with the successful values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments. +

      + If any of the provided suppliers fails, its corresponding position will contain null + (which is indistinguishable from the supplier having a successful value of null).

      +
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      tupleMSupplyAllSuccessAsync

      +
      public <T1, +T2, +T3> Cffu<Tuple3<T1,T2,T3>> tupleMSupplyAllSuccessAsync(Executor executor, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3)
      +
      Returns a new Cffu that is asynchronously completed + by tasks running in the given executor with the successfully values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments. +

      + If any of the provided suppliers fails, its corresponding position will contain null + (which is indistinguishable from the supplier having a successful value of null).

      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      tupleMSupplyAllSuccessAsync

      +
      public <T1, +T2, +T3, +T4> Cffu<Tuple4<T1,T2,T3,T4>> tupleMSupplyAllSuccessAsync(Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4)
      +
      Returns a new Cffu that is asynchronously completed + by tasks running in the Cffu's default asynchronous execution facility + with the successful values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments. +

      + If any of the provided suppliers fails, its corresponding position will contain null + (which is indistinguishable from the supplier having a successful value of null).

      +
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      tupleMSupplyAllSuccessAsync

      +
      public <T1, +T2, +T3, +T4> Cffu<Tuple4<T1,T2,T3,T4>> tupleMSupplyAllSuccessAsync(Executor executor, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4)
      +
      Returns a new Cffu that is asynchronously completed + by tasks running in the given executor with the successfully values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments. +

      + If any of the provided suppliers fails, its corresponding position will contain null + (which is indistinguishable from the supplier having a successful value of null).

      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      tupleMSupplyAllSuccessAsync

      +
      public <T1, +T2, +T3, +T4, +T5> +Cffu<Tuple5<T1,T2,T3,T4,T5>> tupleMSupplyAllSuccessAsync(Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4, + Supplier<? extends T5> supplier5)
      +
      Returns a new Cffu that is asynchronously completed + by tasks running in the Cffu's default asynchronous execution facility + with the successful values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments. +

      + If any of the provided suppliers fails, its corresponding position will contain null + (which is indistinguishable from the supplier having a successful value of null).

      +
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      tupleMSupplyAllSuccessAsync

      +
      public <T1, +T2, +T3, +T4, +T5> +Cffu<Tuple5<T1,T2,T3,T4,T5>> tupleMSupplyAllSuccessAsync(Executor executor, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4, + Supplier<? extends T5> supplier5)
      +
      Returns a new Cffu that is asynchronously completed + by tasks running in the given executor with the successfully values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments. +

      + If any of the provided suppliers fails, its corresponding position will contain null + (which is indistinguishable from the supplier having a successful value of null).

      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      tupleMSupplyMostSuccessAsync

      +
      public <T1, +T2> Cffu<Tuple2<T1,T2>> tupleMSupplyMostSuccessAsync(long timeout, + TimeUnit unit, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2)
      +
      Returns a new Cffu that is asynchronously completed + by tasks running in the Cffu's default asynchronous execution facility + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments. +

      + If the given supplier is successful in the given time, the return result is the completed value; + Otherwise null.

      +
      +
      Parameters:
      +
      timeout - how long to wait in units of unit
      +
      unit - a TimeUnit determining how to interpret the timeout parameter
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      tupleMSupplyMostSuccessAsync

      +
      public <T1, +T2> Cffu<Tuple2<T1,T2>> tupleMSupplyMostSuccessAsync(Executor executor, + long timeout, + TimeUnit unit, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2)
      +
      Returns a new Cffu that is asynchronously completed by tasks running in the given Executor + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments. +

      + If the given supplier is successful in the given time, the return result is the completed value; + Otherwise null.

      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      timeout - how long to wait in units of unit
      +
      unit - a TimeUnit determining how to interpret the timeout parameter
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      tupleMSupplyMostSuccessAsync

      +
      public <T1, +T2, +T3> Cffu<Tuple3<T1,T2,T3>> tupleMSupplyMostSuccessAsync(long timeout, + TimeUnit unit, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3)
      +
      Returns a new Cffu that is asynchronously completed + by tasks running in the Cffu's default asynchronous execution facility + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments. +

      + If the given supplier is successful in the given time, the return result is the completed value; + Otherwise null.

      +
      +
      Parameters:
      +
      timeout - how long to wait in units of unit
      +
      unit - a TimeUnit determining how to interpret the timeout parameter
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      tupleMSupplyMostSuccessAsync

      +
      public <T1, +T2, +T3> Cffu<Tuple3<T1,T2,T3>> tupleMSupplyMostSuccessAsync(Executor executor, + long timeout, + TimeUnit unit, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3)
      +
      Returns a new Cffu that is asynchronously completed by tasks running in the given Executor + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments. +

      + If the given supplier is successful in the given time, the return result is the completed value; + Otherwise null.

      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      timeout - how long to wait in units of unit
      +
      unit - a TimeUnit determining how to interpret the timeout parameter
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      tupleMSupplyMostSuccessAsync

      +
      public <T1, +T2, +T3, +T4> Cffu<Tuple4<T1,T2,T3,T4>> tupleMSupplyMostSuccessAsync(long timeout, + TimeUnit unit, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4)
      +
      Returns a new Cffu that is asynchronously completed + by tasks running in the Cffu's default asynchronous execution facility + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments. +

      + If the given supplier is successful in the given time, the return result is the completed value; + Otherwise null.

      +
      +
      Parameters:
      +
      timeout - how long to wait in units of unit
      +
      unit - a TimeUnit determining how to interpret the timeout parameter
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      tupleMSupplyMostSuccessAsync

      +
      public <T1, +T2, +T3, +T4> Cffu<Tuple4<T1,T2,T3,T4>> tupleMSupplyMostSuccessAsync(Executor executor, + long timeout, + TimeUnit unit, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4)
      +
      Returns a new Cffu that is asynchronously completed by tasks running in the given Executor + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments. +

      + If the given supplier is successful in the given time, the return result is the completed value; + Otherwise null.

      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      timeout - how long to wait in units of unit
      +
      unit - a TimeUnit determining how to interpret the timeout parameter
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      tupleMSupplyMostSuccessAsync

      +
      public <T1, +T2, +T3, +T4, +T5> +Cffu<Tuple5<T1,T2,T3,T4,T5>> tupleMSupplyMostSuccessAsync(long timeout, + TimeUnit unit, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4, + Supplier<? extends T5> supplier5)
      +
      Returns a new Cffu that is asynchronously completed + by tasks running in the Cffu's default asynchronous execution facility + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments. +

      + If the given supplier is successful in the given time, the return result is the completed value; + Otherwise null.

      +
      +
      Parameters:
      +
      timeout - how long to wait in units of unit
      +
      unit - a TimeUnit determining how to interpret the timeout parameter
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      tupleMSupplyMostSuccessAsync

      +
      public <T1, +T2, +T3, +T4, +T5> +Cffu<Tuple5<T1,T2,T3,T4,T5>> tupleMSupplyMostSuccessAsync(Executor executor, + long timeout, + TimeUnit unit, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4, + Supplier<? extends T5> supplier5)
      +
      Returns a new Cffu that is asynchronously completed by tasks running in the given Executor + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments. +

      + If the given supplier is successful in the given time, the return result is the completed value; + Otherwise null.

      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      timeout - how long to wait in units of unit
      +
      unit - a TimeUnit determining how to interpret the timeout parameter
      +
      Returns:
      +
      the new Cffu
      +
      +
      +
    • +
    • +
      +

      tupleMSupplyAsync

      +
      public <T1, +T2> Cffu<Tuple2<T1,T2>> tupleMSupplyAsync(Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2)
      +
      Returns a new Cffu that is asynchronously completed + by tasks running in the defaultExecutor() with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
      +
      +
      Returns:
      +
      the new Cffu
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      tupleMSupplyAsync

      +
      public <T1, +T2> Cffu<Tuple2<T1,T2>> tupleMSupplyAsync(Executor executor, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2)
      +
      Returns a new Cffu that is asynchronously completed + by tasks running in the given Executor with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new Cffu
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      tupleMSupplyAsync

      +
      public <T1, +T2, +T3> Cffu<Tuple3<T1,T2,T3>> tupleMSupplyAsync(Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3)
      +
      Returns a new Cffu that is asynchronously completed + by tasks running in the defaultExecutor() with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
      +
      +
      Returns:
      +
      the new Cffu
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      tupleMSupplyAsync

      +
      public <T1, +T2, +T3> Cffu<Tuple3<T1,T2,T3>> tupleMSupplyAsync(Executor executor, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3)
      +
      Returns a new Cffu that is asynchronously completed + by tasks running in the given Executor with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new Cffu
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      tupleMSupplyAsync

      +
      public <T1, +T2, +T3, +T4> Cffu<Tuple4<T1,T2,T3,T4>> tupleMSupplyAsync(Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4)
      +
      Returns a new Cffu that is asynchronously completed + by tasks running in the defaultExecutor() with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
      +
      +
      Returns:
      +
      the new Cffu
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      tupleMSupplyAsync

      +
      public <T1, +T2, +T3, +T4> Cffu<Tuple4<T1,T2,T3,T4>> tupleMSupplyAsync(Executor executor, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4)
      +
      Returns a new Cffu that is asynchronously completed + by tasks running in the given Executor with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new Cffu
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      tupleMSupplyAsync

      +
      public <T1, +T2, +T3, +T4, +T5> +Cffu<Tuple5<T1,T2,T3,T4,T5>> tupleMSupplyAsync(Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4, + Supplier<? extends T5> supplier5)
      +
      Returns a new Cffu that is asynchronously completed + by tasks running in the defaultExecutor() with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
      +
      +
      Returns:
      +
      the new Cffu
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      tupleMSupplyAsync

      +
      public <T1, +T2, +T3, +T4, +T5> +Cffu<Tuple5<T1,T2,T3,T4,T5>> tupleMSupplyAsync(Executor executor, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4, + Supplier<? extends T5> supplier5)
      +
      Returns a new Cffu that is asynchronously completed + by tasks running in the given Executor with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new Cffu
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      allResultsFastFailOf

      +
      @Contract(pure=true) +@SafeVarargs +public final <T> Cffu<List<T>> allResultsFastFailOf(CompletionStage<? extends T>... cfs)
      +
      Returns a new Cffu that is successful with the results in the same order + of the given stages arguments when all the given stages success; + 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. + If no stages are provided, returns a Cffu completed with the value empty list. +

      + This method is the same as allResultsOf(CompletionStage[]) except for the fast-fail behavior.

      +
      +
      Parameters:
      +
      cfs - the stages
      +
      Returns:
      +
      a new Cffu that is successful when all the given stages success
      +
      Throws:
      +
      NullPointerException - if the array or any of its elements are null
      +
      +
      +
    • +
    • +
      +

      allSuccessResultsOf

      +
      @Contract(pure=true) +@SafeVarargs +public final <T> Cffu<List<T>> allSuccessResultsOf(@Nullable + T valueIfFailed, + CompletionStage<? extends T>... cfs)
      +
      Returns a new Cffu that is successful with the results in the same order + of the given stages arguments when all the given stages completed; + If no stages are provided, returns a Cffu completed with the value empty list. +

      + If any of the provided stages fails, its corresponding position will contain valueIfFailed.

      +
      +
      Parameters:
      +
      valueIfFailed - the value to return if not completed successfully
      +
      cfs - the stages
      +
      Throws:
      +
      NullPointerException - if the array or any of its elements are null
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      mostSuccessResultsOf

      +
      @Contract(pure=true) +@SafeVarargs +public final <T> Cffu<List<T>> mostSuccessResultsOf(@Nullable + T valueIfNotSuccess, + long timeout, + TimeUnit unit, + CompletionStage<? extends T>... cfs)
      +
      Returns a new Cffu with the most results in the same order of + the given stages arguments in the given time(timeout, aka as many results as possible in the given time). +

      + If any of the provided stages does not success(fails or incomplete) in given time, + its corresponding position will contain valueIfNotSuccess.

      +
      +
      Parameters:
      +
      valueIfNotSuccess - the value to return if not completed successfully
      +
      timeout - how long to wait in units of unit
      +
      unit - a TimeUnit determining how to interpret the timeout parameter
      +
      cfs - the stages
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      allResultsOf

      +
      @Contract(pure=true) +@SafeVarargs +public final <T> Cffu<List<T>> allResultsOf(CompletionStage<? extends T>... cfs)
      +
      Returns a new Cffu with the results in the same order of the given stages arguments, + the new Cffu 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. + If no stages are provided, returns a Cffu completed with the value empty list. +

      + This method is the same as allOf(CompletionStage[]), + except that the returned Cffu contains the results of the given stages.

      +
      +
      Parameters:
      +
      cfs - the stages
      +
      Returns:
      +
      a new Cffu that is completed when all the given stages complete
      +
      Throws:
      +
      NullPointerException - if the array or any of its elements are null
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      allFastFailOf

      +
      @Contract(pure=true) +public Cffu<Void> allFastFailOf(CompletionStage<?>... cfs)
      +
      Returns a new Cffu that is successful when all the given stages success; + 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. + Otherwise, the results of the given stages are not reflected in the returned Cffu(Cffu<Void>), + but may be obtained by inspecting them individually. + If no stages are provided, returns a Cffu completed with the value null. +

      + This method is the same as allOf(CompletionStage[]) except for the fast-fail behavior. +

      + If you need the results of given stages, prefer below methods: +

      +

      + If you need the successful results of given stages in the given time, prefer below methods: +

      +
      +
      Parameters:
      +
      cfs - the stages
      +
      Returns:
      +
      a new Cffu that is successful when all the given stages success
      +
      Throws:
      +
      NullPointerException - if the array or any of its elements are null
      +
      +
      +
    • +
    • +
      +

      allOf

      +
      @CheckReturnValue(explanation="should use the returned Cffu; forget to call its `join()` method?") +@Contract(pure=true) +public Cffu<Void> allOf(CompletionStage<?>... cfs)
      +
      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. + Otherwise, the results, if any, of the given stages are not reflected in the returned + Cffu(Cffu<Void>), but may be obtained by inspecting them individually. + If no stages are provided, returns a Cffu completed with the value null. +

      + Among the applications of this method is to await completion of a set of independent stages + before continuing a program, as in: cffuFactory.allOf(c1, c2, c3).join();. +

      + If you need the results of given stages, prefer below methods: +

      +

      + If you need the successful results of given stages in the given time, prefer below methods: +

      +
      +
      Parameters:
      +
      cfs - the stages
      +
      Returns:
      +
      a new Cffu that is completed when all the given stages complete
      +
      Throws:
      +
      NullPointerException - if the array or any of its elements are null
      +
      +
      +
    • +
    • +
      +

      anySuccessOf

      +
      @SafeVarargs +public final <T> Cffu<T> anySuccessOf(CompletionStage<? extends T>... cfs)
      +
      Returns a new Cffu that is successful when any of the given stages success, + with the same result. Otherwise, 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. If no stages are provided, + returns a new Cffu that is already completed exceptionally + with a CompletionException holding a NoCfsProvidedException as its cause. +

      + This method is the same as anyOf(CompletionStage[]) + except for the any-success behavior instead of any-complete.

      +
      +
      Parameters:
      +
      cfs - the stages
      +
      Returns:
      +
      a new Cffu that is successful when any of the given stages success, with the same result
      +
      Throws:
      +
      NullPointerException - if the array or any of its elements are null
      +
      +
      +
    • +
    • +
      +

      anyOf

      +
      @Contract(pure=true) +@SafeVarargs +public final <T> Cffu<T> anyOf(CompletionStage<? extends T>... cfs)
      +
      Returns a new Cffu that is completed when any of the given stages complete, with the same result.
      + Otherwise, if it completed exceptionally, the returned Cffu also does so, + with a CompletionException holding this exception as its cause.
      + If no stages are provided, returns an incomplete Cffu. +

      + This method is the same as CompletableFuture.anyOf(CompletableFuture[]), + except that the parameter type is more generic CompletionStage instead of CompletableFuture, + and the return type is more specific T instead of Object.

      +
      +
      Parameters:
      +
      cfs - the stages
      +
      Returns:
      +
      a new Cffu that is completed with the result or exception + from any of the given stages when one completes
      +
      Throws:
      +
      NullPointerException - if the array or any of its elements are null
      +
      +
      +
    • +
    • +
      +

      allTupleFastFailOf

      +
      @Contract(pure=true) +public <T1, +T2> Cffu<Tuple2<T1,T2>> allTupleFastFailOf(CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2)
      +
      Returns a new Cffu that is successful when the given two stages success. + 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.
      +
      +
      Returns:
      +
      a new Cffu that is successful when the given two stages success
      +
      Throws:
      +
      NullPointerException - if any of the given stages are null
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      allTupleFastFailOf

      +
      @Contract(pure=true) +public <T1, +T2, +T3> Cffu<Tuple3<T1,T2,T3>> allTupleFastFailOf(CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3)
      +
      Returns a new Cffu that is successful when the given three stages success. + 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.
      +
      +
      Returns:
      +
      a new Cffu that is successful when the given three stages success
      +
      Throws:
      +
      NullPointerException - if any of the given stages are null
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      allTupleFastFailOf

      +
      @Contract(pure=true) +public <T1, +T2, +T3, +T4> Cffu<Tuple4<T1,T2,T3,T4>> allTupleFastFailOf(CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3, + CompletionStage<? extends T4> cf4)
      +
      Returns a new Cffu that is successful when the given four stages success. + 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.
      +
      +
      Returns:
      +
      a new Cffu that is successful when the given four stages success
      +
      Throws:
      +
      NullPointerException - if any of the given stages are null
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      allTupleFastFailOf

      +
      @Contract(pure=true) +public <T1, +T2, +T3, +T4, +T5> +Cffu<Tuple5<T1,T2,T3,T4,T5>> allTupleFastFailOf(CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3, + CompletionStage<? extends T4> cf4, + CompletionStage<? extends T5> cf5)
      +
      Returns a new Cffu that is successful when the given five stages success. + 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.
      +
      +
      Returns:
      +
      a new Cffu that is successful when the given five stages success
      +
      Throws:
      +
      NullPointerException - if any of the given stages are null
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      allSuccessTupleOf

      +
      @Contract(pure=true) +public <T1, +T2> Cffu<Tuple2<T1,T2>> allSuccessTupleOf(CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2)
      +
      Returns a new Cffu that is successful + with the results of the given stages arguments when all the given stages completed. +

      + If any of the provided stages fails, its corresponding position will contain null + (which is indistinguishable from the stage having a successful value of null).

      +
      +
      Returns:
      +
      a new Cffu
      +
      Throws:
      +
      NullPointerException - if any of the given stages are null
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      allSuccessTupleOf

      +
      @Contract(pure=true) +public <T1, +T2, +T3> Cffu<Tuple3<T1,T2,T3>> allSuccessTupleOf(CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3)
      +
      Returns a new Cffu that is successful + with the results of the given stages arguments when all the given stages completed. +

      + If any of the provided stages fails, its corresponding position will contain null + (which is indistinguishable from the stage having a successful value of null).

      +
      +
      Returns:
      +
      a new Cffu
      +
      Throws:
      +
      NullPointerException - if any of the given stages are null
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      allSuccessTupleOf

      +
      @Contract(pure=true) +public <T1, +T2, +T3, +T4> Cffu<Tuple4<T1,T2,T3,T4>> allSuccessTupleOf(CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3, + CompletionStage<? extends T4> cf4)
      +
      Returns a new Cffu that is successful + with the results of the given stages arguments when all the given stages completed. +

      + If any of the provided stages fails, its corresponding position will contain null + (which is indistinguishable from the stage having a successful value of null).

      +
      +
      Returns:
      +
      a new Cffu
      +
      Throws:
      +
      NullPointerException - if any of the given stages are null
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      allSuccessTupleOf

      +
      @Contract(pure=true) +public <T1, +T2, +T3, +T4, +T5> +Cffu<Tuple5<T1,T2,T3,T4,T5>> allSuccessTupleOf(CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3, + CompletionStage<? extends T4> cf4, + CompletionStage<? extends T5> cf5)
      +
      Returns a new Cffu that is successful + with the results of the given stages arguments when all the given stages completed. +

      + If any of the provided stages fails, its corresponding position will contain null + (which is indistinguishable from the stage having a successful value of null).

      +
      +
      Returns:
      +
      a new Cffu
      +
      Throws:
      +
      NullPointerException - if any of the given stages are null
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      mostSuccessTupleOf

      +
      @Contract(pure=true) +public <T1, +T2> Cffu<Tuple2<T1,T2>> mostSuccessTupleOf(long timeout, + TimeUnit unit, + CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2)
      +
      Returns a new Cffu with the most results in the same order of the given two stages arguments + in the given time(timeout, aka as many results as possible in the given time). +

      + If the given stage is successful, its result is the completed value; Otherwise the value null.

      +
      +
      Parameters:
      +
      timeout - how long to wait in units of unit
      +
      unit - a TimeUnit determining how to interpret the timeout parameter
      +
      Returns:
      +
      a new Cffu that is completed when the given two stages complete
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      mostSuccessTupleOf

      +
      @Contract(pure=true) +public <T1, +T2, +T3> Cffu<Tuple3<T1,T2,T3>> mostSuccessTupleOf(long timeout, + TimeUnit unit, + CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3)
      +
      Returns a new Cffu with the most results in the same order of the given three stages arguments + in the given time(timeout, aka as many results as possible in the given time). +

      + If the given stage is successful, its result is the completed value; Otherwise the value null.

      +
      +
      Parameters:
      +
      timeout - how long to wait in units of unit
      +
      unit - a TimeUnit determining how to interpret the timeout parameter
      +
      Returns:
      +
      a new Cffu that is completed when the given three stages complete
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      mostSuccessTupleOf

      +
      @Contract(pure=true) +public <T1, +T2, +T3, +T4> Cffu<Tuple4<T1,T2,T3,T4>> mostSuccessTupleOf(long timeout, + TimeUnit unit, + CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3, + CompletionStage<? extends T4> cf4)
      +
      Returns a new Cffu with the most results in the same order of the given four stages arguments + in the given time(timeout, aka as many results as possible in the given time). +

      + If the given stage is successful, its result is the completed value; Otherwise the value null.

      +
      +
      Parameters:
      +
      timeout - how long to wait in units of unit
      +
      unit - a TimeUnit determining how to interpret the timeout parameter
      +
      Returns:
      +
      a new Cffu that is completed when the given four stages complete
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      mostSuccessTupleOf

      +
      @Contract(pure=true) +public <T1, +T2, +T3, +T4, +T5> +Cffu<Tuple5<T1,T2,T3,T4,T5>> mostSuccessTupleOf(long timeout, + TimeUnit unit, + CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3, + CompletionStage<? extends T4> cf4, + CompletionStage<? extends T5> cf5)
      +
      Returns a new Cffu with the most results in the same order of the given five stages arguments + in the given time(timeout, aka as many results as possible in the given time). +

      + If the given stage is successful, its result is the completed value; Otherwise the value null.

      +
      +
      Parameters:
      +
      timeout - how long to wait in units of unit
      +
      unit - a TimeUnit determining how to interpret the timeout parameter
      +
      Returns:
      +
      a new Cffu that is completed when the given five stages complete
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      allTupleOf

      +
      @Contract(pure=true) +public <T1, +T2> Cffu<Tuple2<T1,T2>> allTupleOf(CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2)
      +
      Returns a new Cffu that is completed when the given two 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.
      +
      +
      Returns:
      +
      a new Cffu that is completed when the given two stages complete
      +
      Throws:
      +
      NullPointerException - if any of the given stages are null
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      allTupleOf

      +
      @Contract(pure=true) +public <T1, +T2, +T3> Cffu<Tuple3<T1,T2,T3>> allTupleOf(CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3)
      +
      Returns a new Cffu that is completed when the given three 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.
      +
      +
      Returns:
      +
      a new Cffu that is completed when the given three stages complete
      +
      Throws:
      +
      NullPointerException - if any of the given stages are null
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      allTupleOf

      +
      @Contract(pure=true) +public <T1, +T2, +T3, +T4> Cffu<Tuple4<T1,T2,T3,T4>> allTupleOf(CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3, + CompletionStage<? extends T4> cf4)
      +
      Returns a new Cffu that is completed when the given four 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.
      +
      +
      Returns:
      +
      a new Cffu that is completed when the given four stages complete
      +
      Throws:
      +
      NullPointerException - if any of the given stages are null
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      allTupleOf

      +
      @Contract(pure=true) +public <T1, +T2, +T3, +T4, +T5> +Cffu<Tuple5<T1,T2,T3,T4,T5>> allTupleOf(CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3, + CompletionStage<? extends T4> cf4, + CompletionStage<? extends T5> cf5)
      +
      Returns a new Cffu that is completed when the given five 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.
      +
      +
      Returns:
      +
      a new Cffu that is completed when the given five stages complete
      +
      Throws:
      +
      NullPointerException - if any of the given stages are null
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      completedFuture

      +
      @Contract(pure=true) +public <T> Cffu<T> completedFuture(@Nullable + T value)
      +
      Returns a new Cffu that is already completed with the given value.
      +
      +
      Type Parameters:
      +
      T - the type of the value
      +
      Parameters:
      +
      value - the value
      +
      Returns:
      +
      the completed Cffu
      +
      +
      +
    • +
    • +
      +

      completedStage

      +
      @Contract(pure=true) +public <T> CompletionStage<T> completedStage(@Nullable + T value)
      +
      Returns a new CompletionStage that is already completed with the given value + and supports only those methods in interface CompletionStage. +

      + CAUTION:
      + if run on old Java 8(not support *minimal* CompletionStage), just return a Cffu with + a *normal* underlying CompletableFuture which is NOT with a *minimal* CompletionStage.

      +
      +
      Type Parameters:
      +
      T - the type of the value
      +
      Parameters:
      +
      value - the value
      +
      Returns:
      +
      the completed CompletionStage
      +
      +
      +
    • +
    • +
      +

      failedFuture

      +
      @Contract(pure=true) +public <T> Cffu<T> failedFuture(Throwable ex)
      +
      Returns a new Cffu that is already completed exceptionally with the given exception.
      +
      +
      Type Parameters:
      +
      T - the type of the value
      +
      Parameters:
      +
      ex - the exception
      +
      Returns:
      +
      the exceptionally completed Cffu
      +
      +
      +
    • +
    • +
      +

      failedStage

      +
      @Contract(pure=true) +public <T> CompletionStage<T> failedStage(Throwable ex)
      +
      Returns a new CompletionStage that is already completed exceptionally + with the given exception and supports only those methods in interface CompletionStage. +

      + CAUTION:
      + if run on old Java 8(not support *minimal* CompletionStage), just return a Cffu with + a *normal* underlying CompletableFuture which is NOT with a *minimal* CompletionStage.

      +
      +
      Type Parameters:
      +
      T - the type of the value
      +
      Parameters:
      +
      ex - the exception
      +
      Returns:
      +
      the exceptionally completed CompletionStage
      +
      +
      +
    • +
    • +
      +

      toCffu

      +
      @Contract(pure=true) +public <T> Cffu<T> toCffu(CompletionStage<T> stage)
      +
      Returns a Cffu maintaining the same completion properties as this stage and this CffuFactory config. + If this stage is already a Cffu and have the same CffuFactory, this method may return this stage itself.
      +
      +
      Throws:
      +
      NullPointerException - if the given stage is null
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      toCffuArray

      +
      @Contract(pure=true) +@SafeVarargs +public final <T> Cffu<T>[] toCffuArray(CompletionStage<T>... stages)
      +
      A convenient util method for converting input CompletionStage(including CompletableFuture) + array element by toCffu(CompletionStage).
      +
      +
      Throws:
      +
      NullPointerException - if the array or any of its elements are null
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      delayedExecutor

      +
      @Contract(pure=true) +public Executor delayedExecutor(long delay, + TimeUnit unit)
      +
      Returns a new Executor that submits a task to the default executor + after the given delay (or no delay if non-positive). + Each delay commences upon invocation of the returned executor's execute method.
      +
      +
      Parameters:
      +
      delay - how long to delay, in units of unit
      +
      unit - a TimeUnit determining how to interpret the delay parameter
      +
      Returns:
      +
      the new delayed executor
      +
      +
      +
    • +
    • +
      +

      delayedExecutor

      +
      @Contract(pure=true) +public Executor delayedExecutor(long delay, + TimeUnit unit, + Executor executor)
      +
      Returns a new Executor that submits a task to the given base executor + after the given delay (or no delay if non-positive). + Each delay commences upon invocation of the returned executor's execute method.
      +
      +
      Parameters:
      +
      delay - how long to delay, in units of unit
      +
      unit - a TimeUnit determining how to interpret the delay parameter
      +
      executor - the base executor
      +
      Returns:
      +
      the new delayed executor
      +
      +
      +
    • +
    • +
      +

      cffuListToArray

      +
      @Contract(pure=true) +public static <T> Cffu<T>[] cffuListToArray(List<Cffu<T>> cffuList)
      +
      Convert Cffu list to Cffu array.
      +
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      defaultExecutor

      +
      @Contract(pure=true) +public Executor defaultExecutor()
      +
      Returns the default Executor used for async methods that do not specify an Executor. + Configured by builder(Executor).
      +
      +
      Returns:
      +
      the default executor
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      forbidObtrudeMethods

      +
      @Contract(pure=true) +public boolean forbidObtrudeMethods()
      +
      Returns forbidObtrudeMethods or not.
      +
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    +
    +
  • +
+
+ +
+
+
+ +
+
+
+ + diff --git a/cffu/1.0.0-Alpha22/io/foldright/cffu/CffuFactoryBuilder.html b/cffu/1.0.0-Alpha22/io/foldright/cffu/CffuFactoryBuilder.html new file mode 100644 index 0000000..3cc8b89 --- /dev/null +++ b/cffu/1.0.0-Alpha22/io/foldright/cffu/CffuFactoryBuilder.html @@ -0,0 +1,226 @@ + + + + +CffuFactoryBuilder (CompletableFuture-Fu(cffu) 1.0.0-Alpha22 API) + + + + + + + + + + + + + + +
+ +
+
+ +
+ +

Class CffuFactoryBuilder

+
+
java.lang.Object +
io.foldright.cffu.CffuFactoryBuilder
+
+
+
+
@ThreadSafe +public final class CffuFactoryBuilder +extends Object
+ +
+
Author:
+
Jerry Lee (oldratlee at gmail dot com)
+
See Also:
+
+ +
+
+
+
+ +
+
+ +
+ +
+
+
+ +
+
+
+ + diff --git a/cffu/1.0.0-Alpha22/io/foldright/cffu/CffuState.html b/cffu/1.0.0-Alpha22/io/foldright/cffu/CffuState.html new file mode 100644 index 0000000..d0ad977 --- /dev/null +++ b/cffu/1.0.0-Alpha22/io/foldright/cffu/CffuState.html @@ -0,0 +1,348 @@ + + + + +CffuState (CompletableFuture-Fu(cffu) 1.0.0-Alpha22 API) + + + + + + + + + + + + + + +
+ +
+
+ +
+ +

Enum CffuState

+
+
java.lang.Object +
java.lang.Enum<CffuState> +
io.foldright.cffu.CffuState
+
+
+
+
+
All Implemented Interfaces:
+
Serializable, Comparable<CffuState>, java.lang.constant.Constable
+
+
+
public enum CffuState +extends Enum<CffuState>
+
This class is the same as Future.State, existed for java version compatibility.
+
+
Author:
+
Jerry Lee (oldratlee at gmail dot com)
+
See Also:
+
+ +
+
+
+
+ +
+
+ +
+ +
+
+
+ +
+
+
+ + diff --git a/cffu/1.0.0-Alpha22/io/foldright/cffu/CompletableFutureUtils.html b/cffu/1.0.0-Alpha22/io/foldright/cffu/CompletableFutureUtils.html new file mode 100644 index 0000000..9679480 --- /dev/null +++ b/cffu/1.0.0-Alpha22/io/foldright/cffu/CompletableFutureUtils.html @@ -0,0 +1,7617 @@ + + + + +CompletableFutureUtils (CompletableFuture-Fu(cffu) 1.0.0-Alpha22 API) + + + + + + + + + + + + + + +
+ +
+
+ +
+ +

Class CompletableFutureUtils

+
+
java.lang.Object +
io.foldright.cffu.CompletableFutureUtils
+
+
+
+
public final class CompletableFutureUtils +extends Object
+
This class contains the new enhanced and backport methods for CompletableFuture.
+
+
Author:
+
Jerry Lee (oldratlee at gmail dot com), HuHao (995483610 at qq dot com), Eric Lin (linqinghua4 at gmail dot com)
+
+
+
+
    + +
  • +
    +

    Method Summary

    +
    +
    +
    +
    +
    Modifier and Type
    +
    Method
    +
    Description
    +
    static <T> CompletableFuture<Void>
    +
    acceptEitherSuccess(CompletableFuture<? extends T> cfThis, + CompletionStage<? extends T> other, + Consumer<? super T> action)
    +
    +
    Returns a new CompletableFuture that, when either given stage success, + is executed with the corresponding result as argument to the supplied action.
    +
    +
    static <T> CompletableFuture<Void>
    +
    acceptEitherSuccessAsync(CompletableFuture<? extends T> cfThis, + CompletionStage<? extends T> other, + Consumer<? super T> action)
    +
    +
    Returns a new CompletableFuture that, when either given stage success, + is executed using this CompletableFuture's default asynchronous execution facility, + with the corresponding result as argument to the supplied action.
    +
    +
    static <T> CompletableFuture<Void>
    +
    acceptEitherSuccessAsync(CompletableFuture<? extends T> cfThis, + CompletionStage<? extends T> other, + Consumer<? super T> action, + Executor executor)
    +
    +
    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.
    +
    + + +
    +
    Returns a new CompletableFuture that is successful when all the given stages success; + 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.
    +
    + + +
    +
    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.
    +
    +
    static <T> CompletableFuture<List<T>>
    + +
    +
    Returns a new CompletableFuture that is successful with the results in the same order + of the given stages arguments when all the given stages success; + 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.
    +
    +
    static <T> CompletableFuture<List<T>>
    +
    allResultsOf(CompletionStage<? extends T>... cfs)
    +
    +
    Returns a new CompletableFuture with the results in the same order of the given stages arguments, + the new CompletableFuture 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.
    +
    +
    static <T> CompletableFuture<List<T>>
    +
    allSuccessResultsOf(T valueIfFailed, + CompletionStage<? extends T>... cfs)
    +
    +
    Returns a new CompletableFuture that is successful with the results in the same order + of the given stages arguments when all the given stages completed; + If no stages are provided, returns a CompletableFuture completed with the value empty list.
    +
    +
    static <T1, +T2> CompletableFuture<Tuple2<T1,T2>>
    +
    allSuccessTupleOf(CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2)
    +
    +
    Returns a new CompletableFuture that is successful + with the results of the given stages arguments when all the given stages completed.
    +
    +
    static <T1, +T2, +T3>
    CompletableFuture<Tuple3<T1,T2,T3>>
    +
    allSuccessTupleOf(CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3)
    +
    +
    Returns a new CompletableFuture that is successful + with the results of the given stages arguments when all the given stages completed.
    +
    +
    static <T1, +T2, +T3, +T4>
    CompletableFuture<Tuple4<T1,T2,T3,T4>>
    +
    allSuccessTupleOf(CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3, + CompletionStage<? extends T4> cf4)
    +
    +
    Returns a new CompletableFuture that is successful + with the results of the given stages arguments when all the given stages completed.
    +
    +
    static <T1, +T2, +T3, +T4, +T5>
    CompletableFuture<Tuple5<T1,T2,T3,T4,T5>>
    +
    allSuccessTupleOf(CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3, + CompletionStage<? extends T4> cf4, + CompletionStage<? extends T5> cf5)
    +
    +
    Returns a new CompletableFuture that is successful + with the results of the given stages arguments when all the given stages completed.
    +
    +
    static <T1, +T2> CompletableFuture<Tuple2<T1,T2>>
    +
    allTupleFastFailOf(CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2)
    +
    +
    Returns a new CompletableFuture that is successful when the given stages success.
    +
    +
    static <T1, +T2, +T3>
    CompletableFuture<Tuple3<T1,T2,T3>>
    +
    allTupleFastFailOf(CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3)
    +
    +
    Returns a new CompletableFuture that is successful when the given stages success.
    +
    +
    static <T1, +T2, +T3, +T4>
    CompletableFuture<Tuple4<T1,T2,T3,T4>>
    +
    allTupleFastFailOf(CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3, + CompletionStage<? extends T4> cf4)
    +
    +
    Returns a new CompletableFuture that is successful when the given stages success.
    +
    +
    static <T1, +T2, +T3, +T4, +T5>
    CompletableFuture<Tuple5<T1,T2,T3,T4,T5>>
    +
    allTupleFastFailOf(CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3, + CompletionStage<? extends T4> cf4, + CompletionStage<? extends T5> cf5)
    +
    +
    Returns a new CompletableFuture that is successful when the given stages success.
    +
    +
    static <T1, +T2> CompletableFuture<Tuple2<T1,T2>>
    +
    allTupleOf(CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2)
    +
    +
    Returns a new CompletableFuture that is completed when the given stages complete.
    +
    +
    static <T1, +T2, +T3>
    CompletableFuture<Tuple3<T1,T2,T3>>
    +
    allTupleOf(CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3)
    +
    +
    Returns a new CompletableFuture that is completed when the given stages complete.
    +
    +
    static <T1, +T2, +T3, +T4>
    CompletableFuture<Tuple4<T1,T2,T3,T4>>
    +
    allTupleOf(CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3, + CompletionStage<? extends T4> cf4)
    +
    +
    Returns a new CompletableFuture that is completed when the given stages complete.
    +
    +
    static <T1, +T2, +T3, +T4, +T5>
    CompletableFuture<Tuple5<T1,T2,T3,T4,T5>>
    +
    allTupleOf(CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3, + CompletionStage<? extends T4> cf4, + CompletionStage<? extends T5> cf5)
    +
    +
    Returns a new CompletableFuture that is completed when the given stages complete.
    +
    +
    static <T> CompletableFuture<T>
    +
    anyOf(CompletionStage<? extends T>... cfs)
    +
    +
    Returns a new CompletableFuture that is completed when any of the given stages complete, with the same result.
    +
    +
    static <T> CompletableFuture<T>
    +
    anySuccessOf(CompletionStage<? extends T>... cfs)
    +
    +
    Returns a new CompletableFuture that is successful when any of the given stages success, + with the same result.
    +
    +
    static <T, +U> CompletableFuture<U>
    +
    applyToEitherSuccess(CompletableFuture<? extends T> cfThis, + CompletionStage<? extends T> other, + Function<? super T,? extends U> fn)
    +
    +
    Returns a new CompletableFuture that, when either given stage success, + is executed with the corresponding result as argument to the supplied function.
    +
    +
    static <T, +U> CompletableFuture<U>
    +
    applyToEitherSuccessAsync(CompletableFuture<? extends T> cfThis, + CompletionStage<? extends T> other, + Function<? super T,? extends U> fn)
    +
    +
    Returns a new CompletableFuture that, when either given stage success, + is executed using this CompletableFuture's default asynchronous execution facility, + with the corresponding result as argument to the supplied function.
    +
    +
    static <T, +U> CompletableFuture<U>
    +
    applyToEitherSuccessAsync(CompletableFuture<? extends T> cfThis, + CompletionStage<? extends T> other, + Function<? super T,? extends U> fn, + Executor executor)
    +
    +
    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.
    +
    +
    static <T, +X extends Throwable, +C extends CompletionStage<? super T>>
    C
    +
    catching(C cfThis, + Class<X> exceptionType, + Function<? super X,? extends T> fallback)
    +
    +
    Returns a new CompletionStage that, when given stage completes exceptionally with the given exceptionType, + is executed with given stage's exception as the argument to the supplied function.
    +
    +
    static <T, +X extends Throwable, +C extends CompletionStage<? super T>>
    C
    +
    catchingAsync(C cfThis, + Class<X> exceptionType, + Function<? super X,? extends T> fallback)
    +
    +
    Returns a new CompletionStage that, when given stage completes exceptionally with the given exceptionType, + is executed with given stage's exception as the argument to the supplied function, + using the given stage's default asynchronous execution facility.
    +
    +
    static <T, +X extends Throwable, +C extends CompletionStage<? super T>>
    C
    +
    catchingAsync(C cfThis, + Class<X> exceptionType, + Function<? super X,? extends T> fallback, + Executor executor)
    +
    +
    Returns a new CompletionStage that, when given stage completes exceptionally with the given exceptionType, + is executed with given stage's exception as the argument to the supplied function, using the supplied Executor.
    +
    +
    static <T, +X extends Throwable, +C extends CompletionStage<? super T>>
    C
    +
    catchingCompose(C cfThis, + Class<X> exceptionType, + Function<? super X,? extends CompletionStage<T>> fallback)
    +
    +
    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 given stage's exception.
    +
    +
    static <T, +X extends Throwable, +C extends CompletionStage<? super T>>
    C
    +
    catchingComposeAsync(C cfThis, + Class<X> exceptionType, + Function<? super X,? extends CompletionStage<T>> fallback)
    +
    +
    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 given stage's exception, + using given stage's default asynchronous execution facility.
    +
    +
    static <T, +X extends Throwable, +C extends CompletionStage<? super T>>
    C
    +
    catchingComposeAsync(C cfThis, + Class<X> exceptionType, + Function<? super X,? extends CompletionStage<T>> fallback, + Executor executor)
    +
    +
    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 given's exception, + using the supplied Executor.
    +
    +
    static <T, +C extends CompletableFuture<? super T>>
    C
    +
    cffuCompleteOnTimeout(C cfThis, + T value, + long timeout, + TimeUnit unit)
    +
    +
    Completes given CompletableFuture with the given value if not otherwise completed before the given timeout.
    +
    +
    static <T, +C extends CompletableFuture<? super T>>
    C
    +
    cffuCompleteOnTimeout(C cfThis, + T value, + Executor executorWhenTimeout, + long timeout, + TimeUnit unit)
    +
    +
    Completes given CompletableFuture with the given value if not otherwise completed before the given timeout.
    +
    +
    static <C extends CompletableFuture<?>>
    C
    +
    cffuOrTimeout(C cfThis, + long timeout, + TimeUnit unit)
    +
    +
    Exceptionally completes given CompletableFuture with a TimeoutException + if not otherwise completed before the given timeout.
    +
    +
    static <C extends CompletableFuture<?>>
    C
    +
    cffuOrTimeout(C cfThis, + Executor executorWhenTimeout, + long timeout, + TimeUnit unit)
    +
    +
    Exceptionally completes given CompletableFuture with a TimeoutException + if not otherwise completed before the given timeout.
    +
    +
    static <T> CompletableFuture<T>[]
    + +
    +
    A convenient util method for converting input CompletableFuture list to CompletableFuture array.
    +
    +
    static <T, +C extends CompletableFuture<? super T>>
    C
    +
    completeAsync(C cfThis, + Supplier<? extends T> supplier)
    +
    +
    Completes given CompletableFuture with the result of the given Supplier function invoked + from an asynchronous task using the default executor.
    +
    +
    static <T, +C extends CompletableFuture<? super T>>
    C
    +
    completeAsync(C cfThis, + Supplier<? extends T> supplier, + Executor executor)
    +
    +
    Completes given CompletableFuture with the result of the given Supplier function invoked + from an asynchronous task using the given executor.
    +
    +
    static <T> CompletionStage<T>
    +
    completedStage(T value)
    +
    +
    Returns a new CompletionStage that is already completed with the given value + and supports only those methods in interface CompletionStage.
    +
    +
    static <C extends CompletableFuture<?>>
    C
    +
    completeExceptionallyAsync(C cfThis, + Supplier<? extends Throwable> supplier)
    +
    +
    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.
    +
    +
    static <C extends CompletableFuture<?>>
    C
    +
    completeExceptionallyAsync(C cfThis, + Supplier<? extends Throwable> supplier, + Executor executor)
    +
    +
    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.
    +
    +
    static <T, +C extends CompletableFuture<? super T>>
    C
    +
    completeOnTimeout(C cfThis, + T value, + long timeout, + TimeUnit unit)
    +
    +
    Completes given CompletableFuture with the given value if not otherwise completed before the given timeout.
    +
    +
    static <T> CompletableFuture<T>
    + +
    +
    Returns a new CompletableFuture that is completed normally with the same value as this CompletableFuture when + it completes normally.
    +
    +
    static Executor
    + +
    +
    Returns the default Executor used for async methods that do not specify an Executor.
    +
    +
    static Executor
    +
    delayedExecutor(long delay, + TimeUnit unit)
    +
    +
    Returns a new Executor that submits a task to the default executor after the given delay (or no delay + if non-positive).
    +
    +
    static Executor
    +
    delayedExecutor(long delay, + TimeUnit unit, + Executor executor)
    +
    +
    Returns a new Executor that submits a task to the given base executor after the given delay (or no delay + if non-positive).
    +
    +
    static <T, +C extends CompletionStage<? super T>>
    C
    +
    exceptionallyAsync(C cfThis, + Function<Throwable,? extends T> fn)
    +
    +
    Returns a new CompletionStage that, when given stage completes exceptionally, is executed with given + stage's exception as the argument to the supplied function, using given stage's + default asynchronous execution facility.
    +
    +
    static <T, +C extends CompletionStage<? super T>>
    C
    +
    exceptionallyAsync(C cfThis, + Function<Throwable,? extends T> fn, + Executor executor)
    +
    +
    Returns a new CompletionStage that, when given stage completes exceptionally, is executed with given + stage's exception as the argument to the supplied function, using the supplied Executor.
    +
    +
    static <T, +C extends CompletionStage<? super T>>
    C
    +
    exceptionallyCompose(C cfThis, + Function<Throwable,? extends CompletionStage<T>> fn)
    +
    +
    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.
    +
    +
    static <T, +C extends CompletionStage<? super T>>
    C
    + +
    +
    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 given CompletableFuture's default asynchronous execution facility.
    +
    +
    static <T, +C extends CompletionStage<? super T>>
    C
    +
    exceptionallyComposeAsync(C cfThis, + Function<Throwable,? extends CompletionStage<T>> fn, + Executor executor)
    +
    +
    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.
    +
    +
    static Throwable
    +
    exceptionNow(Future<?> cfThis)
    +
    +
    Returns the exception thrown by the task, without waiting.
    +
    +
    static <T> CompletableFuture<T>
    + +
    +
    Returns a new CompletableFuture that is already completed exceptionally with the given exception.
    +
    +
    static <T> CompletionStage<T>
    + +
    +
    Returns a new CompletionStage that is already completed exceptionally with + the given exception and supports only those methods in interface CompletionStage.
    +
    +
    static <T> T
    +
    getSuccessNow(CompletableFuture<? extends T> cfThis, + T valueIfNotSuccess)
    +
    +
    Returns the result value if the given stage is completed successfully, else returns the given valueIfNotSuccess.
    +
    +
    static <T> T
    +
    join(CompletableFuture<T> cfThis, + long timeout, + TimeUnit unit)
    +
    +
    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.
    +
    +
    static <T> CompletionStage<T>
    + +
    +
    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.
    +
    +
    static <T> CompletableFuture<List<T>>
    +
    mostSuccessResultsOf(T valueIfNotSuccess, + long timeout, + TimeUnit unit, + CompletionStage<? extends T>... cfs)
    +
    +
    Returns a new CompletableFuture with the most results in the same order of + the given stages arguments in the given time(timeout, aka as many results as possible in the given time).
    +
    +
    static <T> CompletableFuture<List<T>>
    +
    mostSuccessResultsOf(T valueIfNotSuccess, + Executor executorWhenTimeout, + long timeout, + TimeUnit unit, + CompletionStage<? extends T>... cfs)
    +
    +
    Returns a new CompletableFuture with the most results in the same order of + the given stages arguments in the given time(timeout, aka as many results as possible in the given time).
    +
    +
    static <T1, +T2> CompletableFuture<Tuple2<T1,T2>>
    +
    mostSuccessTupleOf(long timeout, + TimeUnit unit, + CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2)
    +
    +
    Returns a new CompletableFuture with the most results in the same order of + the given stages arguments in the given time(timeout, aka as many results as possible in the given time).
    +
    +
    static <T1, +T2, +T3>
    CompletableFuture<Tuple3<T1,T2,T3>>
    +
    mostSuccessTupleOf(long timeout, + TimeUnit unit, + CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3)
    +
    +
    Returns a new CompletableFuture with the most results in the same order of + the given stages arguments in the given time(timeout, aka as many results as possible in the given time).
    +
    +
    static <T1, +T2, +T3, +T4>
    CompletableFuture<Tuple4<T1,T2,T3,T4>>
    +
    mostSuccessTupleOf(long timeout, + TimeUnit unit, + CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3, + CompletionStage<? extends T4> cf4)
    +
    +
    Returns a new CompletableFuture with the most results in the same order of + the given stages arguments in the given time(timeout, aka as many results as possible in the given time).
    +
    +
    static <T1, +T2, +T3, +T4, +T5>
    CompletableFuture<Tuple5<T1,T2,T3,T4,T5>>
    +
    mostSuccessTupleOf(long timeout, + TimeUnit unit, + CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3, + CompletionStage<? extends T4> cf4, + CompletionStage<? extends T5> cf5)
    +
    +
    Returns a new CompletableFuture with the most results in the same order of + the given stages arguments in the given time(timeout, aka as many results as possible in the given time).
    +
    +
    static <T1, +T2> CompletableFuture<Tuple2<T1,T2>>
    +
    mostSuccessTupleOf(Executor executorWhenTimeout, + long timeout, + TimeUnit unit, + CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2)
    +
    +
    Returns a new CompletableFuture with the most results in the same order of + the given stages arguments in the given time(timeout, aka as many results as possible in the given time).
    +
    +
    static <T1, +T2, +T3>
    CompletableFuture<Tuple3<T1,T2,T3>>
    +
    mostSuccessTupleOf(Executor executorWhenTimeout, + long timeout, + TimeUnit unit, + CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3)
    +
    +
    Returns a new CompletableFuture with the most results in the same order of + the given stages arguments in the given time(timeout, aka as many results as possible in the given time).
    +
    +
    static <T1, +T2, +T3, +T4>
    CompletableFuture<Tuple4<T1,T2,T3,T4>>
    +
    mostSuccessTupleOf(Executor executorWhenTimeout, + long timeout, + TimeUnit unit, + CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3, + CompletionStage<? extends T4> cf4)
    +
    +
    Returns a new CompletableFuture with the most results in the same order of + the given stages arguments in the given time(timeout, aka as many results as possible in the given time).
    +
    +
    static <T1, +T2, +T3, +T4, +T5>
    CompletableFuture<Tuple5<T1,T2,T3,T4,T5>>
    +
    mostSuccessTupleOf(Executor executorWhenTimeout, + long timeout, + TimeUnit unit, + CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3, + CompletionStage<? extends T4> cf4, + CompletionStage<? extends T5> cf5)
    +
    +
    Returns a new CompletableFuture with the most results in the same order of + the given stages arguments in the given time(timeout, aka as many results as possible in the given time).
    +
    + +
    mRunAnyAsync(Runnable... actions)
    +
    +
    Returns a new CompletableFuture that is asynchronously completed + when any tasks running in the CompletableFuture's default asynchronous execution facility.
    +
    + +
    mRunAnyAsync(Executor executor, + Runnable... actions)
    +
    +
    Returns a new CompletableFuture that is asynchronously completed + when any tasks running in the given executor complete.
    +
    + + +
    +
    Returns a new CompletableFuture that is asynchronously successful + when any tasks running in the CompletableFuture's default asynchronous execution facility success.
    +
    + +
    mRunAnySuccessAsync(Executor executor, + Runnable... actions)
    +
    +
    Returns a new CompletableFuture that is asynchronously successful + when any tasks running in the given executor success.
    +
    + +
    mRunAsync(Runnable... actions)
    +
    +
    Returns a new CompletableFuture that is asynchronously completed + by tasks running in the CompletableFuture's default asynchronous execution facility + after runs the given actions.
    +
    + +
    mRunAsync(Executor executor, + Runnable... actions)
    +
    +
    Returns a new CompletableFuture that is asynchronously completed + by tasks running in the given Executor after runs the given actions.
    +
    + + +
    +
    Returns a new CompletableFuture that is asynchronously completed + by tasks running in the CompletableFuture's default asynchronous execution facility + after runs the given actions.
    +
    + +
    mRunFastFailAsync(Executor executor, + Runnable... actions)
    +
    +
    Returns a new CompletableFuture that is asynchronously completed + by tasks running in the given Executor after runs the given actions.
    +
    +
    static <T> CompletableFuture<List<T>>
    +
    mSupplyAllSuccessAsync(T valueIfFailed, + Executor executor, + Supplier<? extends T>... suppliers)
    +
    +
    Returns a new CompletableFuture that is asynchronously completed + by tasks running in the given Executor with the successfully values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    static <T> CompletableFuture<List<T>>
    +
    mSupplyAllSuccessAsync(T valueIfFailed, + Supplier<? extends T>... suppliers)
    +
    +
    Returns a new CompletableFuture that is asynchronously completed + by tasks running in the CompletableFuture's default asynchronous execution facility + with the successful values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    static <T> CompletableFuture<T>
    +
    mSupplyAnyAsync(Executor executor, + Supplier<? extends T>... suppliers)
    +
    +
    Returns a new CompletableFuture that is completed + when any of tasks running in the given Executor by calling the given Suppliers complete, with the same result.
    +
    +
    static <T> CompletableFuture<T>
    +
    mSupplyAnyAsync(Supplier<? extends T>... suppliers)
    +
    +
    Returns a new CompletableFuture that is completed + when any of tasks running in the CompletableFuture's default asynchronous execution facility + by calling the given Suppliers complete, with the same result.
    +
    +
    static <T> CompletableFuture<T>
    +
    mSupplyAnySuccessAsync(Executor executor, + Supplier<? extends T>... suppliers)
    +
    +
    Returns a new CompletableFuture that is asynchronously successful + when any of tasks running in the given executor by calling the given Suppliers success, with the same result.
    +
    +
    static <T> CompletableFuture<T>
    +
    mSupplyAnySuccessAsync(Supplier<? extends T>... suppliers)
    +
    +
    Returns a new CompletableFuture that is asynchronously successful + when any of tasks running in the CompletableFuture's default asynchronous execution facility + by calling the given Suppliers success, with the same result.
    +
    +
    static <T> CompletableFuture<List<T>>
    +
    mSupplyAsync(Executor executor, + Supplier<? extends T>... suppliers)
    +
    +
    Returns a new CompletableFuture that is asynchronously completed + by tasks running in the given Executor with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    static <T> CompletableFuture<List<T>>
    +
    mSupplyAsync(Supplier<? extends T>... suppliers)
    +
    +
    Returns a new CompletableFuture that is asynchronously completed + by tasks running in the CompletableFuture's default asynchronous execution facility + with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    static <T> CompletableFuture<List<T>>
    +
    mSupplyFastFailAsync(Executor executor, + Supplier<? extends T>... suppliers)
    +
    +
    Returns a new CompletableFuture that is asynchronously completed + by tasks running in the given Executor with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    static <T> CompletableFuture<List<T>>
    +
    mSupplyFastFailAsync(Supplier<? extends T>... suppliers)
    +
    +
    Returns a new CompletableFuture that is asynchronously completed + by tasks running in the CompletableFuture's default asynchronous execution facility + with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    static <T> CompletableFuture<List<T>>
    +
    mSupplyMostSuccessAsync(T valueIfNotSuccess, + long timeout, + TimeUnit unit, + Supplier<? extends T>... suppliers)
    +
    +
    Returns a new CompletableFuture that is asynchronously completed + by tasks running in the CompletableFuture's default asynchronous execution facility + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments.
    +
    +
    static <T> CompletableFuture<List<T>>
    +
    mSupplyMostSuccessAsync(T valueIfNotSuccess, + Executor executor, + long timeout, + TimeUnit unit, + Supplier<? extends T>... suppliers)
    +
    +
    Returns a new CompletableFuture that is asynchronously completed + by tasks running in the given Executor with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments.
    +
    +
    static <U> CompletableFuture<U>
    + +
    +
    Returns a new incomplete CompletableFuture of the type to be returned by a CompletionStage method.
    +
    +
    static <C extends CompletableFuture<?>>
    C
    +
    orTimeout(C cfThis, + long timeout, + TimeUnit unit)
    +
    +
    Exceptionally completes given CompletableFuture with a TimeoutException + if not otherwise completed before the given timeout.
    +
    +
    static <T, +C extends CompletionStage<? extends T>>
    C
    +
    peek(C cfThis, + BiConsumer<? super T,? super Throwable> action)
    +
    +
    Peeks the result by executing the given action when given stage completes, returns the given stage.
    +
    +
    static <T, +C extends CompletionStage<? extends T>>
    C
    +
    peekAsync(C cfThis, + BiConsumer<? super T,? super Throwable> action)
    +
    +
    Peeks the result by executing the given action when given stage completes, + executes the given action using given stage's default asynchronous execution facility, + returns the given stage.
    +
    +
    static <T, +C extends CompletionStage<? extends T>>
    C
    +
    peekAsync(C cfThis, + BiConsumer<? super T,? super Throwable> action, + Executor executor)
    +
    +
    Peeks the result by executing the given action when given stage completes, + executes the given action using the supplied Executor, returns the given stage.
    +
    +
    static <T> T
    +
    resultNow(Future<T> cfThis)
    +
    +
    Returns the computed result, without waiting.
    +
    + + +
    +
    Returns a new CompletableFuture that, when two given stages both complete normally, executes the given action.
    +
    + + +
    +
    Returns a new CompletableFuture that, when two given stages both complete normally, + executes the given action using CompletableFuture's default asynchronous execution facility.
    +
    + +
    runAfterBothFastFailAsync(CompletableFuture<?> cfThis, + CompletionStage<?> other, + Runnable action, + Executor executor)
    +
    +
    Returns a new CompletableFuture that, when two given stages both complete normally, + executes the given action using the supplied executor.
    +
    + + +
    +
    Returns a new CompletableFuture that, when either given stage success, executes the given action.
    +
    + + +
    +
    Returns a new CompletableFuture that, when either given stage success, executes the given action + using CompletableFuture's default asynchronous execution facility.
    +
    + +
    runAfterEitherSuccessAsync(CompletableFuture<?> cfThis, + CompletionStage<?> other, + Runnable action, + Executor executor)
    +
    +
    Returns a new CompletableFuture that, when either given stage success, executes the given action + using the supplied executor.
    +
    +
    static CffuState
    +
    state(Future<?> cfThis)
    +
    +
    Returns the computation state(CffuState), this method is equivalent to CompletableFuture.state() + with java version compatibility logic, so you can invoke in old java 18-.
    +
    +
    static <T, +U> CompletableFuture<Void>
    +
    thenAcceptBothFastFail(CompletableFuture<? extends T> cfThis, + CompletionStage<? extends U> other, + BiConsumer<? super T,? super U> action)
    +
    +
    Returns a new CompletableFuture that, when tow given stage both complete normally, + is executed with the two results as arguments to the supplied action.
    +
    +
    static <T, +U> CompletableFuture<Void>
    +
    thenAcceptBothFastFailAsync(CompletableFuture<? extends T> cfThis, + CompletionStage<? extends U> other, + BiConsumer<? super T,? super U> action)
    +
    +
    Returns a new CompletableFuture that, when tow given stage both complete normally, + is executed using CompletableFuture's default asynchronous execution facility, + with the two results as arguments to the supplied action.
    +
    +
    static <T, +U> CompletableFuture<Void>
    +
    thenAcceptBothFastFailAsync(CompletableFuture<? extends T> cfThis, + CompletionStage<? extends U> other, + BiConsumer<? super T,? super U> action, + Executor executor)
    +
    +
    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.
    +
    +
    static <T, +U, +V> CompletableFuture<V>
    +
    thenCombineFastFail(CompletableFuture<? extends T> cfThis, + CompletionStage<? extends U> other, + BiFunction<? super T,? super U,? extends V> fn)
    +
    +
    Returns a new CompletableFuture that, when tow given stage both complete normally, + is executed with the two results as arguments to the supplied function.
    +
    +
    static <T, +U, +V> CompletableFuture<V>
    +
    thenCombineFastFailAsync(CompletableFuture<? extends T> cfThis, + CompletionStage<? extends U> other, + BiFunction<? super T,? super U,? extends V> fn)
    +
    +
    Returns a new CompletableFuture that, when tow given stage both complete normally, + is executed using CompletableFuture's default asynchronous execution facility, + with the two results as arguments to the supplied function.
    +
    +
    static <T, +U, +V> CompletableFuture<V>
    +
    thenCombineFastFailAsync(CompletableFuture<? extends T> cfThis, + CompletionStage<? extends U> other, + BiFunction<? super T,? super U,? extends V> fn, + Executor executor)
    +
    +
    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.
    +
    +
    static <T> CompletableFuture<Void>
    +
    thenMAcceptAnyAsync(CompletableFuture<? extends T> cfThis, + Executor executor, + Consumer<? super T>... actions)
    +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the given Executor, with the given stage's result as the argument to the given actions.
    +
    +
    static <T> CompletableFuture<Void>
    +
    thenMAcceptAnyAsync(CompletableFuture<? extends T> cfThis, + Consumer<? super T>... actions)
    +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the CompletableFuture's default asynchronous execution facility, + with the given stage's result as the argument to the given actions.
    +
    +
    static <T> CompletableFuture<Void>
    +
    thenMAcceptAnySuccessAsync(CompletableFuture<? extends T> cfThis, + Executor executor, + Consumer<? super T>... actions)
    +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the given Executor, with the given stage's result as the argument to the given actions.
    +
    +
    static <T> CompletableFuture<Void>
    +
    thenMAcceptAnySuccessAsync(CompletableFuture<? extends T> cfThis, + Consumer<? super T>... actions)
    +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the CompletableFuture's default asynchronous execution facility, + with the given stage's result as the argument to the given actions.
    +
    +
    static <T> CompletableFuture<Void>
    +
    thenMAcceptAsync(CompletableFuture<? extends T> cfThis, + Executor executor, + Consumer<? super T>... actions)
    +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the given Executor, with the given stage's result as the argument to the given actions.
    +
    +
    static <T> CompletableFuture<Void>
    +
    thenMAcceptAsync(CompletableFuture<? extends T> cfThis, + Consumer<? super T>... actions)
    +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the CompletableFuture's default asynchronous execution facility, + with the given stage's result as the argument to the given actions.
    +
    +
    static <T> CompletableFuture<Void>
    +
    thenMAcceptFastFailAsync(CompletableFuture<? extends T> cfThis, + Executor executor, + Consumer<? super T>... actions)
    +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the given Executor, with the given stage's result as the argument to the given actions.
    +
    +
    static <T> CompletableFuture<Void>
    +
    thenMAcceptFastFailAsync(CompletableFuture<? extends T> cfThis, + Consumer<? super T>... actions)
    +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the CompletableFuture's default asynchronous execution facility, + with the given stage's result as the argument to the given actions.
    +
    +
    static <T, +U> CompletableFuture<List<U>>
    +
    thenMApplyAllSuccessAsync(CompletableFuture<? extends T> cfThis, + U valueIfFailed, + Executor executor, + Function<? super T,? extends U>... fns)
    +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + is executed in the given Executor with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    static <T, +U> CompletableFuture<List<U>>
    +
    thenMApplyAllSuccessAsync(CompletableFuture<? extends T> cfThis, + U valueIfFailed, + Function<? super T,? extends U>... fns)
    +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + is executed in the CompletableFuture's default asynchronous execution facility + with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    static <T, +U> CompletableFuture<U>
    +
    thenMApplyAnyAsync(CompletableFuture<? extends T> cfThis, + Executor executor, + Function<? super T,? extends U>... fns)
    +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the given Executor, with any completed result obtained by calling the given Functions + (with the given stage's result as the argument to the given functions).
    +
    +
    static <T, +U> CompletableFuture<U>
    +
    thenMApplyAnyAsync(CompletableFuture<? extends T> cfThis, + Function<? super T,? extends U>... fns)
    +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the CompletableFuture's default asynchronous execution facility, + with any completed result obtained by calling the given Functions + (with the given stage's result as the argument to the given functions).
    +
    +
    static <T, +U> CompletableFuture<U>
    +
    thenMApplyAnySuccessAsync(CompletableFuture<? extends T> cfThis, + Executor executor, + Function<? super T,? extends U>... fns)
    +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the given Executor, with any successful value obtained by calling the given Functions + (with the given stage's result as the argument to the given functions).
    +
    +
    static <T, +U> CompletableFuture<U>
    +
    thenMApplyAnySuccessAsync(CompletableFuture<? extends T> cfThis, + Function<? super T,? extends U>... fns)
    +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the CompletableFuture's default asynchronous execution facility, + with any successful value obtained by calling the given Functions + (with the given stage's result as the argument to the given functions).
    +
    +
    static <T, +U> CompletableFuture<List<U>>
    +
    thenMApplyAsync(CompletableFuture<? extends T> cfThis, + Executor executor, + Function<? super T,? extends U>... fns)
    +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the given Executor, with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    static <T, +U> CompletableFuture<List<U>>
    +
    thenMApplyAsync(CompletableFuture<? extends T> cfThis, + Function<? super T,? extends U>... fns)
    +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the CompletableFuture's default asynchronous execution facility, + with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    static <T, +U> CompletableFuture<List<U>>
    +
    thenMApplyFastFailAsync(CompletableFuture<? extends T> cfThis, + Executor executor, + Function<? super T,? extends U>... fns)
    +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the given Executor, with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    static <T, +U> CompletableFuture<List<U>>
    +
    thenMApplyFastFailAsync(CompletableFuture<? extends T> cfThis, + Function<? super T,? extends U>... fns)
    +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the CompletableFuture's default asynchronous execution facility, + with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    static <T, +U> CompletableFuture<List<U>>
    +
    thenMApplyMostSuccessAsync(CompletableFuture<? extends T> cfThis, + U valueIfNotSuccess, + long timeout, + TimeUnit unit, + Function<? super T,? extends U>... fns)
    +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the CompletableFuture's default asynchronous execution facility, + with the most values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Functions arguments.
    +
    +
    static <T, +U> CompletableFuture<List<U>>
    +
    thenMApplyMostSuccessAsync(CompletableFuture<? extends T> cfThis, + U valueIfNotSuccess, + Executor executor, + long timeout, + TimeUnit unit, + Function<? super T,? extends U>... fns)
    +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the given Executor, with the most values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Functions arguments.
    +
    + +
    thenMRunAnyAsync(CompletableFuture<?> cfThis, + Runnable... actions)
    +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + executes the given actions using the CompletableFuture's default asynchronous execution facility.
    +
    + +
    thenMRunAnyAsync(CompletableFuture<?> cfThis, + Executor executor, + Runnable... actions)
    +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + executes the given actions using the given Executor.
    +
    + + +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + executes the given actions using the CompletableFuture's default asynchronous execution facility.
    +
    + +
    thenMRunAnySuccessAsync(CompletableFuture<?> cfThis, + Executor executor, + Runnable... actions)
    +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + executes the given actions using the given Executor.
    +
    + +
    thenMRunAsync(CompletableFuture<?> cfThis, + Runnable... actions)
    +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + executes the given actions using the CompletableFuture's default asynchronous execution facility.
    +
    + +
    thenMRunAsync(CompletableFuture<?> cfThis, + Executor executor, + Runnable... actions)
    +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + executes the given actions using the given Executor.
    +
    + + +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + executes the given actions using the CompletableFuture's default asynchronous execution facility.
    +
    + +
    thenMRunFastFailAsync(CompletableFuture<?> cfThis, + Executor executor, + Runnable... actions)
    +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + executes the given actions using the given Executor.
    +
    +
    static <T, +U1, +U2>
    CompletableFuture<Tuple2<U1,U2>>
    +
    thenTupleMApplyAllSuccessAsync(CompletableFuture<? extends T> cfThis, + Executor executor, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2)
    +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + is executed in the given Executor with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    static <T, +U1, +U2, +U3>
    CompletableFuture<Tuple3<U1,U2,U3>>
    +
    thenTupleMApplyAllSuccessAsync(CompletableFuture<? extends T> cfThis, + Executor executor, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3)
    +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + is executed in the given Executor with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    static <T, +U1, +U2, +U3, +U4>
    CompletableFuture<Tuple4<U1,U2,U3,U4>>
    +
    thenTupleMApplyAllSuccessAsync(CompletableFuture<? extends T> cfThis, + Executor executor, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4)
    +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + is executed in the given Executor with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    static <T, +U1, +U2, +U3, +U4, +U5>
    CompletableFuture<Tuple5<U1,U2,U3,U4,U5>>
    +
    thenTupleMApplyAllSuccessAsync(CompletableFuture<? extends T> cfThis, + Executor executor, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4, + Function<? super T,? extends U5> fn5)
    +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + is executed in the given Executor with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    static <T, +U1, +U2>
    CompletableFuture<Tuple2<U1,U2>>
    +
    thenTupleMApplyAllSuccessAsync(CompletableFuture<? extends T> cfThis, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2)
    +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + is executed in the CompletableFuture's default asynchronous execution facility + with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions).
    +
    +
    static <T, +U1, +U2, +U3>
    CompletableFuture<Tuple3<U1,U2,U3>>
    +
    thenTupleMApplyAllSuccessAsync(CompletableFuture<? extends T> cfThis, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3)
    +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + is executed in the CompletableFuture's default asynchronous execution facility + with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    static <T, +U1, +U2, +U3, +U4>
    CompletableFuture<Tuple4<U1,U2,U3,U4>>
    +
    thenTupleMApplyAllSuccessAsync(CompletableFuture<? extends T> cfThis, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4)
    +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + is executed in the CompletableFuture's default asynchronous execution facility + with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    static <T, +U1, +U2, +U3, +U4, +U5>
    CompletableFuture<Tuple5<U1,U2,U3,U4,U5>>
    +
    thenTupleMApplyAllSuccessAsync(CompletableFuture<? extends T> cfThis, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4, + Function<? super T,? extends U5> fn5)
    +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + is executed in the CompletableFuture's default asynchronous execution facility + with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    static <T, +U1, +U2>
    CompletableFuture<Tuple2<U1,U2>>
    +
    thenTupleMApplyAsync(CompletableFuture<? extends T> cfThis, + Executor executor, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2)
    +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the given Executor, with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    static <T, +U1, +U2, +U3>
    CompletableFuture<Tuple3<U1,U2,U3>>
    +
    thenTupleMApplyAsync(CompletableFuture<? extends T> cfThis, + Executor executor, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3)
    +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the given Executor, with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    static <T, +U1, +U2, +U3, +U4>
    CompletableFuture<Tuple4<U1,U2,U3,U4>>
    +
    thenTupleMApplyAsync(CompletableFuture<? extends T> cfThis, + Executor executor, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4)
    +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the given Executor, with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    static <T, +U1, +U2, +U3, +U4, +U5>
    CompletableFuture<Tuple5<U1,U2,U3,U4,U5>>
    +
    thenTupleMApplyAsync(CompletableFuture<? extends T> cfThis, + Executor executor, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4, + Function<? super T,? extends U5> fn5)
    +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the given Executor, with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    static <T, +U1, +U2>
    CompletableFuture<Tuple2<U1,U2>>
    +
    thenTupleMApplyAsync(CompletableFuture<? extends T> cfThis, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2)
    +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the CompletableFuture's default asynchronous execution facility, + with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    static <T, +U1, +U2, +U3>
    CompletableFuture<Tuple3<U1,U2,U3>>
    +
    thenTupleMApplyAsync(CompletableFuture<? extends T> cfThis, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3)
    +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the CompletableFuture's default asynchronous execution facility, + with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    static <T, +U1, +U2, +U3, +U4>
    CompletableFuture<Tuple4<U1,U2,U3,U4>>
    +
    thenTupleMApplyAsync(CompletableFuture<? extends T> cfThis, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4)
    +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the CompletableFuture's default asynchronous execution facility, + with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    static <T, +U1, +U2, +U3, +U4, +U5>
    CompletableFuture<Tuple5<U1,U2,U3,U4,U5>>
    +
    thenTupleMApplyAsync(CompletableFuture<? extends T> cfThis, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4, + Function<? super T,? extends U5> fn5)
    +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the CompletableFuture's default asynchronous execution facility, + with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    static <T, +U1, +U2>
    CompletableFuture<Tuple2<U1,U2>>
    +
    thenTupleMApplyFastFailAsync(CompletableFuture<? extends T> cfThis, + Executor executor, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2)
    +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the given Executor, with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    static <T, +U1, +U2, +U3>
    CompletableFuture<Tuple3<U1,U2,U3>>
    +
    thenTupleMApplyFastFailAsync(CompletableFuture<? extends T> cfThis, + Executor executor, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3)
    +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the given Executor, with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    static <T, +U1, +U2, +U3, +U4>
    CompletableFuture<Tuple4<U1,U2,U3,U4>>
    +
    thenTupleMApplyFastFailAsync(CompletableFuture<? extends T> cfThis, + Executor executor, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4)
    +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the given Executor, with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    static <T, +U1, +U2, +U3, +U4, +U5>
    CompletableFuture<Tuple5<U1,U2,U3,U4,U5>>
    +
    thenTupleMApplyFastFailAsync(CompletableFuture<? extends T> cfThis, + Executor executor, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4, + Function<? super T,? extends U5> fn5)
    +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the given Executor, with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    static <T, +U1, +U2>
    CompletableFuture<Tuple2<U1,U2>>
    +
    thenTupleMApplyFastFailAsync(CompletableFuture<? extends T> cfThis, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2)
    +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the CompletableFuture's default asynchronous execution facility, + with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    static <T, +U1, +U2, +U3>
    CompletableFuture<Tuple3<U1,U2,U3>>
    +
    thenTupleMApplyFastFailAsync(CompletableFuture<? extends T> cfThis, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3)
    +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the CompletableFuture's default asynchronous execution facility, + with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    static <T, +U1, +U2, +U3, +U4>
    CompletableFuture<Tuple4<U1,U2,U3,U4>>
    +
    thenTupleMApplyFastFailAsync(CompletableFuture<? extends T> cfThis, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4)
    +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the CompletableFuture's default asynchronous execution facility, + with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    static <T, +U1, +U2, +U3, +U4, +U5>
    CompletableFuture<Tuple5<U1,U2,U3,U4,U5>>
    +
    thenTupleMApplyFastFailAsync(CompletableFuture<? extends T> cfThis, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4, + Function<? super T,? extends U5> fn5)
    +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the CompletableFuture's default asynchronous execution facility, + with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    static <T, +U1, +U2>
    CompletableFuture<Tuple2<U1,U2>>
    +
    thenTupleMApplyMostSuccessAsync(CompletableFuture<? extends T> cfThis, + long timeout, + TimeUnit unit, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2)
    +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the CompletableFuture's default asynchronous execution facility, + with the most values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Functions arguments.
    +
    +
    static <T, +U1, +U2, +U3>
    CompletableFuture<Tuple3<U1,U2,U3>>
    +
    thenTupleMApplyMostSuccessAsync(CompletableFuture<? extends T> cfThis, + long timeout, + TimeUnit unit, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3)
    +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the CompletableFuture's default asynchronous execution facility, + with the most values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Functions arguments.
    +
    +
    static <T, +U1, +U2, +U3, +U4>
    CompletableFuture<Tuple4<U1,U2,U3,U4>>
    +
    thenTupleMApplyMostSuccessAsync(CompletableFuture<? extends T> cfThis, + long timeout, + TimeUnit unit, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4)
    +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the CompletableFuture's default asynchronous execution facility, + with the most values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Functions arguments.
    +
    +
    static <T, +U1, +U2, +U3, +U4, +U5>
    CompletableFuture<Tuple5<U1,U2,U3,U4,U5>>
    +
    thenTupleMApplyMostSuccessAsync(CompletableFuture<? extends T> cfThis, + long timeout, + TimeUnit unit, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4, + Function<? super T,? extends U5> fn5)
    +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the CompletableFuture's default asynchronous execution facility, + with the most values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Functions arguments.
    +
    +
    static <T, +U1, +U2>
    CompletableFuture<Tuple2<U1,U2>>
    +
    thenTupleMApplyMostSuccessAsync(CompletableFuture<? extends T> cfThis, + Executor executor, + long timeout, + TimeUnit unit, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2)
    +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the given Executor, + with the most values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Functions arguments.
    +
    +
    static <T, +U1, +U2, +U3>
    CompletableFuture<Tuple3<U1,U2,U3>>
    +
    thenTupleMApplyMostSuccessAsync(CompletableFuture<? extends T> cfThis, + Executor executor, + long timeout, + TimeUnit unit, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3)
    +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the given Executor, + with the most values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Functions arguments.
    +
    +
    static <T, +U1, +U2, +U3, +U4>
    CompletableFuture<Tuple4<U1,U2,U3,U4>>
    +
    thenTupleMApplyMostSuccessAsync(CompletableFuture<? extends T> cfThis, + Executor executor, + long timeout, + TimeUnit unit, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4)
    +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the given Executor, + with the most values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Functions arguments.
    +
    +
    static <T, +U1, +U2, +U3, +U4, +U5>
    CompletableFuture<Tuple5<U1,U2,U3,U4,U5>>
    +
    thenTupleMApplyMostSuccessAsync(CompletableFuture<? extends T> cfThis, + Executor executor, + long timeout, + TimeUnit unit, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4, + Function<? super T,? extends U5> fn5)
    +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the given Executor, + with the most values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Functions arguments.
    +
    +
    static <T> CompletableFuture<T>[]
    + +
    +
    A convenient util method for converting input CompletionStage(including + Cffu/CompletableFuture) array element by CompletionStage.toCompletableFuture().
    +
    +
    static <T1, +T2> CompletableFuture<Tuple2<T1,T2>>
    +
    tupleMSupplyAllSuccessAsync(Executor executor, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2)
    +
    +
    Returns a new CompletableFuture that is asynchronously completed + by tasks running in the given executor with the successfully values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    static <T1, +T2, +T3>
    CompletableFuture<Tuple3<T1,T2,T3>>
    +
    tupleMSupplyAllSuccessAsync(Executor executor, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3)
    +
    +
    Returns a new CompletableFuture that is asynchronously completed + by tasks running in the given executor with the successfully values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    static <T1, +T2, +T3, +T4>
    CompletableFuture<Tuple4<T1,T2,T3,T4>>
    +
    tupleMSupplyAllSuccessAsync(Executor executor, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4)
    +
    +
    Returns a new CompletableFuture that is asynchronously completed + by tasks running in the given executor with the successfully values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    static <T1, +T2, +T3, +T4, +T5>
    CompletableFuture<Tuple5<T1,T2,T3,T4,T5>>
    +
    tupleMSupplyAllSuccessAsync(Executor executor, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4, + Supplier<? extends T5> supplier5)
    +
    +
    Returns a new CompletableFuture that is asynchronously completed + by tasks running in the given executor with the successfully values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    static <T1, +T2> CompletableFuture<Tuple2<T1,T2>>
    +
    tupleMSupplyAllSuccessAsync(Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2)
    +
    +
    Returns a new CompletableFuture that is asynchronously completed + by tasks running in the CompletableFuture's default asynchronous execution facility + with the successful values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    static <T1, +T2, +T3>
    CompletableFuture<Tuple3<T1,T2,T3>>
    +
    tupleMSupplyAllSuccessAsync(Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3)
    +
    +
    Returns a new CompletableFuture that is asynchronously completed + by tasks running in the CompletableFuture's default asynchronous execution facility + with the successful values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    static <T1, +T2, +T3, +T4>
    CompletableFuture<Tuple4<T1,T2,T3,T4>>
    +
    tupleMSupplyAllSuccessAsync(Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4)
    +
    +
    Returns a new CompletableFuture that is asynchronously completed + by tasks running in the CompletableFuture's default asynchronous execution facility + with the successful values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    static <T1, +T2, +T3, +T4, +T5>
    CompletableFuture<Tuple5<T1,T2,T3,T4,T5>>
    +
    tupleMSupplyAllSuccessAsync(Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4, + Supplier<? extends T5> supplier5)
    +
    +
    Returns a new CompletableFuture that is asynchronously completed + by tasks running in the CompletableFuture's default asynchronous execution facility + with the successful values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    static <T1, +T2> CompletableFuture<Tuple2<T1,T2>>
    +
    tupleMSupplyAsync(Executor executor, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2)
    +
    +
    Returns a new CompletableFuture that is asynchronously completed + by tasks running in the given Executor with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    static <T1, +T2, +T3>
    CompletableFuture<Tuple3<T1,T2,T3>>
    +
    tupleMSupplyAsync(Executor executor, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3)
    +
    +
    Returns a new CompletableFuture that is asynchronously completed + by tasks running in the given Executor with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    static <T1, +T2, +T3, +T4>
    CompletableFuture<Tuple4<T1,T2,T3,T4>>
    +
    tupleMSupplyAsync(Executor executor, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4)
    +
    +
    Returns a new CompletableFuture that is asynchronously completed + by tasks running in the given Executor with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    static <T1, +T2, +T3, +T4, +T5>
    CompletableFuture<Tuple5<T1,T2,T3,T4,T5>>
    +
    tupleMSupplyAsync(Executor executor, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4, + Supplier<? extends T5> supplier5)
    +
    +
    Returns a new CompletableFuture that is asynchronously completed + by tasks running in the given Executor with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    static <T1, +T2> CompletableFuture<Tuple2<T1,T2>>
    +
    tupleMSupplyAsync(Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2)
    +
    +
    Returns a new CompletableFuture that is asynchronously completed + by tasks running in the CompletableFuture's default asynchronous execution facility + with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    static <T1, +T2, +T3>
    CompletableFuture<Tuple3<T1,T2,T3>>
    +
    tupleMSupplyAsync(Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3)
    +
    +
    Returns a new CompletableFuture that is asynchronously completed + by tasks running in the CompletableFuture's default asynchronous execution facility + with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    static <T1, +T2, +T3, +T4>
    CompletableFuture<Tuple4<T1,T2,T3,T4>>
    +
    tupleMSupplyAsync(Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4)
    +
    +
    Returns a new CompletableFuture that is asynchronously completed + by tasks running in the CompletableFuture's default asynchronous execution facility + with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    static <T1, +T2, +T3, +T4, +T5>
    CompletableFuture<Tuple5<T1,T2,T3,T4,T5>>
    +
    tupleMSupplyAsync(Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4, + Supplier<? extends T5> supplier5)
    +
    +
    Returns a new CompletableFuture that is asynchronously completed + by tasks running in the CompletableFuture's default asynchronous execution facility + with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    static <T1, +T2> CompletableFuture<Tuple2<T1,T2>>
    +
    tupleMSupplyFastFailAsync(Executor executor, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2)
    +
    +
    Returns a new CompletableFuture that is asynchronously completed + by tasks running in the given Executor with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    static <T1, +T2, +T3>
    CompletableFuture<Tuple3<T1,T2,T3>>
    +
    tupleMSupplyFastFailAsync(Executor executor, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3)
    +
    +
    Returns a new CompletableFuture that is asynchronously completed + by tasks running in the given Executor with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    static <T1, +T2, +T3, +T4>
    CompletableFuture<Tuple4<T1,T2,T3,T4>>
    +
    tupleMSupplyFastFailAsync(Executor executor, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4)
    +
    +
    Returns a new CompletableFuture that is asynchronously completed + by tasks running in the given Executor with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    static <T1, +T2, +T3, +T4, +T5>
    CompletableFuture<Tuple5<T1,T2,T3,T4,T5>>
    +
    tupleMSupplyFastFailAsync(Executor executor, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4, + Supplier<? extends T5> supplier5)
    +
    +
    Returns a new CompletableFuture that is asynchronously completed + by tasks running in the given Executor with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    static <T1, +T2> CompletableFuture<Tuple2<T1,T2>>
    +
    tupleMSupplyFastFailAsync(Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2)
    +
    +
    Returns a new CompletableFuture that is asynchronously completed + by tasks running in the CompletableFuture's default asynchronous execution facility + with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    static <T1, +T2, +T3>
    CompletableFuture<Tuple3<T1,T2,T3>>
    +
    tupleMSupplyFastFailAsync(Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3)
    +
    +
    Returns a new CompletableFuture that is asynchronously completed + by tasks running in the CompletableFuture's default asynchronous execution facility + with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    static <T1, +T2, +T3, +T4>
    CompletableFuture<Tuple4<T1,T2,T3,T4>>
    +
    tupleMSupplyFastFailAsync(Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4)
    +
    +
    Returns a new CompletableFuture that is asynchronously completed + by tasks running in the CompletableFuture's default asynchronous execution facility + with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    static <T1, +T2, +T3, +T4, +T5>
    CompletableFuture<Tuple5<T1,T2,T3,T4,T5>>
    +
    tupleMSupplyFastFailAsync(Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4, + Supplier<? extends T5> supplier5)
    +
    +
    Returns a new CompletableFuture that is asynchronously completed + by tasks running in the CompletableFuture's default asynchronous execution facility + with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    static <T1, +T2> CompletableFuture<Tuple2<T1,T2>>
    +
    tupleMSupplyMostSuccessAsync(long timeout, + TimeUnit unit, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2)
    +
    +
    Returns a new CompletableFuture that is asynchronously completed + by tasks running in the CompletableFuture's default asynchronous execution facility + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments.
    +
    +
    static <T1, +T2, +T3>
    CompletableFuture<Tuple3<T1,T2,T3>>
    +
    tupleMSupplyMostSuccessAsync(long timeout, + TimeUnit unit, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3)
    +
    +
    Returns a new CompletableFuture that is asynchronously completed + by tasks running in the CompletableFuture's default asynchronous execution facility + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments.
    +
    +
    static <T1, +T2, +T3, +T4>
    CompletableFuture<Tuple4<T1,T2,T3,T4>>
    +
    tupleMSupplyMostSuccessAsync(long timeout, + TimeUnit unit, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4)
    +
    +
    Returns a new CompletableFuture that is asynchronously completed + by tasks running in the CompletableFuture's default asynchronous execution facility + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments.
    +
    +
    static <T1, +T2, +T3, +T4, +T5>
    CompletableFuture<Tuple5<T1,T2,T3,T4,T5>>
    +
    tupleMSupplyMostSuccessAsync(long timeout, + TimeUnit unit, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4, + Supplier<? extends T5> supplier5)
    +
    +
    Returns a new CompletableFuture that is asynchronously completed + by tasks running in the CompletableFuture's default asynchronous execution facility + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments.
    +
    +
    static <T1, +T2> CompletableFuture<Tuple2<T1,T2>>
    +
    tupleMSupplyMostSuccessAsync(Executor executor, + long timeout, + TimeUnit unit, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2)
    +
    +
    Returns a new CompletableFuture that is asynchronously completed by tasks running in the given Executor + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments.
    +
    +
    static <T1, +T2, +T3>
    CompletableFuture<Tuple3<T1,T2,T3>>
    +
    tupleMSupplyMostSuccessAsync(Executor executor, + long timeout, + TimeUnit unit, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3)
    +
    +
    Returns a new CompletableFuture that is asynchronously completed by tasks running in the given Executor + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments.
    +
    +
    static <T1, +T2, +T3, +T4>
    CompletableFuture<Tuple4<T1,T2,T3,T4>>
    +
    tupleMSupplyMostSuccessAsync(Executor executor, + long timeout, + TimeUnit unit, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4)
    +
    +
    Returns a new CompletableFuture that is asynchronously completed by tasks running in the given Executor + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments.
    +
    +
    static <T1, +T2, +T3, +T4, +T5>
    CompletableFuture<Tuple5<T1,T2,T3,T4,T5>>
    +
    tupleMSupplyMostSuccessAsync(Executor executor, + long timeout, + TimeUnit unit, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4, + Supplier<? extends T5> supplier5)
    +
    +
    Returns a new CompletableFuture that is asynchronously completed by tasks running in the given Executor + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments.
    +
    +
    static Throwable
    + +
    +
    A convenient util method for unwrapping CF exception + (CompletionException/ExecutionException) to the biz exception.
    +
    +
    +
    +
    +
    +

    Methods inherited from class java.lang.Object

    +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    +
    +
  • +
+
+
+
    + +
  • +
    +

    Method Details

    +
      +
    • +
      +

      mSupplyFastFailAsync

      +
      @SafeVarargs +public static <T> CompletableFuture<List<T>> mSupplyFastFailAsync(Supplier<? extends T>... suppliers)
      +
      Returns a new CompletableFuture that is asynchronously completed + by tasks running in the CompletableFuture's default asynchronous execution facility + with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
      +
      +
      Type Parameters:
      +
      T - the suppliers' return type
      +
      Parameters:
      +
      suppliers - the suppliers returning the value to be used to complete the returned CompletableFuture
      +
      Returns:
      +
      the new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      mSupplyFastFailAsync

      +
      @SafeVarargs +public static <T> CompletableFuture<List<T>> mSupplyFastFailAsync(Executor executor, + Supplier<? extends T>... suppliers)
      +
      Returns a new CompletableFuture that is asynchronously completed + by tasks running in the given Executor with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
      +
      +
      Type Parameters:
      +
      T - the suppliers' return type
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      suppliers - the suppliers returning the value to be used to complete the returned CompletableFuture
      +
      Returns:
      +
      the new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      mSupplyAllSuccessAsync

      +
      @SafeVarargs +public static <T> CompletableFuture<List<T>> mSupplyAllSuccessAsync(@Nullable + T valueIfFailed, + Supplier<? extends T>... suppliers)
      +
      Returns a new CompletableFuture that is asynchronously completed + by tasks running in the CompletableFuture's default asynchronous execution facility + with the successful values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments. +

      + If any of the provided suppliers fails, its corresponding position will contain valueIfFailed.

      +
      +
      Type Parameters:
      +
      T - the suppliers' return type
      +
      Parameters:
      +
      valueIfFailed - the value to return if not failed
      +
      suppliers - the suppliers returning the value to be used to complete the returned CompletableFuture
      +
      Returns:
      +
      the new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      mSupplyAllSuccessAsync

      +
      @SafeVarargs +public static <T> CompletableFuture<List<T>> mSupplyAllSuccessAsync(@Nullable + T valueIfFailed, + Executor executor, + Supplier<? extends T>... suppliers)
      +
      Returns a new CompletableFuture that is asynchronously completed + by tasks running in the given Executor with the successfully values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments. +

      + If any of the provided suppliers fails, its corresponding position will contain valueIfFailed.

      +
      +
      Type Parameters:
      +
      T - the suppliers' return type
      +
      Parameters:
      +
      valueIfFailed - the value to return if not failed
      +
      executor - the executor to use for asynchronous execution
      +
      suppliers - the suppliers returning the value to be used to complete the returned CompletableFuture
      +
      Returns:
      +
      the new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      mSupplyMostSuccessAsync

      +
      @SafeVarargs +public static <T> CompletableFuture<List<T>> mSupplyMostSuccessAsync(@Nullable + T valueIfNotSuccess, + long timeout, + TimeUnit unit, + Supplier<? extends T>... suppliers)
      +
      Returns a new CompletableFuture that is asynchronously completed + by tasks running in the CompletableFuture's default asynchronous execution facility + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments. +

      + If any of the provided suppliers does not success(fails or incomplete) in given time, + its corresponding position will contain valueIfNotSuccess.

      +
      +
      Type Parameters:
      +
      T - the suppliers' return type
      +
      Parameters:
      +
      valueIfNotSuccess - the value to return if not completed successfully
      +
      timeout - how long to wait in units of unit
      +
      unit - a TimeUnit determining how to interpret the timeout parameter
      +
      suppliers - the suppliers returning the value to be used to complete the returned CompletableFuture
      +
      Returns:
      +
      the new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      mSupplyMostSuccessAsync

      +
      @SafeVarargs +public static <T> CompletableFuture<List<T>> mSupplyMostSuccessAsync(@Nullable + T valueIfNotSuccess, + Executor executor, + long timeout, + TimeUnit unit, + Supplier<? extends T>... suppliers)
      +
      Returns a new CompletableFuture that is asynchronously completed + by tasks running in the given Executor with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments. +

      + If any of the provided suppliers does not success(fails or incomplete) in given time, + its corresponding position will contain valueIfNotSuccess.

      +
      +
      Type Parameters:
      +
      T - the suppliers' return type
      +
      Parameters:
      +
      valueIfNotSuccess - the value to return if not completed successfully
      +
      executor - the executor to use for asynchronous execution
      +
      timeout - how long to wait in units of unit
      +
      unit - a TimeUnit determining how to interpret the timeout parameter
      +
      suppliers - the suppliers returning the value to be used to complete the returned CompletableFuture
      +
      Returns:
      +
      the new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      mSupplyAsync

      +
      @SafeVarargs +public static <T> CompletableFuture<List<T>> mSupplyAsync(Supplier<? extends T>... suppliers)
      +
      Returns a new CompletableFuture that is asynchronously completed + by tasks running in the CompletableFuture's default asynchronous execution facility + with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
      +
      +
      Type Parameters:
      +
      T - the suppliers' return type
      +
      Parameters:
      +
      suppliers - the suppliers returning the value to be used to complete the returned CompletableFuture
      +
      Returns:
      +
      the new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      mSupplyAsync

      +
      @SafeVarargs +public static <T> CompletableFuture<List<T>> mSupplyAsync(Executor executor, + Supplier<? extends T>... suppliers)
      +
      Returns a new CompletableFuture that is asynchronously completed + by tasks running in the given Executor with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
      +
      +
      Type Parameters:
      +
      T - the suppliers' return type
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      suppliers - the suppliers returning the value to be used to complete the returned CompletableFuture
      +
      Returns:
      +
      the new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      mSupplyAnySuccessAsync

      +
      @SafeVarargs +public static <T> CompletableFuture<T> mSupplyAnySuccessAsync(Supplier<? extends T>... suppliers)
      +
      Returns a new CompletableFuture that is asynchronously successful + when any of tasks running in the CompletableFuture's default asynchronous execution facility + by calling the given Suppliers success, with the same result. + Otherwise, all the given tasks complete exceptionally, + the returned CompletableFuture also does so, with a CompletionException holding + an exception from any of the given stages as its cause. + If no suppliers are provided, returns a new CompletableFuture that is already completed exceptionally + with a CompletionException holding a NoCfsProvidedException as its cause.
      +
      +
      Type Parameters:
      +
      T - the suppliers' return type
      +
      Parameters:
      +
      suppliers - the suppliers returning the value to be used to complete the returned CompletableFuture
      +
      Returns:
      +
      the new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      mSupplyAnySuccessAsync

      +
      @SafeVarargs +public static <T> CompletableFuture<T> mSupplyAnySuccessAsync(Executor executor, + Supplier<? extends T>... suppliers)
      +
      Returns a new CompletableFuture that is asynchronously successful + when any of tasks running in the given executor by calling the given Suppliers success, with the same result. + Otherwise, all the given tasks complete exceptionally, + the returned CompletableFuture also does so, with a CompletionException holding + an exception from any of the given stages as its cause. + If no suppliers are provided, returns a new CompletableFuture that is already completed exceptionally + with a CompletionException holding a NoCfsProvidedException as its cause.
      +
      +
      Type Parameters:
      +
      T - the suppliers' return type
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      suppliers - the suppliers returning the value to be used to complete the returned CompletableFuture
      +
      Returns:
      +
      the new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      mSupplyAnyAsync

      +
      @SafeVarargs +public static <T> CompletableFuture<T> mSupplyAnyAsync(Supplier<? extends T>... suppliers)
      +
      Returns a new CompletableFuture that is completed + when any of tasks running in the CompletableFuture's default asynchronous execution facility + by calling the given Suppliers complete, with the same result. + Otherwise, if it completed exceptionally, the returned CompletableFuture also does so, + with a CompletionException holding this exception as its cause. + If no suppliers are provided, returns an incomplete CompletableFuture.
      +
      +
      Type Parameters:
      +
      T - the suppliers' return type
      +
      Parameters:
      +
      suppliers - the suppliers returning the value to be used to complete the returned CompletableFuture
      +
      Returns:
      +
      the new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      mSupplyAnyAsync

      +
      @SafeVarargs +public static <T> CompletableFuture<T> mSupplyAnyAsync(Executor executor, + Supplier<? extends T>... suppliers)
      +
      Returns a new CompletableFuture that is completed + when any of tasks running in the given Executor by calling the given Suppliers complete, with the same result. + Otherwise, if it completed exceptionally, the returned CompletableFuture also does so, + with a CompletionException holding this exception as its cause. + If no suppliers are provided, returns an incomplete CompletableFuture.
      +
      +
      Type Parameters:
      +
      T - the suppliers' return type
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      suppliers - the suppliers returning the value to be used to complete the returned CompletableFuture
      +
      Returns:
      +
      the new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      mRunFastFailAsync

      +
      public static CompletableFuture<Void> mRunFastFailAsync(Runnable... actions)
      +
      Returns a new CompletableFuture that is asynchronously completed + by tasks running in the CompletableFuture's default asynchronous execution facility + after runs the given actions.
      +
      +
      Parameters:
      +
      actions - the actions to run before completing the returned CompletableFuture
      +
      Returns:
      +
      the new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      mRunFastFailAsync

      +
      public static CompletableFuture<Void> mRunFastFailAsync(Executor executor, + Runnable... actions)
      +
      Returns a new CompletableFuture that is asynchronously completed + by tasks running in the given Executor after runs the given actions.
      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      actions - the actions to run before completing the returned CompletableFuture
      +
      Returns:
      +
      the new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      mRunAsync

      +
      public static CompletableFuture<Void> mRunAsync(Runnable... actions)
      +
      Returns a new CompletableFuture that is asynchronously completed + by tasks running in the CompletableFuture's default asynchronous execution facility + after runs the given actions.
      +
      +
      Parameters:
      +
      actions - the actions to run before completing the returned CompletableFuture
      +
      Returns:
      +
      the new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      mRunAsync

      +
      public static CompletableFuture<Void> mRunAsync(Executor executor, + Runnable... actions)
      +
      Returns a new CompletableFuture that is asynchronously completed + by tasks running in the given Executor after runs the given actions.
      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      actions - the actions to run before completing the returned CompletableFuture
      +
      Returns:
      +
      the new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      mRunAnySuccessAsync

      +
      public static CompletableFuture<Void> mRunAnySuccessAsync(Runnable... actions)
      +
      Returns a new CompletableFuture that is asynchronously successful + when any tasks running in the CompletableFuture's default asynchronous execution facility success.
      +
      +
      Parameters:
      +
      actions - the actions to run to complete the returned CompletableFuture
      +
      Returns:
      +
      the new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      mRunAnySuccessAsync

      +
      public static CompletableFuture<Void> mRunAnySuccessAsync(Executor executor, + Runnable... actions)
      +
      Returns a new CompletableFuture that is asynchronously successful + when any tasks running in the given executor success.
      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      actions - the actions to run to complete the returned CompletableFuture
      +
      Returns:
      +
      the new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      mRunAnyAsync

      +
      public static CompletableFuture<Void> mRunAnyAsync(Runnable... actions)
      +
      Returns a new CompletableFuture that is asynchronously completed + when any tasks running in the CompletableFuture's default asynchronous execution facility.
      +
      +
      Parameters:
      +
      actions - the actions to run to complete the returned CompletableFuture
      +
      Returns:
      +
      the new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      mRunAnyAsync

      +
      public static CompletableFuture<Void> mRunAnyAsync(Executor executor, + Runnable... actions)
      +
      Returns a new CompletableFuture that is asynchronously completed + when any tasks running in the given executor complete.
      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      actions - the actions to run to complete the returned CompletableFuture
      +
      Returns:
      +
      the new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      tupleMSupplyFastFailAsync

      +
      public static <T1, +T2> +CompletableFuture<Tuple2<T1,T2>> tupleMSupplyFastFailAsync(Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2)
      +
      Returns a new CompletableFuture that is asynchronously completed + by tasks running in the CompletableFuture's default asynchronous execution facility + with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
      +
      +
      Returns:
      +
      the new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      tupleMSupplyFastFailAsync

      +
      public static <T1, +T2> +CompletableFuture<Tuple2<T1,T2>> tupleMSupplyFastFailAsync(Executor executor, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2)
      +
      Returns a new CompletableFuture that is asynchronously completed + by tasks running in the given Executor with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      tupleMSupplyFastFailAsync

      +
      public static <T1, +T2, +T3> +CompletableFuture<Tuple3<T1,T2,T3>> tupleMSupplyFastFailAsync(Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3)
      +
      Returns a new CompletableFuture that is asynchronously completed + by tasks running in the CompletableFuture's default asynchronous execution facility + with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
      +
      +
      Returns:
      +
      the new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      tupleMSupplyFastFailAsync

      +
      public static <T1, +T2, +T3> +CompletableFuture<Tuple3<T1,T2,T3>> tupleMSupplyFastFailAsync(Executor executor, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3)
      +
      Returns a new CompletableFuture that is asynchronously completed + by tasks running in the given Executor with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      tupleMSupplyFastFailAsync

      +
      public static <T1, +T2, +T3, +T4> +CompletableFuture<Tuple4<T1,T2,T3,T4>> tupleMSupplyFastFailAsync(Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4)
      +
      Returns a new CompletableFuture that is asynchronously completed + by tasks running in the CompletableFuture's default asynchronous execution facility + with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
      +
      +
      Returns:
      +
      the new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      tupleMSupplyFastFailAsync

      +
      public static <T1, +T2, +T3, +T4> +CompletableFuture<Tuple4<T1,T2,T3,T4>> tupleMSupplyFastFailAsync(Executor executor, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4)
      +
      Returns a new CompletableFuture that is asynchronously completed + by tasks running in the given Executor with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      tupleMSupplyFastFailAsync

      +
      public static <T1, +T2, +T3, +T4, +T5> +CompletableFuture<Tuple5<T1,T2,T3,T4,T5>> tupleMSupplyFastFailAsync(Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4, + Supplier<? extends T5> supplier5)
      +
      Returns a new CompletableFuture that is asynchronously completed + by tasks running in the CompletableFuture's default asynchronous execution facility + with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
      +
      +
      Returns:
      +
      the new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      tupleMSupplyFastFailAsync

      +
      public static <T1, +T2, +T3, +T4, +T5> +CompletableFuture<Tuple5<T1,T2,T3,T4,T5>> tupleMSupplyFastFailAsync(Executor executor, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4, + Supplier<? extends T5> supplier5)
      +
      Returns a new CompletableFuture that is asynchronously completed + by tasks running in the given Executor with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      tupleMSupplyAllSuccessAsync

      +
      public static <T1, +T2> +CompletableFuture<Tuple2<T1,T2>> tupleMSupplyAllSuccessAsync(Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2)
      +
      Returns a new CompletableFuture that is asynchronously completed + by tasks running in the CompletableFuture's default asynchronous execution facility + with the successful values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments. +

      + If any of the provided suppliers fails, its corresponding position will contain null + (which is indistinguishable from the supplier having a successful value of null).

      +
      +
      Returns:
      +
      the new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      tupleMSupplyAllSuccessAsync

      +
      public static <T1, +T2> +CompletableFuture<Tuple2<T1,T2>> tupleMSupplyAllSuccessAsync(Executor executor, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2)
      +
      Returns a new CompletableFuture that is asynchronously completed + by tasks running in the given executor with the successfully values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments. +

      + If any of the provided suppliers fails, its corresponding position will contain null + (which is indistinguishable from the supplier having a successful value of null).

      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      tupleMSupplyAllSuccessAsync

      +
      public static <T1, +T2, +T3> +CompletableFuture<Tuple3<T1,T2,T3>> tupleMSupplyAllSuccessAsync(Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3)
      +
      Returns a new CompletableFuture that is asynchronously completed + by tasks running in the CompletableFuture's default asynchronous execution facility + with the successful values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments. +

      + If any of the provided suppliers fails, its corresponding position will contain null + (which is indistinguishable from the supplier having a successful value of null).

      +
      +
      Returns:
      +
      the new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      tupleMSupplyAllSuccessAsync

      +
      public static <T1, +T2, +T3> +CompletableFuture<Tuple3<T1,T2,T3>> tupleMSupplyAllSuccessAsync(Executor executor, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3)
      +
      Returns a new CompletableFuture that is asynchronously completed + by tasks running in the given executor with the successfully values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments. +

      + If any of the provided suppliers fails, its corresponding position will contain null + (which is indistinguishable from the supplier having a successful value of null).

      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      tupleMSupplyAllSuccessAsync

      +
      public static <T1, +T2, +T3, +T4> +CompletableFuture<Tuple4<T1,T2,T3,T4>> tupleMSupplyAllSuccessAsync(Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4)
      +
      Returns a new CompletableFuture that is asynchronously completed + by tasks running in the CompletableFuture's default asynchronous execution facility + with the successful values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments. +

      + If any of the provided suppliers fails, its corresponding position will contain null + (which is indistinguishable from the supplier having a successful value of null).

      +
      +
      Returns:
      +
      the new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      tupleMSupplyAllSuccessAsync

      +
      public static <T1, +T2, +T3, +T4> +CompletableFuture<Tuple4<T1,T2,T3,T4>> tupleMSupplyAllSuccessAsync(Executor executor, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4)
      +
      Returns a new CompletableFuture that is asynchronously completed + by tasks running in the given executor with the successfully values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments. +

      + If any of the provided suppliers fails, its corresponding position will contain null + (which is indistinguishable from the supplier having a successful value of null).

      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      tupleMSupplyAllSuccessAsync

      +
      public static <T1, +T2, +T3, +T4, +T5> +CompletableFuture<Tuple5<T1,T2,T3,T4,T5>> tupleMSupplyAllSuccessAsync(Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4, + Supplier<? extends T5> supplier5)
      +
      Returns a new CompletableFuture that is asynchronously completed + by tasks running in the CompletableFuture's default asynchronous execution facility + with the successful values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments. +

      + If any of the provided suppliers fails, its corresponding position will contain null + (which is indistinguishable from the supplier having a successful value of null).

      +
      +
      Returns:
      +
      the new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      tupleMSupplyAllSuccessAsync

      +
      public static <T1, +T2, +T3, +T4, +T5> +CompletableFuture<Tuple5<T1,T2,T3,T4,T5>> tupleMSupplyAllSuccessAsync(Executor executor, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4, + Supplier<? extends T5> supplier5)
      +
      Returns a new CompletableFuture that is asynchronously completed + by tasks running in the given executor with the successfully values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments. +

      + If any of the provided suppliers fails, its corresponding position will contain null + (which is indistinguishable from the supplier having a successful value of null).

      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      tupleMSupplyMostSuccessAsync

      +
      public static <T1, +T2> +CompletableFuture<Tuple2<T1,T2>> tupleMSupplyMostSuccessAsync(long timeout, + TimeUnit unit, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2)
      +
      Returns a new CompletableFuture that is asynchronously completed + by tasks running in the CompletableFuture's default asynchronous execution facility + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments. +

      + If the given supplier is successful in the given time, the return result is the completed value; + Otherwise null.

      +
      +
      Parameters:
      +
      timeout - how long to wait in units of unit
      +
      unit - a TimeUnit determining how to interpret the timeout parameter
      +
      Returns:
      +
      the new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      tupleMSupplyMostSuccessAsync

      +
      public static <T1, +T2> +CompletableFuture<Tuple2<T1,T2>> tupleMSupplyMostSuccessAsync(Executor executor, + long timeout, + TimeUnit unit, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2)
      +
      Returns a new CompletableFuture that is asynchronously completed by tasks running in the given Executor + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments. +

      + If the given supplier is successful in the given time, the return result is the completed value; + Otherwise null.

      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      timeout - how long to wait in units of unit
      +
      unit - a TimeUnit determining how to interpret the timeout parameter
      +
      Returns:
      +
      the new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      tupleMSupplyMostSuccessAsync

      +
      public static <T1, +T2, +T3> +CompletableFuture<Tuple3<T1,T2,T3>> tupleMSupplyMostSuccessAsync(long timeout, + TimeUnit unit, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3)
      +
      Returns a new CompletableFuture that is asynchronously completed + by tasks running in the CompletableFuture's default asynchronous execution facility + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments. +

      + If the given supplier is successful in the given time, the return result is the completed value; + Otherwise null.

      +
      +
      Parameters:
      +
      timeout - how long to wait in units of unit
      +
      unit - a TimeUnit determining how to interpret the timeout parameter
      +
      Returns:
      +
      the new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      tupleMSupplyMostSuccessAsync

      +
      public static <T1, +T2, +T3> +CompletableFuture<Tuple3<T1,T2,T3>> tupleMSupplyMostSuccessAsync(Executor executor, + long timeout, + TimeUnit unit, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3)
      +
      Returns a new CompletableFuture that is asynchronously completed by tasks running in the given Executor + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments. +

      + If the given supplier is successful in the given time, the return result is the completed value; + Otherwise null.

      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      timeout - how long to wait in units of unit
      +
      unit - a TimeUnit determining how to interpret the timeout parameter
      +
      Returns:
      +
      the new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      tupleMSupplyMostSuccessAsync

      +
      public static <T1, +T2, +T3, +T4> +CompletableFuture<Tuple4<T1,T2,T3,T4>> tupleMSupplyMostSuccessAsync(long timeout, + TimeUnit unit, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4)
      +
      Returns a new CompletableFuture that is asynchronously completed + by tasks running in the CompletableFuture's default asynchronous execution facility + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments. +

      + If the given supplier is successful in the given time, the return result is the completed value; + Otherwise null.

      +
      +
      Parameters:
      +
      timeout - how long to wait in units of unit
      +
      unit - a TimeUnit determining how to interpret the timeout parameter
      +
      Returns:
      +
      the new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      tupleMSupplyMostSuccessAsync

      +
      public static <T1, +T2, +T3, +T4> +CompletableFuture<Tuple4<T1,T2,T3,T4>> tupleMSupplyMostSuccessAsync(Executor executor, + long timeout, + TimeUnit unit, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4)
      +
      Returns a new CompletableFuture that is asynchronously completed by tasks running in the given Executor + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments. +

      + If the given supplier is successful in the given time, the return result is the completed value; + Otherwise null.

      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      timeout - how long to wait in units of unit
      +
      unit - a TimeUnit determining how to interpret the timeout parameter
      +
      Returns:
      +
      the new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      tupleMSupplyMostSuccessAsync

      +
      public static <T1, +T2, +T3, +T4, +T5> +CompletableFuture<Tuple5<T1,T2,T3,T4,T5>> tupleMSupplyMostSuccessAsync(long timeout, + TimeUnit unit, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4, + Supplier<? extends T5> supplier5)
      +
      Returns a new CompletableFuture that is asynchronously completed + by tasks running in the CompletableFuture's default asynchronous execution facility + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments. +

      + If the given supplier is successful in the given time, the return result is the completed value; + Otherwise null.

      +
      +
      Parameters:
      +
      timeout - how long to wait in units of unit
      +
      unit - a TimeUnit determining how to interpret the timeout parameter
      +
      Returns:
      +
      the new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      tupleMSupplyMostSuccessAsync

      +
      public static <T1, +T2, +T3, +T4, +T5> +CompletableFuture<Tuple5<T1,T2,T3,T4,T5>> tupleMSupplyMostSuccessAsync(Executor executor, + long timeout, + TimeUnit unit, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4, + Supplier<? extends T5> supplier5)
      +
      Returns a new CompletableFuture that is asynchronously completed by tasks running in the given Executor + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments. +

      + If the given supplier is successful in the given time, the return result is the completed value; + Otherwise null.

      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      timeout - how long to wait in units of unit
      +
      unit - a TimeUnit determining how to interpret the timeout parameter
      +
      Returns:
      +
      the new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      tupleMSupplyAsync

      +
      public static <T1, +T2> +CompletableFuture<Tuple2<T1,T2>> tupleMSupplyAsync(Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2)
      +
      Returns a new CompletableFuture that is asynchronously completed + by tasks running in the CompletableFuture's default asynchronous execution facility + with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
      +
      +
      Returns:
      +
      the new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      tupleMSupplyAsync

      +
      public static <T1, +T2> +CompletableFuture<Tuple2<T1,T2>> tupleMSupplyAsync(Executor executor, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2)
      +
      Returns a new CompletableFuture that is asynchronously completed + by tasks running in the given Executor with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      tupleMSupplyAsync

      +
      public static <T1, +T2, +T3> +CompletableFuture<Tuple3<T1,T2,T3>> tupleMSupplyAsync(Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3)
      +
      Returns a new CompletableFuture that is asynchronously completed + by tasks running in the CompletableFuture's default asynchronous execution facility + with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
      +
      +
      Returns:
      +
      the new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      tupleMSupplyAsync

      +
      public static <T1, +T2, +T3> +CompletableFuture<Tuple3<T1,T2,T3>> tupleMSupplyAsync(Executor executor, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3)
      +
      Returns a new CompletableFuture that is asynchronously completed + by tasks running in the given Executor with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      tupleMSupplyAsync

      +
      public static <T1, +T2, +T3, +T4> +CompletableFuture<Tuple4<T1,T2,T3,T4>> tupleMSupplyAsync(Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4)
      +
      Returns a new CompletableFuture that is asynchronously completed + by tasks running in the CompletableFuture's default asynchronous execution facility + with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
      +
      +
      Returns:
      +
      the new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      tupleMSupplyAsync

      +
      public static <T1, +T2, +T3, +T4> +CompletableFuture<Tuple4<T1,T2,T3,T4>> tupleMSupplyAsync(Executor executor, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4)
      +
      Returns a new CompletableFuture that is asynchronously completed + by tasks running in the given Executor with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      tupleMSupplyAsync

      +
      public static <T1, +T2, +T3, +T4, +T5> +CompletableFuture<Tuple5<T1,T2,T3,T4,T5>> tupleMSupplyAsync(Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4, + Supplier<? extends T5> supplier5)
      +
      Returns a new CompletableFuture that is asynchronously completed + by tasks running in the CompletableFuture's default asynchronous execution facility + with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
      +
      +
      Returns:
      +
      the new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      tupleMSupplyAsync

      +
      public static <T1, +T2, +T3, +T4, +T5> +CompletableFuture<Tuple5<T1,T2,T3,T4,T5>> tupleMSupplyAsync(Executor executor, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4, + Supplier<? extends T5> supplier5)
      +
      Returns a new CompletableFuture that is asynchronously completed + by tasks running in the given Executor with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      allResultsFastFailOf

      +
      @Contract(pure=true) +@SafeVarargs +public static <T> CompletableFuture<List<T>> allResultsFastFailOf(CompletionStage<? extends T>... cfs)
      +
      Returns a new CompletableFuture that is successful with the results in the same order + of the given stages arguments when all the given stages success; + 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. + If no stages are provided, returns a CompletableFuture completed with the value empty list. +

      + This method is the same as allResultsOf(CompletionStage[]) except for the fast-fail behavior.

      +
      +
      Parameters:
      +
      cfs - the stages
      +
      Returns:
      +
      a new CompletableFuture that is successful when all the given stages success
      +
      Throws:
      +
      NullPointerException - if the array or any of its elements are null
      +
      +
      +
    • +
    • +
      +

      allSuccessResultsOf

      +
      @Contract(pure=true) +@SafeVarargs +public static <T> CompletableFuture<List<T>> allSuccessResultsOf(@Nullable + T valueIfFailed, + CompletionStage<? extends T>... cfs)
      +
      Returns a new CompletableFuture that is successful with the results in the same order + of the given stages arguments when all the given stages completed; + If no stages are provided, returns a CompletableFuture completed with the value empty list. +

      + If any of the provided stages fails, its corresponding position will contain valueIfFailed.

      +
      +
      Parameters:
      +
      valueIfFailed - the value to return if not completed successfully
      +
      cfs - the stages
      +
      Throws:
      +
      NullPointerException - if the array or any of its elements are null
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      mostSuccessResultsOf

      +
      @Contract(pure=true) +@SafeVarargs +public static <T> CompletableFuture<List<T>> mostSuccessResultsOf(@Nullable + T valueIfNotSuccess, + long timeout, + TimeUnit unit, + CompletionStage<? extends T>... cfs)
      +
      Returns a new CompletableFuture with the most results in the same order of + the given stages arguments in the given time(timeout, aka as many results as possible in the given time). +

      + If any of the provided stages does not success(fails or incomplete) in given time, + its corresponding position will contain valueIfNotSuccess.

      +
      +
      Parameters:
      +
      valueIfNotSuccess - the value to return if not completed successfully
      +
      timeout - how long to wait in units of unit
      +
      unit - a TimeUnit determining how to interpret the timeout parameter
      +
      cfs - the stages
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      mostSuccessResultsOf

      +
      @Contract(pure=true) +@SafeVarargs +public static <T> CompletableFuture<List<T>> mostSuccessResultsOf(@Nullable + T valueIfNotSuccess, + Executor executorWhenTimeout, + long timeout, + TimeUnit unit, + CompletionStage<? extends T>... cfs)
      +
      Returns a new CompletableFuture with the most results in the same order of + the given stages arguments in the given time(timeout, aka as many results as possible in the given time). +

      + If any of the provided stages does not success(fails or incomplete) in given time, + its corresponding position will contain valueIfNotSuccess.

      +
      +
      Parameters:
      +
      valueIfNotSuccess - the value to return if not completed successfully
      +
      executorWhenTimeout - the async executor when triggered by timeout
      +
      timeout - how long to wait in units of unit
      +
      unit - a TimeUnit determining how to interpret the timeout parameter
      +
      cfs - the stages
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      allResultsOf

      +
      @Contract(pure=true) +@SafeVarargs +public static <T> CompletableFuture<List<T>> allResultsOf(CompletionStage<? extends T>... cfs)
      +
      Returns a new CompletableFuture with the results in the same order of the given stages arguments, + the new CompletableFuture 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. + If no stages are provided, returns a CompletableFuture completed with the value empty list. +

      + This method is the same as allOf(CompletionStage[]), + except that the returned CompletableFuture contains the results of the given stages.

      +
      +
      Parameters:
      +
      cfs - the stages
      +
      Returns:
      +
      a new CompletableFuture that is completed when all the given stages complete
      +
      Throws:
      +
      NullPointerException - if the array or any of its elements are null
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      allFastFailOf

      +
      @Contract(pure=true) +public static CompletableFuture<Void> allFastFailOf(CompletionStage<?>... cfs)
      +
      Returns a new CompletableFuture that is successful when all the given stages success; + 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. + Otherwise, the results, if any, of the given stages are not reflected + in the returned CompletableFuture(CompletableFuture<Void>), + but may be obtained by inspecting them individually. + If no stages are provided, returns a CompletableFuture completed with the value null. +

      + This method is the same as allOf(CompletionStage[]) except for the fast-fail behavior. +

      + If you need the results of given stages, prefer below methods: +

      +

      + If you need the successful results of given stages in the given time, prefer below methods: +

      +
      +
      Parameters:
      +
      cfs - the stages
      +
      Returns:
      +
      a new CompletableFuture that is successful when all the given stages success
      +
      Throws:
      +
      NullPointerException - if the array or any of its elements are null
      +
      +
      +
    • +
    • +
      +

      allOf

      +
      @CheckReturnValue(explanation="should use the returned CompletableFuture; forget to call its `join()` method?") +@Contract(pure=true) +public static CompletableFuture<Void> allOf(CompletionStage<?>... cfs)
      +
      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. + Otherwise, the results, if any, of the given stages are not reflected in the returned + CompletableFuture(CompletableFuture<Void>), but may be obtained by inspecting them individually. + If no stages are provided, returns a CompletableFuture completed with the value null. +

      + Among the applications of this method is to await completion of a set of independent stages + before continuing a program, as in: CompletableFuture.allOf(c1, c2, c3).join();. +

      + This method is the same as CompletableFuture.allOf(CompletableFuture[]), + except that the parameter type is more generic CompletionStage instead of CompletableFuture. +

      + If you need the results of given stages, prefer below methods: +

      +

      + If you need the successful results of given stages in the given time, prefer below methods: +

      +
      +
      Parameters:
      +
      cfs - the stages
      +
      Returns:
      +
      a new CompletableFuture that is completed when all the given stages complete
      +
      Throws:
      +
      NullPointerException - if the array or any of its elements are null
      +
      +
      +
    • +
    • +
      +

      anySuccessOf

      +
      @Contract(pure=true) +@SafeVarargs +public static <T> CompletableFuture<T> anySuccessOf(CompletionStage<? extends T>... cfs)
      +
      Returns a new CompletableFuture that is successful when any of the given stages success, + with the same result. Otherwise, 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. + If no stages are provided, returns a new CompletableFuture that is already completed exceptionally + with a CompletionException holding a NoCfsProvidedException as its cause. +

      + This method is the same as anyOf(CompletionStage[]) + except for the any-success behavior instead of any-complete.

      +
      +
      Parameters:
      +
      cfs - the stages
      +
      Returns:
      +
      a new CompletableFuture that is successful when any of the given stages success, with the same result
      +
      Throws:
      +
      NullPointerException - if the array or any of its elements are null
      +
      +
      +
    • +
    • +
      +

      anyOf

      +
      @Contract(pure=true) +@SafeVarargs +public static <T> CompletableFuture<T> anyOf(CompletionStage<? extends T>... cfs)
      +
      Returns a new CompletableFuture that is completed when any of the given stages complete, with the same result. + Otherwise, if it completed exceptionally, the returned CompletableFuture also does so, + with a CompletionException holding this exception as its cause. + If no stages are provided, returns an incomplete CompletableFuture. +

      + This method is the same as CompletableFuture.anyOf(CompletableFuture[]), + except that the parameter type is more generic CompletionStage instead of CompletableFuture, + and the return type is more specific T instead of Object.

      +
      +
      Parameters:
      +
      cfs - the stages
      +
      Returns:
      +
      a new CompletableFuture that is completed with the result or exception + from any of the given stages when one completes
      +
      Throws:
      +
      NullPointerException - if the array or any of its elements are null
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      allTupleFastFailOf

      +
      @Contract(pure=true) +public static <T1, +T2> +CompletableFuture<Tuple2<T1,T2>> allTupleFastFailOf(CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2)
      +
      Returns a new CompletableFuture that is successful when the given stages success. + 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.
      +
      +
      Returns:
      +
      a new CompletableFuture that is successful when the given stages success
      +
      Throws:
      +
      NullPointerException - if any of the given stages are null
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      allTupleFastFailOf

      +
      @Contract(pure=true) +public static <T1, +T2, +T3> +CompletableFuture<Tuple3<T1,T2,T3>> allTupleFastFailOf(CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3)
      +
      Returns a new CompletableFuture that is successful when the given stages success. + 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.
      +
      +
      Returns:
      +
      a new CompletableFuture that is successful when the given stages success
      +
      Throws:
      +
      NullPointerException - if any of the given stages are null
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      allTupleFastFailOf

      +
      @Contract(pure=true) +public static <T1, +T2, +T3, +T4> +CompletableFuture<Tuple4<T1,T2,T3,T4>> allTupleFastFailOf(CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3, + CompletionStage<? extends T4> cf4)
      +
      Returns a new CompletableFuture that is successful when the given stages success. + 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.
      +
      +
      Returns:
      +
      a new CompletableFuture that is successful when the given stages success
      +
      Throws:
      +
      NullPointerException - if any of the given stages are null
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      allTupleFastFailOf

      +
      @Contract(pure=true) +public static <T1, +T2, +T3, +T4, +T5> +CompletableFuture<Tuple5<T1,T2,T3,T4,T5>> allTupleFastFailOf(CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3, + CompletionStage<? extends T4> cf4, + CompletionStage<? extends T5> cf5)
      +
      Returns a new CompletableFuture that is successful when the given stages success. + 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.
      +
      +
      Returns:
      +
      a new CompletableFuture that is successful when the given stages success
      +
      Throws:
      +
      NullPointerException - if any of the given stages are null
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      allSuccessTupleOf

      +
      @Contract(pure=true) +public static <T1, +T2> +CompletableFuture<Tuple2<T1,T2>> allSuccessTupleOf(CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2)
      +
      Returns a new CompletableFuture that is successful + with the results of the given stages arguments when all the given stages completed. +

      + If any of the provided stages fails, its corresponding position will contain null + (which is indistinguishable from the stage having a successful value of null).

      +
      +
      Returns:
      +
      a new CompletableFuture
      +
      Throws:
      +
      NullPointerException - if any of the given stages are null
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      allSuccessTupleOf

      +
      @Contract(pure=true) +public static <T1, +T2, +T3> +CompletableFuture<Tuple3<T1,T2,T3>> allSuccessTupleOf(CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3)
      +
      Returns a new CompletableFuture that is successful + with the results of the given stages arguments when all the given stages completed. +

      + If any of the provided stages fails, its corresponding position will contain null + (which is indistinguishable from the stage having a successful value of null).

      +
      +
      Returns:
      +
      a new CompletableFuture
      +
      Throws:
      +
      NullPointerException - if any of the given stages are null
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      allSuccessTupleOf

      +
      @Contract(pure=true) +public static <T1, +T2, +T3, +T4> +CompletableFuture<Tuple4<T1,T2,T3,T4>> allSuccessTupleOf(CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3, + CompletionStage<? extends T4> cf4)
      +
      Returns a new CompletableFuture that is successful + with the results of the given stages arguments when all the given stages completed. +

      + If any of the provided stages fails, its corresponding position will contain null + (which is indistinguishable from the stage having a successful value of null).

      +
      +
      Returns:
      +
      a new CompletableFuture
      +
      Throws:
      +
      NullPointerException - if any of the given stages are null
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      allSuccessTupleOf

      +
      @Contract(pure=true) +public static <T1, +T2, +T3, +T4, +T5> +CompletableFuture<Tuple5<T1,T2,T3,T4,T5>> allSuccessTupleOf(CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3, + CompletionStage<? extends T4> cf4, + CompletionStage<? extends T5> cf5)
      +
      Returns a new CompletableFuture that is successful + with the results of the given stages arguments when all the given stages completed. +

      + If any of the provided stages fails, its corresponding position will contain null + (which is indistinguishable from the stage having a successful value of null).

      +
      +
      Returns:
      +
      a new CompletableFuture
      +
      Throws:
      +
      NullPointerException - if any of the given stages are null
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      mostSuccessTupleOf

      +
      @Contract(pure=true) +public static <T1, +T2> +CompletableFuture<Tuple2<T1,T2>> mostSuccessTupleOf(long timeout, + TimeUnit unit, + CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2)
      +
      Returns a new CompletableFuture with the most results in the same order of + the given stages arguments in the given time(timeout, aka as many results as possible in the given time). +

      + If the given stage is successful, its result is the completed value; Otherwise the value null.

      +
      +
      Parameters:
      +
      timeout - how long to wait in units of unit
      +
      unit - a TimeUnit determining how to interpret the timeout parameter
      +
      Returns:
      +
      a new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      mostSuccessTupleOf

      +
      @Contract(pure=true) +public static <T1, +T2> +CompletableFuture<Tuple2<T1,T2>> mostSuccessTupleOf(Executor executorWhenTimeout, + long timeout, + TimeUnit unit, + CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2)
      +
      Returns a new CompletableFuture with the most results in the same order of + the given stages arguments in the given time(timeout, aka as many results as possible in the given time). +

      + If the given stage is successful, its result is the completed value; Otherwise the value null.

      +
      +
      Parameters:
      +
      executorWhenTimeout - the async executor when triggered by timeout
      +
      timeout - how long to wait in units of unit
      +
      unit - a TimeUnit determining how to interpret the timeout parameter
      +
      Returns:
      +
      a new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      mostSuccessTupleOf

      +
      @Contract(pure=true) +public static <T1, +T2, +T3> +CompletableFuture<Tuple3<T1,T2,T3>> mostSuccessTupleOf(long timeout, + TimeUnit unit, + CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3)
      +
      Returns a new CompletableFuture with the most results in the same order of + the given stages arguments in the given time(timeout, aka as many results as possible in the given time). +

      + If the given stage is successful, its result is the completed value; Otherwise the value null.

      +
      +
      Parameters:
      +
      timeout - how long to wait in units of unit
      +
      unit - a TimeUnit determining how to interpret the timeout parameter
      +
      Returns:
      +
      a new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      mostSuccessTupleOf

      +
      @Contract(pure=true) +public static <T1, +T2, +T3> +CompletableFuture<Tuple3<T1,T2,T3>> mostSuccessTupleOf(Executor executorWhenTimeout, + long timeout, + TimeUnit unit, + CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3)
      +
      Returns a new CompletableFuture with the most results in the same order of + the given stages arguments in the given time(timeout, aka as many results as possible in the given time). +

      + If the given stage is successful, its result is the completed value; Otherwise the value null.

      +
      +
      Parameters:
      +
      executorWhenTimeout - the async executor when triggered by timeout
      +
      timeout - how long to wait in units of unit
      +
      unit - a TimeUnit determining how to interpret the timeout parameter
      +
      Returns:
      +
      a new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      mostSuccessTupleOf

      +
      @Contract(pure=true) +public static <T1, +T2, +T3, +T4> +CompletableFuture<Tuple4<T1,T2,T3,T4>> mostSuccessTupleOf(long timeout, + TimeUnit unit, + CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3, + CompletionStage<? extends T4> cf4)
      +
      Returns a new CompletableFuture with the most results in the same order of + the given stages arguments in the given time(timeout, aka as many results as possible in the given time). +

      + If the given stage is successful, its result is the completed value; Otherwise the value null.

      +
      +
      Parameters:
      +
      timeout - how long to wait in units of unit
      +
      unit - a TimeUnit determining how to interpret the timeout parameter
      +
      Returns:
      +
      a new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      mostSuccessTupleOf

      +
      @Contract(pure=true) +public static <T1, +T2, +T3, +T4> +CompletableFuture<Tuple4<T1,T2,T3,T4>> mostSuccessTupleOf(Executor executorWhenTimeout, + long timeout, + TimeUnit unit, + CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3, + CompletionStage<? extends T4> cf4)
      +
      Returns a new CompletableFuture with the most results in the same order of + the given stages arguments in the given time(timeout, aka as many results as possible in the given time). +

      + If the given stage is successful, its result is the completed value; Otherwise the value null.

      +
      +
      Parameters:
      +
      executorWhenTimeout - the async executor when triggered by timeout
      +
      timeout - how long to wait in units of unit
      +
      unit - a TimeUnit determining how to interpret the timeout parameter
      +
      Returns:
      +
      a new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      mostSuccessTupleOf

      +
      @Contract(pure=true) +public static <T1, +T2, +T3, +T4, +T5> +CompletableFuture<Tuple5<T1,T2,T3,T4,T5>> mostSuccessTupleOf(long timeout, + TimeUnit unit, + CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3, + CompletionStage<? extends T4> cf4, + CompletionStage<? extends T5> cf5)
      +
      Returns a new CompletableFuture with the most results in the same order of + the given stages arguments in the given time(timeout, aka as many results as possible in the given time). +

      + If the given stage is successful, its result is the completed value; Otherwise the value null.

      +
      +
      Parameters:
      +
      timeout - how long to wait in units of unit
      +
      unit - a TimeUnit determining how to interpret the timeout parameter
      +
      Returns:
      +
      a new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      mostSuccessTupleOf

      +
      @Contract(pure=true) +public static <T1, +T2, +T3, +T4, +T5> +CompletableFuture<Tuple5<T1,T2,T3,T4,T5>> mostSuccessTupleOf(Executor executorWhenTimeout, + long timeout, + TimeUnit unit, + CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3, + CompletionStage<? extends T4> cf4, + CompletionStage<? extends T5> cf5)
      +
      Returns a new CompletableFuture with the most results in the same order of + the given stages arguments in the given time(timeout, aka as many results as possible in the given time). +

      + If the given stage is successful, its result is the completed value; Otherwise the value null.

      +
      +
      Parameters:
      +
      executorWhenTimeout - the async executor when triggered by timeout
      +
      timeout - how long to wait in units of unit
      +
      unit - a TimeUnit determining how to interpret the timeout parameter
      +
      Returns:
      +
      a new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      allTupleOf

      +
      @Contract(pure=true) +public static <T1, +T2> +CompletableFuture<Tuple2<T1,T2>> allTupleOf(CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2)
      +
      Returns a new CompletableFuture that is completed when 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.
      +
      +
      Returns:
      +
      a new CompletableFuture that is completed when the given stages complete
      +
      Throws:
      +
      NullPointerException - if any of the given stages are null
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      allTupleOf

      +
      @Contract(pure=true) +public static <T1, +T2, +T3> +CompletableFuture<Tuple3<T1,T2,T3>> allTupleOf(CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3)
      +
      Returns a new CompletableFuture that is completed when 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.
      +
      +
      Returns:
      +
      a new CompletableFuture that is completed when the given stages complete
      +
      Throws:
      +
      NullPointerException - if any of the given stages are null
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      allTupleOf

      +
      @Contract(pure=true) +public static <T1, +T2, +T3, +T4> +CompletableFuture<Tuple4<T1,T2,T3,T4>> allTupleOf(CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3, + CompletionStage<? extends T4> cf4)
      +
      Returns a new CompletableFuture that is completed when 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.
      +
      +
      Returns:
      +
      a new CompletableFuture that is completed when the given stages complete
      +
      Throws:
      +
      NullPointerException - if any of the given stages are null
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      allTupleOf

      +
      @Contract(pure=true) +public static <T1, +T2, +T3, +T4, +T5> +CompletableFuture<Tuple5<T1,T2,T3,T4,T5>> allTupleOf(CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3, + CompletionStage<? extends T4> cf4, + CompletionStage<? extends T5> cf5)
      +
      Returns a new CompletableFuture that is completed when 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.
      +
      +
      Returns:
      +
      a new CompletableFuture that is completed when the given stages complete
      +
      Throws:
      +
      NullPointerException - if any of the given stages are null
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      failedFuture

      +
      @Contract(pure=true) +public static <T> CompletableFuture<T> failedFuture(Throwable ex)
      +
      Returns a new CompletableFuture that is already completed exceptionally with the given exception.
      +
      +
      Type Parameters:
      +
      T - the type of the value
      +
      Parameters:
      +
      ex - the exception
      +
      Returns:
      +
      the exceptionally completed CompletableFuture
      +
      +
      +
    • +
    • +
      +

      completedStage

      +
      @Contract(pure=true) +public static <T> CompletionStage<T> completedStage(@Nullable + T value)
      +
      Returns a new CompletionStage that is already completed with the given value + and supports only those methods in interface CompletionStage. +

      + CAUTION:
      + if run on old Java 8(not support *minimal* CompletionStage), + just return a *normal* CompletableFuture which is NOT with a *minimal* CompletionStage.

      +
      +
      Type Parameters:
      +
      T - the type of the value
      +
      Parameters:
      +
      value - the value
      +
      Returns:
      +
      the completed CompletionStage
      +
      +
      +
    • +
    • +
      +

      failedStage

      +
      @Contract(pure=true) +public static <T> CompletionStage<T> failedStage(Throwable ex)
      +
      Returns a new CompletionStage that is already completed exceptionally with + the given exception and supports only those methods in interface CompletionStage. +

      + CAUTION:
      + if run on old Java 8(not support *minimal* CompletionStage), + just return a *normal* CompletableFuture which is NOT with a *minimal* CompletionStage.

      +
      +
      Type Parameters:
      +
      T - the type of the value
      +
      Parameters:
      +
      ex - the exception
      +
      Returns:
      +
      the exceptionally completed CompletionStage
      +
      +
      +
    • +
    • +
      +

      delayedExecutor

      +
      @Contract(pure=true) +public static Executor delayedExecutor(long delay, + TimeUnit unit)
      +
      Returns a new Executor that submits a task to the default executor after the given delay (or no delay + if non-positive). Each delay commences upon invocation of the returned executor's execute method.
      +
      +
      Parameters:
      +
      delay - how long to delay, in units of unit
      +
      unit - a TimeUnit determining how to interpret the delay parameter
      +
      Returns:
      +
      the new delayed executor
      +
      +
      +
    • +
    • +
      +

      delayedExecutor

      +
      @Contract(pure=true) +public static Executor delayedExecutor(long delay, + TimeUnit unit, + Executor executor)
      +
      Returns a new Executor that submits a task to the given base executor after the given delay (or no delay + if non-positive). Each delay commences upon invocation of the returned executor's execute method.
      +
      +
      Parameters:
      +
      delay - how long to delay, in units of unit
      +
      unit - a TimeUnit determining how to interpret the delay parameter
      +
      executor - the base executor
      +
      Returns:
      +
      the new delayed executor
      +
      +
      +
    • +
    • +
      +

      defaultExecutor

      +
      @Contract(pure=true) +public static Executor defaultExecutor()
      +
      Returns the default Executor used for async methods that do not specify an Executor. + This class uses the ForkJoinPool.commonPool() if it supports more than one parallel thread, + or else an Executor using one thread per async task.
      + CAUTION: This executor may be not suitable for common biz use(io intensive).
      +
      +
    • +
    • +
      +

      thenMApplyFastFailAsync

      +
      @SafeVarargs +public static <T, +U> CompletableFuture<List<U>> thenMApplyFastFailAsync(CompletableFuture<? extends T> cfThis, + Function<? super T,? extends U>... fns)
      +
      Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the CompletableFuture's default asynchronous execution facility, + with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
      +
      +
      Type Parameters:
      +
      U - the functions' return type
      +
      Parameters:
      +
      fns - the functions to use to compute the values of the returned CompletableFuture
      +
      Returns:
      +
      the new CompletableFuture
      +
      +
      +
    • +
    • +
      +

      thenMApplyFastFailAsync

      +
      @SafeVarargs +public static <T, +U> CompletableFuture<List<U>> thenMApplyFastFailAsync(CompletableFuture<? extends T> cfThis, + Executor executor, + Function<? super T,? extends U>... fns)
      +
      Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the given Executor, with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
      +
      +
      Type Parameters:
      +
      U - the functions' return type
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      fns - the functions to use to compute the values of the returned CompletableFuture
      +
      Returns:
      +
      the new CompletableFuture
      +
      +
      +
    • +
    • +
      +

      thenMApplyAllSuccessAsync

      +
      @SafeVarargs +public static <T, +U> CompletableFuture<List<U>> thenMApplyAllSuccessAsync(CompletableFuture<? extends T> cfThis, + @Nullable + U valueIfFailed, + Function<? super T,? extends U>... fns)
      +
      Returns a new CompletableFuture that, when the given stage completes normally, + is executed in the CompletableFuture's default asynchronous execution facility + with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments. +

      + If any of the provided functions fails, its corresponding position will contain valueIfFailed.

      +
      +
      Type Parameters:
      +
      U - the functions' return type
      +
      Parameters:
      +
      valueIfFailed - the value to return if not completed successfully
      +
      fns - the functions to use to compute the values of the returned CompletableFuture
      +
      Returns:
      +
      the new CompletableFuture
      +
      +
      +
    • +
    • +
      +

      thenMApplyAllSuccessAsync

      +
      @SafeVarargs +public static <T, +U> CompletableFuture<List<U>> thenMApplyAllSuccessAsync(CompletableFuture<? extends T> cfThis, + @Nullable + U valueIfFailed, + Executor executor, + Function<? super T,? extends U>... fns)
      +
      Returns a new CompletableFuture that, when the given stage completes normally, + is executed in the given Executor with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments. +

      + If any of the provided functions fails, its corresponding position will contain valueIfFailed.

      +
      +
      Type Parameters:
      +
      U - the functions' return type
      +
      Parameters:
      +
      valueIfFailed - the value to return if not completed successfully
      +
      fns - the functions to use to compute the values of the returned CompletableFuture
      +
      Returns:
      +
      the new CompletableFuture
      +
      +
      +
    • +
    • +
      +

      thenMApplyMostSuccessAsync

      +
      @SafeVarargs +public static <T, +U> CompletableFuture<List<U>> thenMApplyMostSuccessAsync(CompletableFuture<? extends T> cfThis, + @Nullable + U valueIfNotSuccess, + long timeout, + TimeUnit unit, + Function<? super T,? extends U>... fns)
      +
      Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the CompletableFuture's default asynchronous execution facility, + with the most values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Functions arguments. +

      + If any of the provided functions does not success(fails or incomplete) in given time, + its corresponding position will contain valueIfNotSuccess.

      +
      +
      Type Parameters:
      +
      U - the functions' return type
      +
      Parameters:
      +
      valueIfNotSuccess - the value to return if not completed successfully
      +
      timeout - how long to wait in units of unit
      +
      unit - a TimeUnit determining how to interpret the timeout parameter
      +
      fns - the functions to use to compute the values of the returned CompletableFuture
      +
      Returns:
      +
      the new CompletableFuture
      +
      +
      +
    • +
    • +
      +

      thenMApplyMostSuccessAsync

      +
      @SafeVarargs +public static <T, +U> CompletableFuture<List<U>> thenMApplyMostSuccessAsync(CompletableFuture<? extends T> cfThis, + @Nullable + U valueIfNotSuccess, + Executor executor, + long timeout, + TimeUnit unit, + Function<? super T,? extends U>... fns)
      +
      Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the given Executor, with the most values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Functions arguments. +

      + If any of the provided functions does not success(fails or incomplete) in given time, + its corresponding position will contain valueIfNotSuccess.

      +
      +
      Type Parameters:
      +
      U - the functions' return type
      +
      Parameters:
      +
      valueIfNotSuccess - the value to return if not completed successfully
      +
      executor - the executor to use for asynchronous execution
      +
      timeout - how long to wait in units of unit
      +
      unit - a TimeUnit determining how to interpret the timeout parameter
      +
      fns - the functions to use to compute the values of the returned CompletableFuture
      +
      Returns:
      +
      the new CompletableFuture
      +
      +
      +
    • +
    • +
      +

      thenMApplyAsync

      +
      @SafeVarargs +public static <T, +U> CompletableFuture<List<U>> thenMApplyAsync(CompletableFuture<? extends T> cfThis, + Function<? super T,? extends U>... fns)
      +
      Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the CompletableFuture's default asynchronous execution facility, + with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
      +
      +
      Type Parameters:
      +
      U - the functions' return type
      +
      Parameters:
      +
      fns - the functions to use to compute the values of the returned CompletableFuture
      +
      Returns:
      +
      the new CompletableFuture
      +
      +
      +
    • +
    • +
      +

      thenMApplyAsync

      +
      @SafeVarargs +public static <T, +U> CompletableFuture<List<U>> thenMApplyAsync(CompletableFuture<? extends T> cfThis, + Executor executor, + Function<? super T,? extends U>... fns)
      +
      Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the given Executor, with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
      +
      +
      Type Parameters:
      +
      U - the functions' return type
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      fns - the functions to use to compute the values of the returned CompletableFuture
      +
      Returns:
      +
      the new CompletableFuture
      +
      +
      +
    • +
    • +
      +

      thenMApplyAnySuccessAsync

      +
      @SafeVarargs +public static <T, +U> CompletableFuture<U> thenMApplyAnySuccessAsync(CompletableFuture<? extends T> cfThis, + Function<? super T,? extends U>... fns)
      +
      Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the CompletableFuture's default asynchronous execution facility, + with any successful value obtained by calling the given Functions + (with the given stage's result as the argument to the given functions).
      +
      +
      Type Parameters:
      +
      U - the functions' return type
      +
      Parameters:
      +
      fns - the functions to use to compute the values of the returned CompletableFuture
      +
      Returns:
      +
      the new CompletableFuture
      +
      +
      +
    • +
    • +
      +

      thenMApplyAnySuccessAsync

      +
      @SafeVarargs +public static <T, +U> CompletableFuture<U> thenMApplyAnySuccessAsync(CompletableFuture<? extends T> cfThis, + Executor executor, + Function<? super T,? extends U>... fns)
      +
      Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the given Executor, with any successful value obtained by calling the given Functions + (with the given stage's result as the argument to the given functions).
      +
      +
      Type Parameters:
      +
      U - the functions' return type
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      fns - the functions to use to compute the values of the returned CompletableFuture
      +
      Returns:
      +
      the new CompletableFuture
      +
      +
      +
    • +
    • +
      +

      thenMApplyAnyAsync

      +
      @SafeVarargs +public static <T, +U> CompletableFuture<U> thenMApplyAnyAsync(CompletableFuture<? extends T> cfThis, + Function<? super T,? extends U>... fns)
      +
      Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the CompletableFuture's default asynchronous execution facility, + with any completed result obtained by calling the given Functions + (with the given stage's result as the argument to the given functions).
      +
      +
      Type Parameters:
      +
      U - the functions' return type
      +
      Parameters:
      +
      fns - the functions to use to compute the values of the returned CompletableFuture
      +
      Returns:
      +
      the new CompletableFuture
      +
      +
      +
    • +
    • +
      +

      thenMApplyAnyAsync

      +
      @SafeVarargs +public static <T, +U> CompletableFuture<U> thenMApplyAnyAsync(CompletableFuture<? extends T> cfThis, + Executor executor, + Function<? super T,? extends U>... fns)
      +
      Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the given Executor, with any completed result obtained by calling the given Functions + (with the given stage's result as the argument to the given functions).
      +
      +
      Type Parameters:
      +
      U - the functions' return type
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      fns - the functions to use to compute the values of the returned CompletableFuture
      +
      Returns:
      +
      the new CompletableFuture
      +
      +
      +
    • +
    • +
      +

      thenMAcceptFastFailAsync

      +
      @SafeVarargs +public static <T> CompletableFuture<Void> thenMAcceptFastFailAsync(CompletableFuture<? extends T> cfThis, + Consumer<? super T>... actions)
      +
      Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the CompletableFuture's default asynchronous execution facility, + with the given stage's result as the argument to the given actions.
      +
      +
      Parameters:
      +
      actions - the actions to perform before completing the returned CompletableFuture
      +
      Returns:
      +
      the new CompletableFuture
      +
      +
      +
    • +
    • +
      +

      thenMAcceptFastFailAsync

      +
      @SafeVarargs +public static <T> CompletableFuture<Void> thenMAcceptFastFailAsync(CompletableFuture<? extends T> cfThis, + Executor executor, + Consumer<? super T>... actions)
      +
      Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the given Executor, with the given stage's result as the argument to the given actions.
      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      actions - the actions to perform before completing the returned CompletableFuture
      +
      Returns:
      +
      the new CompletableFuture
      +
      +
      +
    • +
    • +
      +

      thenMAcceptAsync

      +
      @SafeVarargs +public static <T> CompletableFuture<Void> thenMAcceptAsync(CompletableFuture<? extends T> cfThis, + Consumer<? super T>... actions)
      +
      Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the CompletableFuture's default asynchronous execution facility, + with the given stage's result as the argument to the given actions.
      +
      +
      Parameters:
      +
      actions - the actions to perform before completing the returned CompletableFuture
      +
      Returns:
      +
      the new CompletableFuture
      +
      +
      +
    • +
    • +
      +

      thenMAcceptAsync

      +
      @SafeVarargs +public static <T> CompletableFuture<Void> thenMAcceptAsync(CompletableFuture<? extends T> cfThis, + Executor executor, + Consumer<? super T>... actions)
      +
      Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the given Executor, with the given stage's result as the argument to the given actions.
      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      actions - the actions to perform before completing the returned CompletableFuture
      +
      Returns:
      +
      the new CompletableFuture
      +
      +
      +
    • +
    • +
      +

      thenMAcceptAnySuccessAsync

      +
      @SafeVarargs +public static <T> CompletableFuture<Void> thenMAcceptAnySuccessAsync(CompletableFuture<? extends T> cfThis, + Consumer<? super T>... actions)
      +
      Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the CompletableFuture's default asynchronous execution facility, + with the given stage's result as the argument to the given actions.
      +
      +
      Parameters:
      +
      actions - the actions to perform before completing the returned CompletableFuture
      +
      Returns:
      +
      the new CompletableFuture
      +
      +
      +
    • +
    • +
      +

      thenMAcceptAnySuccessAsync

      +
      @SafeVarargs +public static <T> CompletableFuture<Void> thenMAcceptAnySuccessAsync(CompletableFuture<? extends T> cfThis, + Executor executor, + Consumer<? super T>... actions)
      +
      Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the given Executor, with the given stage's result as the argument to the given actions.
      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      actions - the actions to perform before completing the returned CompletableFuture
      +
      Returns:
      +
      the new CompletableFuture
      +
      +
      +
    • +
    • +
      +

      thenMAcceptAnyAsync

      +
      @SafeVarargs +public static <T> CompletableFuture<Void> thenMAcceptAnyAsync(CompletableFuture<? extends T> cfThis, + Consumer<? super T>... actions)
      +
      Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the CompletableFuture's default asynchronous execution facility, + with the given stage's result as the argument to the given actions.
      +
      +
      Parameters:
      +
      actions - the actions to perform before completing the returned CompletableFuture
      +
      Returns:
      +
      the new CompletableFuture
      +
      +
      +
    • +
    • +
      +

      thenMAcceptAnyAsync

      +
      @SafeVarargs +public static <T> CompletableFuture<Void> thenMAcceptAnyAsync(CompletableFuture<? extends T> cfThis, + Executor executor, + Consumer<? super T>... actions)
      +
      Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the given Executor, with the given stage's result as the argument to the given actions.
      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      actions - the actions to perform before completing the returned CompletableFuture
      +
      Returns:
      +
      the new CompletableFuture
      +
      +
      +
    • +
    • +
      +

      thenMRunFastFailAsync

      +
      public static CompletableFuture<Void> thenMRunFastFailAsync(CompletableFuture<?> cfThis, + Runnable... actions)
      +
      Returns a new CompletableFuture that, when the given stage completes normally, + executes the given actions using the CompletableFuture's default asynchronous execution facility.
      +
      +
      Parameters:
      +
      actions - the actions to perform before completing the returned CompletableFuture
      +
      Returns:
      +
      the new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      thenMRunFastFailAsync

      +
      public static CompletableFuture<Void> thenMRunFastFailAsync(CompletableFuture<?> cfThis, + Executor executor, + Runnable... actions)
      +
      Returns a new CompletableFuture that, when the given stage completes normally, + executes the given actions using the given Executor.
      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      actions - the actions to perform before completing the returned CompletableFuture
      +
      Returns:
      +
      the new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      thenMRunAsync

      +
      public static CompletableFuture<Void> thenMRunAsync(CompletableFuture<?> cfThis, + Runnable... actions)
      +
      Returns a new CompletableFuture that, when the given stage completes normally, + executes the given actions using the CompletableFuture's default asynchronous execution facility.
      +
      +
      Parameters:
      +
      actions - the actions to perform before completing the returned CompletableFuture
      +
      Returns:
      +
      the new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      thenMRunAsync

      +
      public static CompletableFuture<Void> thenMRunAsync(CompletableFuture<?> cfThis, + Executor executor, + Runnable... actions)
      +
      Returns a new CompletableFuture that, when the given stage completes normally, + executes the given actions using the given Executor.
      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      actions - the actions to perform before completing the returned CompletableFuture
      +
      Returns:
      +
      the new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      thenMRunAnySuccessAsync

      +
      public static CompletableFuture<Void> thenMRunAnySuccessAsync(CompletableFuture<?> cfThis, + Runnable... actions)
      +
      Returns a new CompletableFuture that, when the given stage completes normally, + executes the given actions using the CompletableFuture's default asynchronous execution facility.
      +
      +
      Parameters:
      +
      actions - the actions to perform before completing the returned CompletableFuture
      +
      Returns:
      +
      the new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      thenMRunAnySuccessAsync

      +
      public static CompletableFuture<Void> thenMRunAnySuccessAsync(CompletableFuture<?> cfThis, + Executor executor, + Runnable... actions)
      +
      Returns a new CompletableFuture that, when the given stage completes normally, + executes the given actions using the given Executor.
      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      actions - the actions to perform before completing the returned CompletableFuture
      +
      Returns:
      +
      the new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      thenMRunAnyAsync

      +
      public static CompletableFuture<Void> thenMRunAnyAsync(CompletableFuture<?> cfThis, + Runnable... actions)
      +
      Returns a new CompletableFuture that, when the given stage completes normally, + executes the given actions using the CompletableFuture's default asynchronous execution facility.
      +
      +
      Parameters:
      +
      actions - the actions to perform before completing the returned CompletableFuture
      +
      Returns:
      +
      the new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      thenMRunAnyAsync

      +
      public static CompletableFuture<Void> thenMRunAnyAsync(CompletableFuture<?> cfThis, + Executor executor, + Runnable... actions)
      +
      Returns a new CompletableFuture that, when the given stage completes normally, + executes the given actions using the given Executor.
      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      actions - the actions to perform before completing the returned CompletableFuture
      +
      Returns:
      +
      the new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      thenTupleMApplyFastFailAsync

      +
      public static <T, +U1, +U2> +CompletableFuture<Tuple2<U1,U2>> thenTupleMApplyFastFailAsync(CompletableFuture<? extends T> cfThis, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2)
      +
      Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the CompletableFuture's default asynchronous execution facility, + with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
      +
      +
      Returns:
      +
      the new CompletableFuture
      +
      +
      +
    • +
    • +
      +

      thenTupleMApplyFastFailAsync

      +
      public static <T, +U1, +U2> +CompletableFuture<Tuple2<U1,U2>> thenTupleMApplyFastFailAsync(CompletableFuture<? extends T> cfThis, + Executor executor, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2)
      +
      Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the given Executor, with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new CompletableFuture
      +
      +
      +
    • +
    • +
      +

      thenTupleMApplyFastFailAsync

      +
      public static <T, +U1, +U2, +U3> +CompletableFuture<Tuple3<U1,U2,U3>> thenTupleMApplyFastFailAsync(CompletableFuture<? extends T> cfThis, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3)
      +
      Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the CompletableFuture's default asynchronous execution facility, + with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
      +
      +
      Returns:
      +
      the new CompletableFuture
      +
      +
      +
    • +
    • +
      +

      thenTupleMApplyFastFailAsync

      +
      public static <T, +U1, +U2, +U3> +CompletableFuture<Tuple3<U1,U2,U3>> thenTupleMApplyFastFailAsync(CompletableFuture<? extends T> cfThis, + Executor executor, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3)
      +
      Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the given Executor, with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new CompletableFuture
      +
      +
      +
    • +
    • +
      +

      thenTupleMApplyFastFailAsync

      +
      public static <T, +U1, +U2, +U3, +U4> +CompletableFuture<Tuple4<U1,U2,U3,U4>> thenTupleMApplyFastFailAsync(CompletableFuture<? extends T> cfThis, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4)
      +
      Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the CompletableFuture's default asynchronous execution facility, + with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
      +
      +
      Returns:
      +
      the new CompletableFuture
      +
      +
      +
    • +
    • +
      +

      thenTupleMApplyFastFailAsync

      +
      public static <T, +U1, +U2, +U3, +U4> +CompletableFuture<Tuple4<U1,U2,U3,U4>> thenTupleMApplyFastFailAsync(CompletableFuture<? extends T> cfThis, + Executor executor, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4)
      +
      Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the given Executor, with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new CompletableFuture
      +
      +
      +
    • +
    • +
      +

      thenTupleMApplyFastFailAsync

      +
      public static <T, +U1, +U2, +U3, +U4, +U5> +CompletableFuture<Tuple5<U1,U2,U3,U4,U5>> thenTupleMApplyFastFailAsync(CompletableFuture<? extends T> cfThis, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4, + Function<? super T,? extends U5> fn5)
      +
      Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the CompletableFuture's default asynchronous execution facility, + with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
      +
      +
      Returns:
      +
      the new CompletableFuture
      +
      +
      +
    • +
    • +
      +

      thenTupleMApplyFastFailAsync

      +
      public static <T, +U1, +U2, +U3, +U4, +U5> +CompletableFuture<Tuple5<U1,U2,U3,U4,U5>> thenTupleMApplyFastFailAsync(CompletableFuture<? extends T> cfThis, + Executor executor, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4, + Function<? super T,? extends U5> fn5)
      +
      Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the given Executor, with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new CompletableFuture
      +
      +
      +
    • +
    • +
      +

      thenTupleMApplyAllSuccessAsync

      +
      public static <T, +U1, +U2> +CompletableFuture<Tuple2<U1,U2>> thenTupleMApplyAllSuccessAsync(CompletableFuture<? extends T> cfThis, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2)
      +
      Returns a new CompletableFuture that, when the given stage completes normally, + is executed in the CompletableFuture's default asynchronous execution facility + with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions). +

      + If any of the provided functions fails, its corresponding position will contain null + (which is indistinguishable from the function having a successful value of null).

      +
      +
      Returns:
      +
      the new CompletableFuture
      +
      +
      +
    • +
    • +
      +

      thenTupleMApplyAllSuccessAsync

      +
      public static <T, +U1, +U2> +CompletableFuture<Tuple2<U1,U2>> thenTupleMApplyAllSuccessAsync(CompletableFuture<? extends T> cfThis, + Executor executor, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2)
      +
      Returns a new CompletableFuture that, when the given stage completes normally, + is executed in the given Executor with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments. +

      + If any of the provided functions fails, its corresponding position will contain null + (which is indistinguishable from the function having a successful value of null).

      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new CompletableFuture
      +
      +
      +
    • +
    • +
      +

      thenTupleMApplyAllSuccessAsync

      +
      public static <T, +U1, +U2, +U3> +CompletableFuture<Tuple3<U1,U2,U3>> thenTupleMApplyAllSuccessAsync(CompletableFuture<? extends T> cfThis, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3)
      +
      Returns a new CompletableFuture that, when the given stage completes normally, + is executed in the CompletableFuture's default asynchronous execution facility + with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments. +

      + If any of the provided functions fails, its corresponding position will contain null + (which is indistinguishable from the function having a successful value of null).

      +
      +
      Returns:
      +
      the new CompletableFuture
      +
      +
      +
    • +
    • +
      +

      thenTupleMApplyAllSuccessAsync

      +
      public static <T, +U1, +U2, +U3> +CompletableFuture<Tuple3<U1,U2,U3>> thenTupleMApplyAllSuccessAsync(CompletableFuture<? extends T> cfThis, + Executor executor, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3)
      +
      Returns a new CompletableFuture that, when the given stage completes normally, + is executed in the given Executor with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments. +

      + If any of the provided functions fails, its corresponding position will contain null + (which is indistinguishable from the function having a successful value of null).

      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new CompletableFuture
      +
      +
      +
    • +
    • +
      +

      thenTupleMApplyAllSuccessAsync

      +
      public static <T, +U1, +U2, +U3, +U4> +CompletableFuture<Tuple4<U1,U2,U3,U4>> thenTupleMApplyAllSuccessAsync(CompletableFuture<? extends T> cfThis, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4)
      +
      Returns a new CompletableFuture that, when the given stage completes normally, + is executed in the CompletableFuture's default asynchronous execution facility + with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments. +

      + If any of the provided functions fails, its corresponding position will contain null + (which is indistinguishable from the function having a successful value of null).

      +
      +
      Returns:
      +
      the new CompletableFuture
      +
      +
      +
    • +
    • +
      +

      thenTupleMApplyAllSuccessAsync

      +
      public static <T, +U1, +U2, +U3, +U4> +CompletableFuture<Tuple4<U1,U2,U3,U4>> thenTupleMApplyAllSuccessAsync(CompletableFuture<? extends T> cfThis, + Executor executor, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4)
      +
      Returns a new CompletableFuture that, when the given stage completes normally, + is executed in the given Executor with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments. +

      + If any of the provided functions fails, its corresponding position will contain null + (which is indistinguishable from the function having a successful value of null).

      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new CompletableFuture
      +
      +
      +
    • +
    • +
      +

      thenTupleMApplyAllSuccessAsync

      +
      public static <T, +U1, +U2, +U3, +U4, +U5> +CompletableFuture<Tuple5<U1,U2,U3,U4,U5>> thenTupleMApplyAllSuccessAsync(CompletableFuture<? extends T> cfThis, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4, + Function<? super T,? extends U5> fn5)
      +
      Returns a new CompletableFuture that, when the given stage completes normally, + is executed in the CompletableFuture's default asynchronous execution facility + with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments. +

      + If any of the provided functions fails, its corresponding position will contain null + (which is indistinguishable from the function having a successful value of null).

      +
      +
      Returns:
      +
      the new CompletableFuture
      +
      +
      +
    • +
    • +
      +

      thenTupleMApplyAllSuccessAsync

      +
      public static <T, +U1, +U2, +U3, +U4, +U5> +CompletableFuture<Tuple5<U1,U2,U3,U4,U5>> thenTupleMApplyAllSuccessAsync(CompletableFuture<? extends T> cfThis, + Executor executor, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4, + Function<? super T,? extends U5> fn5)
      +
      Returns a new CompletableFuture that, when the given stage completes normally, + is executed in the given Executor with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments. +

      + If any of the provided functions fails, its corresponding position will contain null + (which is indistinguishable from the function having a successful value of null).

      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new CompletableFuture
      +
      +
      +
    • +
    • +
      +

      thenTupleMApplyMostSuccessAsync

      +
      public static <T, +U1, +U2> +CompletableFuture<Tuple2<U1,U2>> thenTupleMApplyMostSuccessAsync(CompletableFuture<? extends T> cfThis, + long timeout, + TimeUnit unit, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2)
      +
      Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the CompletableFuture's default asynchronous execution facility, + with the most values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Functions arguments. +

      + If the given function is successful in the given time, the return result is the completed value; + Otherwise the given valueIfNotSuccess.

      +
      +
      Parameters:
      +
      timeout - how long to wait in units of unit
      +
      unit - a TimeUnit determining how to interpret the timeout parameter
      +
      Returns:
      +
      the new CompletableFuture
      +
      +
      +
    • +
    • +
      +

      thenTupleMApplyMostSuccessAsync

      +
      public static <T, +U1, +U2> +CompletableFuture<Tuple2<U1,U2>> thenTupleMApplyMostSuccessAsync(CompletableFuture<? extends T> cfThis, + Executor executor, + long timeout, + TimeUnit unit, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2)
      +
      Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the given Executor, + with the most values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Functions arguments. +

      + If the given function is successful in the given time, the return result is the completed value; + Otherwise the given valueIfNotSuccess.

      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      timeout - how long to wait in units of unit
      +
      unit - a TimeUnit determining how to interpret the timeout parameter
      +
      Returns:
      +
      the new CompletableFuture
      +
      +
      +
    • +
    • +
      +

      thenTupleMApplyMostSuccessAsync

      +
      public static <T, +U1, +U2, +U3> +CompletableFuture<Tuple3<U1,U2,U3>> thenTupleMApplyMostSuccessAsync(CompletableFuture<? extends T> cfThis, + long timeout, + TimeUnit unit, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3)
      +
      Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the CompletableFuture's default asynchronous execution facility, + with the most values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Functions arguments. +

      + If the given function is successful in the given time, the return result is the completed value; + Otherwise the given valueIfNotSuccess.

      +
      +
      Parameters:
      +
      timeout - how long to wait in units of unit
      +
      unit - a TimeUnit determining how to interpret the timeout parameter
      +
      Returns:
      +
      the new CompletableFuture
      +
      +
      +
    • +
    • +
      +

      thenTupleMApplyMostSuccessAsync

      +
      public static <T, +U1, +U2, +U3> +CompletableFuture<Tuple3<U1,U2,U3>> thenTupleMApplyMostSuccessAsync(CompletableFuture<? extends T> cfThis, + Executor executor, + long timeout, + TimeUnit unit, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3)
      +
      Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the given Executor, + with the most values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Functions arguments. +

      + If the given function is successful in the given time, the return result is the completed value; + Otherwise the given valueIfNotSuccess.

      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      timeout - how long to wait in units of unit
      +
      unit - a TimeUnit determining how to interpret the timeout parameter
      +
      Returns:
      +
      the new CompletableFuture
      +
      +
      +
    • +
    • +
      +

      thenTupleMApplyMostSuccessAsync

      +
      public static <T, +U1, +U2, +U3, +U4> +CompletableFuture<Tuple4<U1,U2,U3,U4>> thenTupleMApplyMostSuccessAsync(CompletableFuture<? extends T> cfThis, + long timeout, + TimeUnit unit, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4)
      +
      Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the CompletableFuture's default asynchronous execution facility, + with the most values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Functions arguments. +

      + If the given function is successful in the given time, the return result is the completed value; + Otherwise the given valueIfNotSuccess.

      +
      +
      Parameters:
      +
      timeout - how long to wait in units of unit
      +
      unit - a TimeUnit determining how to interpret the timeout parameter
      +
      Returns:
      +
      the new CompletableFuture
      +
      +
      +
    • +
    • +
      +

      thenTupleMApplyMostSuccessAsync

      +
      public static <T, +U1, +U2, +U3, +U4> +CompletableFuture<Tuple4<U1,U2,U3,U4>> thenTupleMApplyMostSuccessAsync(CompletableFuture<? extends T> cfThis, + Executor executor, + long timeout, + TimeUnit unit, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4)
      +
      Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the given Executor, + with the most values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Functions arguments. +

      + If the given function is successful in the given time, the return result is the completed value; + Otherwise the given valueIfNotSuccess.

      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      timeout - how long to wait in units of unit
      +
      unit - a TimeUnit determining how to interpret the timeout parameter
      +
      Returns:
      +
      the new CompletableFuture
      +
      +
      +
    • +
    • +
      +

      thenTupleMApplyMostSuccessAsync

      +
      public static <T, +U1, +U2, +U3, +U4, +U5> +CompletableFuture<Tuple5<U1,U2,U3,U4,U5>> thenTupleMApplyMostSuccessAsync(CompletableFuture<? extends T> cfThis, + long timeout, + TimeUnit unit, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4, + Function<? super T,? extends U5> fn5)
      +
      Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the CompletableFuture's default asynchronous execution facility, + with the most values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Functions arguments. +

      + If the given function is successful in the given time, the return result is the completed value; + Otherwise the given valueIfNotSuccess.

      +
      +
      Parameters:
      +
      timeout - how long to wait in units of unit
      +
      unit - a TimeUnit determining how to interpret the timeout parameter
      +
      Returns:
      +
      the new CompletableFuture
      +
      +
      +
    • +
    • +
      +

      thenTupleMApplyMostSuccessAsync

      +
      public static <T, +U1, +U2, +U3, +U4, +U5> +CompletableFuture<Tuple5<U1,U2,U3,U4,U5>> thenTupleMApplyMostSuccessAsync(CompletableFuture<? extends T> cfThis, + Executor executor, + long timeout, + TimeUnit unit, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4, + Function<? super T,? extends U5> fn5)
      +
      Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the given Executor, + with the most values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Functions arguments. +

      + If the given function is successful in the given time, the return result is the completed value; + Otherwise the given valueIfNotSuccess.

      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      timeout - how long to wait in units of unit
      +
      unit - a TimeUnit determining how to interpret the timeout parameter
      +
      Returns:
      +
      the new CompletableFuture
      +
      +
      +
    • +
    • +
      +

      thenTupleMApplyAsync

      +
      public static <T, +U1, +U2> +CompletableFuture<Tuple2<U1,U2>> thenTupleMApplyAsync(CompletableFuture<? extends T> cfThis, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2)
      +
      Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the CompletableFuture's default asynchronous execution facility, + with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
      +
      +
      Returns:
      +
      the new CompletableFuture
      +
      +
      +
    • +
    • +
      +

      thenTupleMApplyAsync

      +
      public static <T, +U1, +U2> +CompletableFuture<Tuple2<U1,U2>> thenTupleMApplyAsync(CompletableFuture<? extends T> cfThis, + Executor executor, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2)
      +
      Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the given Executor, with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new CompletableFuture
      +
      +
      +
    • +
    • +
      +

      thenTupleMApplyAsync

      +
      public static <T, +U1, +U2, +U3> +CompletableFuture<Tuple3<U1,U2,U3>> thenTupleMApplyAsync(CompletableFuture<? extends T> cfThis, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3)
      +
      Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the CompletableFuture's default asynchronous execution facility, + with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
      +
      +
      Returns:
      +
      the new CompletableFuture
      +
      +
      +
    • +
    • +
      +

      thenTupleMApplyAsync

      +
      public static <T, +U1, +U2, +U3> +CompletableFuture<Tuple3<U1,U2,U3>> thenTupleMApplyAsync(CompletableFuture<? extends T> cfThis, + Executor executor, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3)
      +
      Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the given Executor, with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new CompletableFuture
      +
      +
      +
    • +
    • +
      +

      thenTupleMApplyAsync

      +
      public static <T, +U1, +U2, +U3, +U4> +CompletableFuture<Tuple4<U1,U2,U3,U4>> thenTupleMApplyAsync(CompletableFuture<? extends T> cfThis, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4)
      +
      Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the CompletableFuture's default asynchronous execution facility, + with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
      +
      +
      Returns:
      +
      the new CompletableFuture
      +
      +
      +
    • +
    • +
      +

      thenTupleMApplyAsync

      +
      public static <T, +U1, +U2, +U3, +U4> +CompletableFuture<Tuple4<U1,U2,U3,U4>> thenTupleMApplyAsync(CompletableFuture<? extends T> cfThis, + Executor executor, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4)
      +
      Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the given Executor, with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new CompletableFuture
      +
      +
      +
    • +
    • +
      +

      thenTupleMApplyAsync

      +
      public static <T, +U1, +U2, +U3, +U4, +U5> +CompletableFuture<Tuple5<U1,U2,U3,U4,U5>> thenTupleMApplyAsync(CompletableFuture<? extends T> cfThis, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4, + Function<? super T,? extends U5> fn5)
      +
      Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the CompletableFuture's default asynchronous execution facility, + with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
      +
      +
      Returns:
      +
      the new CompletableFuture
      +
      +
      +
    • +
    • +
      +

      thenTupleMApplyAsync

      +
      public static <T, +U1, +U2, +U3, +U4, +U5> +CompletableFuture<Tuple5<U1,U2,U3,U4,U5>> thenTupleMApplyAsync(CompletableFuture<? extends T> cfThis, + Executor executor, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4, + Function<? super T,? extends U5> fn5)
      +
      Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the given Executor, with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
      +
      +
      Parameters:
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new CompletableFuture
      +
      +
      +
    • +
    • +
      +

      thenCombineFastFail

      +
      public static <T, +U, +V> CompletableFuture<V> thenCombineFastFail(CompletableFuture<? extends T> cfThis, + CompletionStage<? extends U> other, + BiFunction<? super T,? super U,? extends V> fn)
      +
      Returns a new CompletableFuture that, when tow given stage both complete normally, + is executed with the two results as arguments to the supplied function. + if any of the given stage complete exceptionally, then the returned CompletableFuture also does so + *without* waiting other incomplete given CompletionStage, + with a CompletionException holding this exception as its cause.
      +
      +
      Parameters:
      +
      fn - the function to use to compute the value of the returned CompletableFuture
      +
      Returns:
      +
      the new CompletableFuture
      +
      +
      +
    • +
    • +
      +

      thenCombineFastFailAsync

      +
      public static <T, +U, +V> CompletableFuture<V> thenCombineFastFailAsync(CompletableFuture<? extends T> cfThis, + CompletionStage<? extends U> other, + BiFunction<? super T,? super U,? extends V> fn)
      +
      Returns a new CompletableFuture that, when tow given stage both complete normally, + is executed using CompletableFuture's default asynchronous execution facility, + with the two results as arguments to the supplied function. + if any of the given stage complete exceptionally, then the returned CompletableFuture also does so + *without* waiting other incomplete given CompletionStage, + with a CompletionException holding this exception as its cause.
      +
      +
      Parameters:
      +
      fn - the function to use to compute the value of the returned CompletableFuture
      +
      Returns:
      +
      the new CompletableFuture
      +
      +
      +
    • +
    • +
      +

      thenCombineFastFailAsync

      +
      public static <T, +U, +V> CompletableFuture<V> thenCombineFastFailAsync(CompletableFuture<? extends T> cfThis, + CompletionStage<? extends U> other, + BiFunction<? super T,? super U,? extends V> fn, + Executor executor)
      +
      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. + if any of the given stage complete exceptionally, then the returned CompletableFuture also does so + *without* waiting other incomplete given CompletionStage, + with a CompletionException holding this exception as its cause.
      +
      +
      Parameters:
      +
      fn - the function to use to compute the value of the returned CompletableFuture
      +
      Returns:
      +
      the new CompletableFuture
      +
      +
      +
    • +
    • +
      +

      thenAcceptBothFastFail

      +
      public static <T, +U> CompletableFuture<Void> thenAcceptBothFastFail(CompletableFuture<? extends T> cfThis, + CompletionStage<? extends U> other, + BiConsumer<? super T,? super U> action)
      +
      Returns a new CompletableFuture that, when tow given stage both complete normally, + is executed with the two results as arguments to the supplied action. + if any of the given stage complete exceptionally, then the returned CompletableFuture also does so + *without* waiting other incomplete given CompletionStage, + with a CompletionException holding this exception as its cause.
      +
      +
      Parameters:
      +
      action - the action to perform before completing the returned CompletableFuture
      +
      Returns:
      +
      the new CompletableFuture
      +
      +
      +
    • +
    • +
      +

      thenAcceptBothFastFailAsync

      +
      public static <T, +U> CompletableFuture<Void> thenAcceptBothFastFailAsync(CompletableFuture<? extends T> cfThis, + CompletionStage<? extends U> other, + BiConsumer<? super T,? super U> action)
      +
      Returns a new CompletableFuture that, when tow given stage both complete normally, + is executed using CompletableFuture's default asynchronous execution facility, + with the two results as arguments to the supplied action. + if any of the given stage complete exceptionally, then the returned CompletableFuture also does so + *without* waiting other incomplete given CompletionStage, + with a CompletionException holding this exception as its cause.
      +
      +
      Parameters:
      +
      action - the action to perform before completing the returned CompletableFuture
      +
      Returns:
      +
      the new CompletableFuture
      +
      +
      +
    • +
    • +
      +

      thenAcceptBothFastFailAsync

      +
      public static <T, +U> CompletableFuture<Void> thenAcceptBothFastFailAsync(CompletableFuture<? extends T> cfThis, + CompletionStage<? extends U> other, + BiConsumer<? super T,? super U> action, + Executor executor)
      +
      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. + if any of the given stage complete exceptionally, then the returned CompletableFuture also does so + *without* waiting other incomplete given CompletionStage, + with a CompletionException holding this exception as its cause.
      +
      +
      Parameters:
      +
      action - the action to perform before completing the returned CompletableFuture
      +
      Returns:
      +
      the new CompletableFuture
      +
      +
      +
    • +
    • +
      +

      runAfterBothFastFail

      +
      public static CompletableFuture<Void> runAfterBothFastFail(CompletableFuture<?> cfThis, + CompletionStage<?> other, + Runnable action)
      +
      Returns a new CompletableFuture that, when two given stages both complete normally, executes the given action. + if any of the given stage complete exceptionally, then the returned CompletableFuture also does so + *without* waiting other incomplete given CompletionStage, + with a CompletionException holding this exception as its cause.
      +
      +
      Parameters:
      +
      action - the action to perform before completing the returned CompletableFuture
      +
      Returns:
      +
      the new CompletableFuture
      +
      +
      +
    • +
    • +
      +

      runAfterBothFastFailAsync

      +
      public static CompletableFuture<Void> runAfterBothFastFailAsync(CompletableFuture<?> cfThis, + CompletionStage<?> other, + Runnable action)
      +
      Returns a new CompletableFuture that, when two given stages both complete normally, + executes the given action using CompletableFuture's default asynchronous execution facility. + if any of the given stage complete exceptionally, then the returned CompletableFuture also does so + *without* waiting other incomplete given CompletionStage, + with a CompletionException holding this exception as its cause.
      +
      +
      Parameters:
      +
      action - the action to perform before completing the returned CompletableFuture
      +
      Returns:
      +
      the new CompletableFuture
      +
      +
      +
    • +
    • +
      +

      runAfterBothFastFailAsync

      +
      public static CompletableFuture<Void> runAfterBothFastFailAsync(CompletableFuture<?> cfThis, + CompletionStage<?> other, + Runnable action, + Executor executor)
      +
      Returns a new CompletableFuture that, when two given stages both complete normally, + executes the given action using the supplied executor. + if any of the given stage complete exceptionally, then the returned CompletableFuture also does so + *without* waiting other incomplete given CompletionStage, + with a CompletionException holding this exception as its cause.
      +
      +
      Parameters:
      +
      action - the action to perform before completing the returned CompletableFuture
      +
      Returns:
      +
      the new CompletableFuture
      +
      +
      +
    • +
    • +
      +

      applyToEitherSuccess

      +
      public static <T, +U> CompletableFuture<U> applyToEitherSuccess(CompletableFuture<? extends T> cfThis, + CompletionStage<? extends T> other, + Function<? super T,? extends U> fn)
      +
      Returns a new CompletableFuture that, when either given stage success, + is executed with the corresponding result as argument to the supplied function.
      +
      +
      Type Parameters:
      +
      U - the function's return type
      +
      Parameters:
      +
      fn - the function to use to compute the value of the returned CompletableFuture
      +
      Returns:
      +
      the new CompletableFuture
      +
      +
      +
    • +
    • +
      +

      applyToEitherSuccessAsync

      +
      public static <T, +U> CompletableFuture<U> applyToEitherSuccessAsync(CompletableFuture<? extends T> cfThis, + CompletionStage<? extends T> other, + Function<? super T,? extends U> fn)
      +
      Returns a new CompletableFuture that, when either given stage success, + is executed using this CompletableFuture's default asynchronous execution facility, + with the corresponding result as argument to the supplied function.
      +
      +
      Type Parameters:
      +
      U - the function's return type
      +
      Parameters:
      +
      fn - the function to use to compute the value of the returned CompletableFuture
      +
      Returns:
      +
      the new CompletableFuture
      +
      +
      +
    • +
    • +
      +

      applyToEitherSuccessAsync

      +
      public static <T, +U> CompletableFuture<U> applyToEitherSuccessAsync(CompletableFuture<? extends T> cfThis, + CompletionStage<? extends T> other, + Function<? super T,? extends U> fn, + Executor executor)
      +
      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.
      +
      +
      Type Parameters:
      +
      U - the function's return type
      +
      Parameters:
      +
      fn - the function to use to compute the value of the returned CompletableFuture
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new CompletableFuture
      +
      +
      +
    • +
    • +
      +

      acceptEitherSuccess

      +
      public static <T> CompletableFuture<Void> acceptEitherSuccess(CompletableFuture<? extends T> cfThis, + CompletionStage<? extends T> other, + Consumer<? super T> action)
      +
      Returns a new CompletableFuture that, when either given stage success, + is executed with the corresponding result as argument to the supplied action.
      +
      +
      Parameters:
      +
      action - the action to perform before completing the returned CompletableFuture
      +
      Returns:
      +
      the new CompletableFuture
      +
      +
      +
    • +
    • +
      +

      acceptEitherSuccessAsync

      +
      public static <T> CompletableFuture<Void> acceptEitherSuccessAsync(CompletableFuture<? extends T> cfThis, + CompletionStage<? extends T> other, + Consumer<? super T> action)
      +
      Returns a new CompletableFuture that, when either given stage success, + is executed using this CompletableFuture's default asynchronous execution facility, + with the corresponding result as argument to the supplied action.
      +
      +
      Parameters:
      +
      action - the action to perform before completing the returned CompletableFuture
      +
      Returns:
      +
      the new CompletableFuture
      +
      +
      +
    • +
    • +
      +

      acceptEitherSuccessAsync

      +
      public static <T> CompletableFuture<Void> acceptEitherSuccessAsync(CompletableFuture<? extends T> cfThis, + CompletionStage<? extends T> other, + Consumer<? super T> action, + Executor executor)
      +
      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.
      +
      +
      Parameters:
      +
      action - the action to perform before completing the returned CompletableFuture
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new CompletableFuture
      +
      +
      +
    • +
    • +
      +

      runAfterEitherSuccess

      +
      public static CompletableFuture<Void> runAfterEitherSuccess(CompletableFuture<?> cfThis, + CompletionStage<?> other, + Runnable action)
      +
      Returns a new CompletableFuture that, when either given stage success, executes the given action. + Otherwise, all two given CompletionStage complete exceptionally, + the returned CompletableFuture also does so, with a CompletionException holding + an exception from any of the given CompletionStage as its cause.
      +
      +
      Parameters:
      +
      action - the action to perform before completing the returned CompletableFuture
      +
      Returns:
      +
      the new CompletableFuture
      +
      +
      +
    • +
    • +
      +

      runAfterEitherSuccessAsync

      +
      public static CompletableFuture<Void> runAfterEitherSuccessAsync(CompletableFuture<?> cfThis, + CompletionStage<?> other, + Runnable action)
      +
      Returns a new CompletableFuture that, when either given stage success, executes the given action + using CompletableFuture's default asynchronous execution facility. + Otherwise, all two given CompletionStage complete exceptionally, + the returned CompletableFuture also does so, with a CompletionException holding + an exception from any of the given CompletionStage as its cause.
      +
      +
      Parameters:
      +
      action - the action to perform before completing the returned CompletableFuture
      +
      Returns:
      +
      the new CompletableFuture
      +
      +
      +
    • +
    • +
      +

      runAfterEitherSuccessAsync

      +
      public static CompletableFuture<Void> runAfterEitherSuccessAsync(CompletableFuture<?> cfThis, + CompletionStage<?> other, + Runnable action, + Executor executor)
      +
      Returns a new CompletableFuture that, when either given stage success, executes the given action + using the supplied executor. + Otherwise, all two given CompletionStage complete exceptionally, + the returned CompletableFuture also does so, with a CompletionException holding + an exception from any of the given CompletionStage as its cause.
      +
      +
      Parameters:
      +
      action - the action to perform before completing the returned CompletableFuture
      +
      Returns:
      +
      the new CompletableFuture
      +
      +
      +
    • +
    • +
      +

      catching

      +
      public static <T, +X extends Throwable, +C extends CompletionStage<? super T>> +C catching(C cfThis, + Class<X> exceptionType, + Function<? super X,? extends T> fallback)
      +
      Returns a new CompletionStage that, when given stage completes exceptionally with the given exceptionType, + is executed with given stage's exception as the argument to the supplied function. + Otherwise, the returned stage contains same result as input CompletionStage.
      +
      +
      Parameters:
      +
      exceptionType - the exception type that triggers use of fallback. The exception type is matched + against the input's exception. To avoid hiding bugs and other unrecoverable errors, + callers should prefer more specific types, avoiding Throwable.class in particular.
      +
      fallback - the Function to be called if input fails with the expected exception type. + The function's argument is the input's exception.
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      catchingAsync

      +
      public static <T, +X extends Throwable, +C extends CompletionStage<? super T>> +C catchingAsync(C cfThis, + Class<X> exceptionType, + Function<? super X,? extends T> fallback)
      +
      Returns a new CompletionStage that, when given stage completes exceptionally with the given exceptionType, + is executed with given stage's exception as the argument to the supplied function, + using the given stage's default asynchronous execution facility. + Otherwise, the returned stage contains same result as input CompletionStage.
      +
      +
      Parameters:
      +
      exceptionType - the exception type that triggers use of fallback. The exception type is matched + against the input's exception. To avoid hiding bugs and other unrecoverable errors, + callers should prefer more specific types, avoiding Throwable.class in particular.
      +
      fallback - the Function to be called if input fails with the expected exception type. + The function's argument is the input's exception.
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      catchingAsync

      +
      public static <T, +X extends Throwable, +C extends CompletionStage<? super T>> +C catchingAsync(C cfThis, + Class<X> exceptionType, + Function<? super X,? extends T> fallback, + Executor executor)
      +
      Returns a new CompletionStage that, when given stage completes exceptionally with the given exceptionType, + is executed with given stage's exception as the argument to the supplied function, using the supplied Executor. + Otherwise, the returned stage contains same result as input CompletionStage.
      +
      +
      Parameters:
      +
      exceptionType - the exception type that triggers use of fallback. The exception type is matched + against the input's exception. To avoid hiding bugs and other unrecoverable errors, + callers should prefer more specific types, avoiding Throwable.class in particular.
      +
      fallback - the Function to be called if input fails with the expected exception type. + The function's argument is the input's exception.
      +
      executor - the executor to use for asynchronous execution
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      exceptionallyAsync

      +
      public static <T, +C extends CompletionStage<? super T>> +C exceptionallyAsync(C cfThis, + Function<Throwable,? extends T> fn)
      +
      Returns a new CompletionStage that, when given stage completes exceptionally, is executed with given + stage's exception as the argument to the supplied function, using given stage's + default asynchronous execution facility. Otherwise, if given stage completes normally, + then the returned stage also completes normally with the same value. +

      + Just as catching Throwable is not best practice in general, this method handles the Throwable; + Strong recommend using catchingAsync(CompletionStage, Class, Function) + instead in your biz application.

      +
      +
      Parameters:
      +
      fn - the function to use to compute the value of the returned CompletableFuture + if given CompletionStage completed exceptionally
      +
      Returns:
      +
      the new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      exceptionallyAsync

      +
      public static <T, +C extends CompletionStage<? super T>> +C exceptionallyAsync(C cfThis, + Function<Throwable,? extends T> fn, + Executor executor)
      +
      Returns a new CompletionStage that, when given stage completes exceptionally, is executed with given + stage's exception as the argument to the supplied function, using the supplied Executor. Otherwise, + if given stage completes normally, then the returned stage also completes normally with the same value. +

      + Just as catching Throwable is not best practice in general, this method handles the Throwable; + Strong recommend using catchingAsync(CompletionStage, Class, Function, Executor) + instead in your biz application.

      +
      +
      Parameters:
      +
      fn - the function to use to compute the value of the returned CompletableFuture + if given CompletionStage completed exceptionally
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      cffuOrTimeout

      +
      public static <C extends CompletableFuture<?>> C cffuOrTimeout(C cfThis, + long timeout, + TimeUnit unit)
      +
      Exceptionally completes given CompletableFuture with a TimeoutException + if not otherwise completed before the given timeout. +

      + Uses CompletableFuture's default asynchronous execution facility as executorWhenTimeout.

      +
      +
      Parameters:
      +
      timeout - how long to wait before completing exceptionally with a TimeoutException, in units of unit
      +
      unit - a TimeUnit determining how to interpret the timeout parameter
      +
      Returns:
      +
      the new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      cffuOrTimeout

      +
      public static <C extends CompletableFuture<?>> C cffuOrTimeout(C cfThis, + Executor executorWhenTimeout, + long timeout, + TimeUnit unit)
      +
      Exceptionally completes given CompletableFuture with a TimeoutException + if not otherwise completed before the given timeout.
      +
      +
      Parameters:
      +
      executorWhenTimeout - the async executor when triggered by timeout
      +
      timeout - how long to wait before completing exceptionally with a TimeoutException, + in units of unit
      +
      unit - a TimeUnit determining how to interpret the timeout parameter
      +
      Returns:
      +
      the new CompletableFuture
      +
      +
      +
    • +
    • +
      +

      orTimeout

      +
      @Contract("_, _, _ -> param1") +public static <C extends CompletableFuture<?>> C orTimeout(C cfThis, + long timeout, + TimeUnit unit)
      +
      Exceptionally completes given CompletableFuture with a TimeoutException + if not otherwise completed before the given timeout. +

      + CAUTION: This method and CompletableFuture.orTimeout(long, TimeUnit) + is UNSAFE! +

      + When triggered by timeout, the subsequent non-async actions of the dependent CompletableFutures + are performed in the SINGLE thread builtin executor + of CompletableFuture for delay execution (including timeout function). + So the long-running subsequent non-async actions lead to the CompletableFuture dysfunction + (including delay execution and timeout). +

      + Strong recommend using the safe method cffuOrTimeout(CompletableFuture, long, TimeUnit) + instead of this method and CompletableFuture.orTimeout(long, TimeUnit). +

      + Unless all subsequent actions of dependent CompletableFutures is ensured executing async(aka. the dependent + CompletableFutures is created by async methods), using this method and CompletableFuture.orTimeout(long, TimeUnit) is one less thread switch of task execution when triggered by timeout. +

      + Note: Before Java 21(Java 20-), CompletableFuture.orTimeout(long, TimeUnit) + leaks if the future completes exceptionally, more info see + issue JDK-8303742, + PR review openjdk/jdk/13059 + and JDK bugfix commit. + The cffu backport logic(for Java 20-) has merged the fix of this JDK bug.

      +
      +
      Parameters:
      +
      timeout - how long to wait before completing exceptionally with a TimeoutException, in units of unit
      +
      unit - a TimeUnit determining how to interpret the timeout parameter
      +
      Returns:
      +
      the given CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      cffuCompleteOnTimeout

      +
      public static <T, +C extends CompletableFuture<? super T>> +C cffuCompleteOnTimeout(C cfThis, + @Nullable + T value, + long timeout, + TimeUnit unit)
      +
      Completes given CompletableFuture with the given value if not otherwise completed before the given timeout. +

      + Uses CompletableFuture's default asynchronous execution facility as executorWhenTimeout.

      +
      +
      Parameters:
      +
      value - the value to use upon timeout
      +
      timeout - how long to wait before completing normally with the given value, in units of unit
      +
      unit - a TimeUnit determining how to interpret the timeout parameter
      +
      Returns:
      +
      the new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      cffuCompleteOnTimeout

      +
      public static <T, +C extends CompletableFuture<? super T>> +C cffuCompleteOnTimeout(C cfThis, + @Nullable + T value, + Executor executorWhenTimeout, + long timeout, + TimeUnit unit)
      +
      Completes given CompletableFuture with the given value if not otherwise completed before the given timeout.
      +
      +
      Parameters:
      +
      value - the value to use upon timeout
      +
      executorWhenTimeout - the async executor when triggered by timeout
      +
      timeout - how long to wait before completing normally with the given value, in units of unit
      +
      unit - a TimeUnit determining how to interpret the timeout parameter
      +
      Returns:
      +
      the new CompletableFuture
      +
      +
      +
    • +
    • +
      +

      completeOnTimeout

      +
      @Contract("_, _, _, _ -> param1") +public static <T, +C extends CompletableFuture<? super T>> +C completeOnTimeout(C cfThis, + @Nullable + T value, + long timeout, + TimeUnit unit)
      +
      Completes given CompletableFuture with the given value if not otherwise completed before the given timeout. +

      + CAUTION: This method and CompletableFuture.completeOnTimeout(Object, long, TimeUnit) + is UNSAFE! +

      + When triggered by timeout, the subsequent non-async actions of the dependent CompletableFutures + are performed in the SINGLE thread builtin executor + of CompletableFuture for delay execution (including timeout function). + So the long-running subsequent non-async actions lead to the CompletableFuture dysfunction + (including delay execution and timeout). +

      + Strong recommend + using the safe method cffuCompleteOnTimeout(CompletableFuture, Object, long, TimeUnit) + instead of this method and CompletableFuture.completeOnTimeout(T, long, java.util.concurrent.TimeUnit). +

      + Unless all subsequent actions of dependent CompletableFutures is ensured executing async(aka. the dependent + CompletableFutures is created by async methods), using this method and CompletableFuture.completeOnTimeout(T, long, java.util.concurrent.TimeUnit) + is one less thread switch of task execution when triggered by timeout.

      +
      +
      Parameters:
      +
      value - the value to use upon timeout
      +
      timeout - how long to wait before completing normally with the given value, in units of unit
      +
      unit - a TimeUnit determining how to interpret the timeout parameter
      +
      Returns:
      +
      the given CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      catchingCompose

      +
      public static <T, +X extends Throwable, +C extends CompletionStage<? super T>> +C catchingCompose(C cfThis, + Class<X> exceptionType, + Function<? super X,? extends CompletionStage<T>> fallback)
      +
      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 given stage's exception.
      +
      +
      Parameters:
      +
      exceptionType - the exception type that triggers use of fallback. The exception type is matched + against the input's exception. To avoid hiding bugs and other unrecoverable errors, + callers should prefer more specific types, avoiding Throwable.class in particular.
      +
      fallback - the Function to be called if input fails with the expected exception type. + The function's argument is the input's exception.
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      catchingComposeAsync

      +
      public static <T, +X extends Throwable, +C extends CompletionStage<? super T>> +C catchingComposeAsync(C cfThis, + Class<X> exceptionType, + Function<? super X,? extends CompletionStage<T>> fallback)
      +
      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 given stage's exception, + using given stage's default asynchronous execution facility.
      +
      +
      Parameters:
      +
      exceptionType - the exception type that triggers use of fallback. The exception type is matched + against the input's exception. To avoid hiding bugs and other unrecoverable errors, + callers should prefer more specific types, avoiding Throwable.class in particular.
      +
      fallback - the Function to be called if input fails with the expected exception type. + The function's argument is the input's exception.
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      catchingComposeAsync

      +
      public static <T, +X extends Throwable, +C extends CompletionStage<? super T>> +C catchingComposeAsync(C cfThis, + Class<X> exceptionType, + Function<? super X,? extends CompletionStage<T>> fallback, + Executor executor)
      +
      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 given's exception, + using the supplied Executor.
      +
      +
      Parameters:
      +
      exceptionType - the exception type that triggers use of fallback. The exception type is matched + against the input's exception. To avoid hiding bugs and other unrecoverable errors, + callers should prefer more specific types, avoiding Throwable.class in particular.
      +
      fallback - the Function to be called if input fails with the expected exception type. + The function's argument is the input's exception.
      +
      executor - the executor to use for asynchronous execution
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      exceptionallyCompose

      +
      public static <T, +C extends CompletionStage<? super T>> +C exceptionallyCompose(C cfThis, + Function<Throwable,? extends CompletionStage<T>> fn)
      +
      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. +

      + Just as catching Throwable is not best practice in general, this method handles the Throwable; + Strong recommend using catchingCompose(CompletionStage, Class, Function) + instead in your biz application.

      +
      +
      Parameters:
      +
      fn - the function to use to compute the returned CompletableFuture + if given CompletionStage completed exceptionally
      +
      Returns:
      +
      the new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      exceptionallyComposeAsync

      +
      public static <T, +C extends CompletionStage<? super T>> +C exceptionallyComposeAsync(C cfThis, + Function<Throwable,? extends CompletionStage<T>> fn)
      +
      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 given CompletableFuture's default asynchronous execution facility. +

      + Just as catching Throwable is not best practice in general, this method handles the Throwable; + Strong recommend using catchingComposeAsync(CompletionStage, Class, Function) + instead in your biz application.

      +
      +
      Parameters:
      +
      fn - the function to use to compute the returned CompletableFuture + if given CompletionStage completed exceptionally
      +
      Returns:
      +
      the new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      exceptionallyComposeAsync

      +
      public static <T, +C extends CompletionStage<? super T>> +C exceptionallyComposeAsync(C cfThis, + Function<Throwable,? extends CompletionStage<T>> fn, + Executor executor)
      +
      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. +

      + Just as catching Throwable is not best practice in general, this method handles the Throwable; + Strong recommend using catchingComposeAsync(CompletionStage, Class, Function, Executor) + instead in your biz application.

      +
      +
      Parameters:
      +
      fn - the function to use to compute the returned CompletableFuture + if given CompletionStage completed exceptionally
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      peek

      +
      @Contract("_, _ -> param1") +public static <T, +C extends CompletionStage<? extends T>> +C peek(C cfThis, + BiConsumer<? super T,? super Throwable> action)
      +
      Peeks the result by executing the given action when given stage completes, returns the given stage. +

      + When the given stage is complete, the given action is invoked with the result (or null if none) + and the exception (or null if none) of given stage as arguments. Whether the supplied action + throws an exception or not, the given stage is NOT affected. +

      + Unlike method handle and like method + whenComplete, + this method is not designed to translate completion outcomes.

      +
      +
      Parameters:
      +
      action - the action to perform
      +
      Returns:
      +
      the given stage
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      peekAsync

      +
      @Contract("_, _ -> param1") +public static <T, +C extends CompletionStage<? extends T>> +C peekAsync(C cfThis, + BiConsumer<? super T,? super Throwable> action)
      +
      Peeks the result by executing the given action when given stage completes, + executes the given action using given stage's default asynchronous execution facility, + returns the given stage. +

      + When the given stage is complete, the given action is invoked with the result (or null if none) + and the exception (or null if none) of given stage as arguments. Whether the supplied action + throws an exception or not, the given stage is NOT affected. +

      + Unlike method handle and like method + whenComplete, + this method is not designed to translate completion outcomes.

      +
      +
      Parameters:
      +
      action - the action to perform
      +
      Returns:
      +
      the given stage
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      peekAsync

      +
      @Contract("_, _, _ -> param1") +public static <T, +C extends CompletionStage<? extends T>> +C peekAsync(C cfThis, + BiConsumer<? super T,? super Throwable> action, + Executor executor)
      +
      Peeks the result by executing the given action when given stage completes, + executes the given action using the supplied Executor, returns the given stage. +

      + When the given stage is complete, the given action is invoked with the result (or null if none) + and the exception (or null if none) of given stage as arguments. Whether the supplied action + throws an exception or not, the given stage is NOT affected. +

      + Unlike method handle and like method + whenComplete, + this method is not designed to translate completion outcomes.

      +
      +
      Parameters:
      +
      action - the action to perform
      +
      Returns:
      +
      the given stage
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      join

      +
      @Blocking +@Nullable +public static <T> T join(CompletableFuture<T> cfThis, + long timeout, + TimeUnit unit)
      +
      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. +

      + NOTE:
      + Calling this method +

      + result = CompletableFutureUtils.join(cf, timeout, unit); +

      + is the same as: + +

      result = cf.copy() // defensive copy to avoid writing this cf unexpectedly
      +     .orTimeout(timeout, unit)
      +     .join();
      + 
      + + CAUTION:
      + if the wait timed out, this method throws an (unchecked) CompletionException + with the TimeoutException as its cause; + NOT throws a (checked) TimeoutException like CompletableFuture.get(long, TimeUnit).
      +
      +
      Parameters:
      +
      timeout - the maximum time to wait
      +
      unit - the time unit of the timeout argument
      +
      Returns:
      +
      the result value
      +
      Throws:
      +
      CancellationException - if the computation was cancelled
      +
      CompletionException - if given future completed exceptionally + or a completion computation threw an exception + or the wait timed out(with the TimeoutException as its cause)
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      getSuccessNow

      +
      @Contract(pure=true) +@Nullable +public static <T> T getSuccessNow(CompletableFuture<? extends T> cfThis, + @Nullable + T valueIfNotSuccess)
      +
      Returns the result value if the given stage is completed successfully, else returns the given valueIfNotSuccess. +

      + This method will not throw exceptions + (CancellationException/CompletionException/ExecutionException/IllegalStateException/...).

      +
      +
      Parameters:
      +
      valueIfNotSuccess - the value to return if not completed successfully
      +
      Returns:
      +
      the result value, if completed successfully, else the given valueIfNotSuccess
      +
      +
      +
    • +
    • +
      +

      resultNow

      +
      @Contract(pure=true) +@Nullable +public static <T> T resultNow(Future<T> cfThis)
      +
      Returns the computed result, without waiting. +

      + This method is for cases where the caller knows that the task has already completed successfully, + for example when filtering a stream of Future objects for the successful tasks + and using a mapping operation to obtain a stream of results. + +

      results = futures.stream()
      +     .filter(f -> f.state() == Future.State.SUCCESS)
      +     .map(Future::resultNow)
      +     .toList();
      + 
      +
      +
      Returns:
      +
      the computed result
      +
      Throws:
      +
      IllegalStateException - if the task has not completed or the task did not complete with a result
      +
      +
      +
    • +
    • +
      +

      exceptionNow

      +
      @Contract(pure=true) +public static Throwable exceptionNow(Future<?> cfThis)
      +
      Returns the exception thrown by the task, without waiting. +

      + This method is for cases where the caller knows that the task has already completed with an exception.

      +
      +
      Returns:
      +
      the exception thrown by the task
      +
      Throws:
      +
      IllegalStateException - if the task has not completed, the task completed normally, + or the task was cancelled
      +
      +
      +
    • +
    • +
      +

      state

      +
      @Contract(pure=true) +public static CffuState state(Future<?> cfThis)
      +
      Returns the computation state(CffuState), this method is equivalent to CompletableFuture.state() + with java version compatibility logic, so you can invoke in old java 18-.
      +
      +
      Returns:
      +
      the computation state
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      completeAsync

      +
      @Contract("_, _ -> param1") +public static <T, +C extends CompletableFuture<? super T>> +C completeAsync(C cfThis, + Supplier<? extends T> supplier)
      +
      Completes given CompletableFuture with the result of the given Supplier function invoked + from an asynchronous task using the default executor.
      +
      +
      Parameters:
      +
      supplier - a function returning the value to be used to complete given CompletableFuture
      +
      Returns:
      +
      the given CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      completeAsync

      +
      @Contract("_, _, _ -> param1") +public static <T, +C extends CompletableFuture<? super T>> +C completeAsync(C cfThis, + Supplier<? extends T> supplier, + Executor executor)
      +
      Completes given CompletableFuture with the result of the given Supplier function invoked + from an asynchronous task using the given executor.
      +
      +
      Parameters:
      +
      supplier - a function returning the value to be used to complete given CompletableFuture
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the given CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      completeExceptionallyAsync

      +
      @Contract("_, _ -> param1") +public static <C extends CompletableFuture<?>> C completeExceptionallyAsync(C cfThis, + Supplier<? extends Throwable> supplier)
      +
      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.
      +
      +
      Parameters:
      +
      supplier - a function returning the value to be used to complete given CompletableFuture
      +
      Returns:
      +
      the given CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      completeExceptionallyAsync

      +
      @Contract("_, _, _ -> param1") +public static <C extends CompletableFuture<?>> C completeExceptionallyAsync(C cfThis, + Supplier<? extends Throwable> supplier, + Executor executor)
      +
      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.
      +
      +
      Parameters:
      +
      supplier - a function returning the value to be used to complete given CompletableFuture
      +
      executor - the executor to use for asynchronous execution
      +
      Returns:
      +
      the given CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      minimalCompletionStage

      +
      @Contract(pure=true) +public static <T> CompletionStage<T> minimalCompletionStage(CompletableFuture<T> cfThis)
      +
      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. + If given CompletableFuture completes exceptionally, then the returned CompletionStage completes exceptionally + with a CompletionException with given exception as cause. +

      + CAUTION:
      + if run on old Java 8(not support *minimal* CompletionStage), + just return a *normal* CompletableFuture which is NOT with a *minimal* CompletionStage.

      +
      +
      Returns:
      +
      the new CompletionStage
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      copy

      +
      @Contract(pure=true) +public static <T> CompletableFuture<T> copy(CompletableFuture<T> cfThis)
      +
      Returns a new CompletableFuture that is completed normally with the same value as this CompletableFuture when + it completes normally. If this CompletableFuture completes exceptionally, then the returned CompletableFuture + completes exceptionally with a CompletionException with this exception as cause. The behavior is equivalent + to thenApply(x -> x). This method may be useful as a form of "defensive copying", to prevent clients + from completing, while still being able to arrange dependent actions.
      +
      +
      Returns:
      +
      the new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      newIncompleteFuture

      +
      @Contract(pure=true) +public static <U> CompletableFuture<U> newIncompleteFuture(CompletableFuture<?> cfThis)
      +
      Returns a new incomplete CompletableFuture of the type to be returned by a CompletionStage method.
      +
      +
      Type Parameters:
      +
      U - the type of the value
      +
      Returns:
      +
      the new CompletableFuture
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      toCompletableFutureArray

      +
      @Contract(pure=true) +@SafeVarargs +public static <T> CompletableFuture<T>[] toCompletableFutureArray(CompletionStage<T>... stages)
      +
      A convenient util method for converting input CompletionStage(including + Cffu/CompletableFuture) array element by CompletionStage.toCompletableFuture().
      +
      +
      Throws:
      +
      NullPointerException - if the array or any of its elements are null
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      completableFutureListToArray

      +
      @Contract(pure=true) +public static <T> CompletableFuture<T>[] completableFutureListToArray(List<CompletableFuture<T>> cfList)
      +
      A convenient util method for converting input CompletableFuture list to CompletableFuture array.
      +
      +
      See Also:
      +
      + +
      +
      +
      +
    • +
    • +
      +

      unwrapCfException

      +
      @Contract(value="null -> null; !null -> !null", + pure=true) +@Nullable +public static Throwable unwrapCfException(@Nullable + Throwable ex)
      +
      A convenient util method for unwrapping CF exception + (CompletionException/ExecutionException) to the biz exception.
      +
      +
    • +
    +
    +
  • +
+
+ +
+
+
+ +
+
+
+ + diff --git a/cffu/1.0.0-Alpha22/io/foldright/cffu/ListenableFutureUtils.html b/cffu/1.0.0-Alpha22/io/foldright/cffu/ListenableFutureUtils.html new file mode 100644 index 0000000..7621108 --- /dev/null +++ b/cffu/1.0.0-Alpha22/io/foldright/cffu/ListenableFutureUtils.html @@ -0,0 +1,242 @@ + + + + +ListenableFutureUtils (CompletableFuture-Fu(cffu) 1.0.0-Alpha22 API) + + + + + + + + + + + + + + +
+ +
+
+ +
+ +

Class ListenableFutureUtils

+
+
java.lang.Object +
io.foldright.cffu.ListenableFutureUtils
+
+
+
+
public final class ListenableFutureUtils +extends Object
+
Integration with guava ListenableFuture.
+
+
Author:
+
Jerry Lee (oldratlee at gmail dot com), HuHao (995483610 at qq dot com), Eric Lin (linqinghua4 at gmail dot com)
+
+
+
+ +
+
+ +
+ +
+
+
+ +
+
+
+ + diff --git a/cffu/1.0.0-Alpha22/io/foldright/cffu/NoCfsProvidedException.html b/cffu/1.0.0-Alpha22/io/foldright/cffu/NoCfsProvidedException.html new file mode 100644 index 0000000..be8383e --- /dev/null +++ b/cffu/1.0.0-Alpha22/io/foldright/cffu/NoCfsProvidedException.html @@ -0,0 +1,177 @@ + + + + +NoCfsProvidedException (CompletableFuture-Fu(cffu) 1.0.0-Alpha22 API) + + + + + + + + + + + + + + +
+ +
+
+ +
+ +

Class NoCfsProvidedException

+
+
java.lang.Object +
java.lang.Throwable +
java.lang.Exception +
java.lang.RuntimeException +
io.foldright.cffu.NoCfsProvidedException
+
+
+
+
+
+
+
All Implemented Interfaces:
+
Serializable
+
+
+
public final class NoCfsProvidedException +extends RuntimeException
+
Exception indicates that NO cfs(Cffu / CompletableFuture) are provided + for methods require cf arguments.
+
+
Author:
+
Jerry Lee (oldratlee at gmail dot com)
+
See Also:
+
+ +
+
+
+
+ +
+
+
    + +
  • +
    +

    Constructor Details

    +
      +
    • +
      +

      NoCfsProvidedException

      +
      public NoCfsProvidedException()
      +
      +
    • +
    +
    +
  • +
+
+ +
+
+
+ +
+
+
+ + diff --git a/cffu/1.0.0-Alpha22/io/foldright/cffu/class-use/Cffu.html b/cffu/1.0.0-Alpha22/io/foldright/cffu/class-use/Cffu.html new file mode 100644 index 0000000..6292c7f --- /dev/null +++ b/cffu/1.0.0-Alpha22/io/foldright/cffu/class-use/Cffu.html @@ -0,0 +1,2247 @@ + + + + +Uses of Class io.foldright.cffu.Cffu (CompletableFuture-Fu(cffu) 1.0.0-Alpha22 API) + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
io.foldright.cffu.Cffu

+
+
Packages that use Cffu
+
+
Package
+
Description
+ +
+
A tiny sidekick library for CompletableFuture to improve user experience and reduce misuse.
+
+
+
+
    +
  • +
    +

    Uses of Cffu in io.foldright.cffu

    +
    Methods in io.foldright.cffu that return Cffu
    +
    +
    Modifier and Type
    +
    Method
    +
    Description
    + +
    Cffu.acceptEither(CompletionStage<? extends T> other, + Consumer<? super T> action)
    +
    +
    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.
    +
    + +
    Cffu.acceptEitherAsync(CompletionStage<? extends T> other, + Consumer<? super T> action)
    +
    +
    Returns a new Cffu that, when either this or the other given stage complete normally, + is executed using defaultExecutor(), + with the corresponding result as argument to the supplied action.
    +
    + +
    Cffu.acceptEitherAsync(CompletionStage<? extends T> other, + Consumer<? super T> action, + Executor executor)
    +
    +
    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.
    +
    + +
    Cffu.acceptEitherSuccess(CompletionStage<? extends T> other, + Consumer<? super T> action)
    +
    +
    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.
    +
    + +
    Cffu.acceptEitherSuccessAsync(CompletionStage<? extends T> other, + Consumer<? super T> action)
    +
    +
    Returns a new Cffu that, when either this or the other given stage complete normally, + is executed using defaultExecutor(), + with the corresponding result as argument to the supplied action.
    +
    + +
    Cffu.acceptEitherSuccessAsync(CompletionStage<? extends T> other, + Consumer<? super T> action, + Executor executor)
    +
    +
    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.
    +
    + +
    CffuFactory.allFastFailOf(CompletionStage<?>... cfs)
    +
    +
    Returns a new Cffu that is successful when all the given stages success; + 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.
    +
    + +
    CffuFactory.allOf(CompletionStage<?>... cfs)
    +
    +
    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.
    +
    +
    final <T> Cffu<List<T>>
    +
    CffuFactory.allResultsFastFailOf(CompletionStage<? extends T>... cfs)
    +
    +
    Returns a new Cffu that is successful with the results in the same order + of the given stages arguments when all the given stages success; + 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.
    +
    +
    final <T> Cffu<List<T>>
    +
    CffuFactory.allResultsOf(CompletionStage<? extends T>... cfs)
    +
    +
    Returns a new Cffu with the results in the same order of the given stages arguments, + the new Cffu 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.
    +
    +
    final <T> Cffu<List<T>>
    +
    CffuFactory.allSuccessResultsOf(T valueIfFailed, + CompletionStage<? extends T>... cfs)
    +
    +
    Returns a new Cffu that is successful with the results in the same order + of the given stages arguments when all the given stages completed; + If no stages are provided, returns a Cffu completed with the value empty list.
    +
    +
    <T1, +T2> Cffu<Tuple2<T1,T2>>
    +
    CffuFactory.allSuccessTupleOf(CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2)
    +
    +
    Returns a new Cffu that is successful + with the results of the given stages arguments when all the given stages completed.
    +
    +
    <T1, +T2, +T3>
    Cffu<Tuple3<T1,T2,T3>>
    +
    CffuFactory.allSuccessTupleOf(CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3)
    +
    +
    Returns a new Cffu that is successful + with the results of the given stages arguments when all the given stages completed.
    +
    +
    <T1, +T2, +T3, +T4>
    Cffu<Tuple4<T1,T2,T3,T4>>
    +
    CffuFactory.allSuccessTupleOf(CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3, + CompletionStage<? extends T4> cf4)
    +
    +
    Returns a new Cffu that is successful + with the results of the given stages arguments when all the given stages completed.
    +
    +
    <T1, +T2, +T3, +T4, +T5>
    Cffu<Tuple5<T1,T2,T3,T4,T5>>
    +
    CffuFactory.allSuccessTupleOf(CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3, + CompletionStage<? extends T4> cf4, + CompletionStage<? extends T5> cf5)
    +
    +
    Returns a new Cffu that is successful + with the results of the given stages arguments when all the given stages completed.
    +
    +
    <T1, +T2> Cffu<Tuple2<T1,T2>>
    +
    CffuFactory.allTupleFastFailOf(CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2)
    +
    +
    Returns a new Cffu that is successful when the given two stages success.
    +
    +
    <T1, +T2, +T3>
    Cffu<Tuple3<T1,T2,T3>>
    +
    CffuFactory.allTupleFastFailOf(CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3)
    +
    +
    Returns a new Cffu that is successful when the given three stages success.
    +
    +
    <T1, +T2, +T3, +T4>
    Cffu<Tuple4<T1,T2,T3,T4>>
    +
    CffuFactory.allTupleFastFailOf(CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3, + CompletionStage<? extends T4> cf4)
    +
    +
    Returns a new Cffu that is successful when the given four stages success.
    +
    +
    <T1, +T2, +T3, +T4, +T5>
    Cffu<Tuple5<T1,T2,T3,T4,T5>>
    +
    CffuFactory.allTupleFastFailOf(CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3, + CompletionStage<? extends T4> cf4, + CompletionStage<? extends T5> cf5)
    +
    +
    Returns a new Cffu that is successful when the given five stages success.
    +
    +
    <T1, +T2> Cffu<Tuple2<T1,T2>>
    +
    CffuFactory.allTupleOf(CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2)
    +
    +
    Returns a new Cffu that is completed when the given two stages complete.
    +
    +
    <T1, +T2, +T3>
    Cffu<Tuple3<T1,T2,T3>>
    +
    CffuFactory.allTupleOf(CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3)
    +
    +
    Returns a new Cffu that is completed when the given three stages complete.
    +
    +
    <T1, +T2, +T3, +T4>
    Cffu<Tuple4<T1,T2,T3,T4>>
    +
    CffuFactory.allTupleOf(CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3, + CompletionStage<? extends T4> cf4)
    +
    +
    Returns a new Cffu that is completed when the given four stages complete.
    +
    +
    <T1, +T2, +T3, +T4, +T5>
    Cffu<Tuple5<T1,T2,T3,T4,T5>>
    +
    CffuFactory.allTupleOf(CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3, + CompletionStage<? extends T4> cf4, + CompletionStage<? extends T5> cf5)
    +
    +
    Returns a new Cffu that is completed when the given five stages complete.
    +
    +
    final <T> Cffu<T>
    +
    CffuFactory.anyOf(CompletionStage<? extends T>... cfs)
    +
    +
    Returns a new Cffu that is completed when any of the given stages complete, with the same result.
    + Otherwise, if it completed exceptionally, the returned Cffu also does so, + with a CompletionException holding this exception as its cause.
    + If no stages are provided, returns an incomplete Cffu.
    +
    +
    final <T> Cffu<T>
    +
    CffuFactory.anySuccessOf(CompletionStage<? extends T>... cfs)
    +
    +
    Returns a new Cffu that is successful when any of the given stages success, + with the same result.
    +
    +
    <U> Cffu<U>
    +
    Cffu.applyToEither(CompletionStage<? extends T> other, + Function<? super T,U> fn)
    +
    +
    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.
    +
    +
    <U> Cffu<U>
    +
    Cffu.applyToEitherAsync(CompletionStage<? extends T> other, + Function<? super T,U> fn)
    +
    +
    Returns a new Cffu that, when either this or the other given stage complete normally, + is executed using defaultExecutor(), + with the corresponding result as argument to the supplied function.
    +
    +
    <U> Cffu<U>
    +
    Cffu.applyToEitherAsync(CompletionStage<? extends T> other, + Function<? super T,U> fn, + Executor executor)
    +
    +
    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.
    +
    +
    <U> Cffu<U>
    +
    Cffu.applyToEitherSuccess(CompletionStage<? extends T> other, + Function<? super T,U> fn)
    +
    +
    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.
    +
    +
    <U> Cffu<U>
    +
    Cffu.applyToEitherSuccessAsync(CompletionStage<? extends T> other, + Function<? super T,U> fn)
    +
    +
    Returns a new Cffu that, when either this or the other given stage complete normally, + is executed using defaultExecutor(), + with the corresponding result as argument to the supplied function.
    +
    +
    <U> Cffu<U>
    +
    Cffu.applyToEitherSuccessAsync(CompletionStage<? extends T> other, + Function<? super T,U> fn, + Executor executor)
    +
    +
    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.
    +
    +
    <X extends Throwable>
    Cffu<T>
    +
    Cffu.catching(Class<X> exceptionType, + Function<? super X,? extends T> fallback)
    +
    +
    Returns a new Cffu that, when given stage completes exceptionally with the given exceptionType, + is executed with given stage's exception as the argument to the supplied function.
    +
    +
    <X extends Throwable>
    Cffu<T>
    +
    Cffu.catchingAsync(Class<X> exceptionType, + Function<? super X,? extends T> fallback)
    +
    +
    Returns a new Cffu that, when given stage completes exceptionally with the given exceptionType, + is executed with given stage's exception as the argument to the supplied function, + using the given stage's default asynchronous execution facility.
    +
    +
    <X extends Throwable>
    Cffu<T>
    +
    Cffu.catchingAsync(Class<X> exceptionType, + Function<? super X,? extends T> fallback, + Executor executor)
    +
    +
    Returns a new Cffu that, when given stage completes exceptionally with the given exceptionType, + is executed with given stage's exception as the argument to the supplied function, using the supplied Executor.
    +
    +
    <X extends Throwable>
    Cffu<T>
    +
    Cffu.catchingCompose(Class<X> exceptionType, + Function<? super X,? extends CompletionStage<T>> fallback)
    +
    +
    Returns a new Cffu that, when given stage completes exceptionally with the given exceptionType, + is composed using the results of the supplied function applied to given stage's exception.
    +
    +
    <X extends Throwable>
    Cffu<T>
    +
    Cffu.catchingComposeAsync(Class<X> exceptionType, + Function<? super X,? extends CompletionStage<T>> fallback)
    +
    +
    Returns a new Cffu that, when given stage completes exceptionally with the given exceptionType, + is composed using the results of the supplied function applied to given stage's exception, + using given stage's default asynchronous execution facility.
    +
    +
    <X extends Throwable>
    Cffu<T>
    +
    Cffu.catchingComposeAsync(Class<X> exceptionType, + Function<? super X,? extends CompletionStage<T>> fallback, + Executor executor)
    +
    +
    Returns a new Cffu that, when given stage completes exceptionally with the given exceptionType, + is composed using the results of the supplied function applied to given's exception, + using the supplied Executor.
    +
    +
    static <T> Cffu<T>[]
    +
    CffuFactory.cffuListToArray(List<Cffu<T>> cffuList)
    +
    +
    Convert Cffu list to Cffu array.
    +
    + +
    Cffu.completeAsync(Supplier<? extends T> supplier)
    +
    +
    Completes this Cffu with the result of the given Supplier function invoked + from an asynchronous task using defaultExecutor().
    +
    + +
    Cffu.completeAsync(Supplier<? extends T> supplier, + Executor executor)
    +
    +
    Completes this Cffu with the result of the given Supplier function invoked + from an asynchronous task using the given executor.
    +
    +
    <T> Cffu<T>
    +
    CffuFactory.completedFuture(T value)
    +
    +
    Returns a new Cffu that is already completed with the given value.
    +
    + +
    Cffu.completeExceptionallyAsync(Supplier<? extends Throwable> supplier)
    +
    +
    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.
    +
    + +
    Cffu.completeExceptionallyAsync(Supplier<? extends Throwable> supplier, + Executor executor)
    +
    +
    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.
    +
    + +
    Cffu.completeOnTimeout(T value, + long timeout, + TimeUnit unit)
    +
    +
    Completes this Cffu with the given value if not otherwise completed before the given timeout.
    +
    + +
    Cffu.completeOnTimeout(T value, + Executor executorWhenTimeout, + long timeout, + TimeUnit unit)
    +
    +
    Completes this Cffu with the given value if not otherwise completed before the given timeout.
    +
    + +
    Cffu.copy()
    +
    +
    Returns a new Cffu that is completed normally with the same value as this Cffu when it completes normally.
    +
    + +
    Cffu.exceptionally(Function<Throwable,? extends T> fn)
    +
    +
    Returns a new Cffu that, when this stage completes exceptionally, + is executed with this stage's exception as the argument to the supplied function.
    +
    + +
    Cffu.exceptionallyAsync(Function<Throwable,? extends T> fn)
    +
    +
    Returns a new Cffu that, when this stage completes exceptionally, + is executed with this stage's exception as the argument to the supplied function, + using defaultExecutor().
    +
    + +
    Cffu.exceptionallyAsync(Function<Throwable,? extends T> fn, + Executor executor)
    +
    +
    Returns a new Cffu that, when this stage completes exceptionally, + is executed with this stage's exception as the argument to the supplied function, + using the supplied Executor.
    +
    + + +
    +
    Returns a new CompletionStage that, when this stage completes exceptionally, + is composed using the results of the supplied function applied to this stage's exception.
    +
    + + +
    +
    Returns a new Cffu that, when this stage completes exceptionally, + is composed using the results of the supplied function applied to this stage's exception, + using defaultExecutor().
    +
    + + +
    +
    Returns a new Cffu that, when this stage completes exceptionally, + is composed using the results of the supplied function applied to this stage's exception, + using the supplied Executor.
    +
    +
    <T> Cffu<T>
    +
    CffuFactory.failedFuture(Throwable ex)
    +
    +
    Returns a new Cffu that is already completed exceptionally with the given exception.
    +
    +
    <U> Cffu<U>
    +
    Cffu.handle(BiFunction<? super T,Throwable,? extends U> fn)
    +
    +
    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.
    +
    +
    <U> Cffu<U>
    +
    Cffu.handleAsync(BiFunction<? super T,Throwable,? extends U> fn)
    +
    +
    Returns a new Cffu that, when this cffu completes either normally or exceptionally, + is executed using defaultExecutor(), + with this cffu's result and exception as arguments to the supplied function.
    +
    +
    <U> Cffu<U>
    +
    Cffu.handleAsync(BiFunction<? super T,Throwable,? extends U> fn, + Executor executor)
    +
    +
    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.
    +
    +
    final <T> Cffu<List<T>>
    +
    CffuFactory.mostSuccessResultsOf(T valueIfNotSuccess, + long timeout, + TimeUnit unit, + CompletionStage<? extends T>... cfs)
    +
    +
    Returns a new Cffu with the most results in the same order of + the given stages arguments in the given time(timeout, aka as many results as possible in the given time).
    +
    +
    <T1, +T2> Cffu<Tuple2<T1,T2>>
    +
    CffuFactory.mostSuccessTupleOf(long timeout, + TimeUnit unit, + CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2)
    +
    +
    Returns a new Cffu with the most results in the same order of the given two stages arguments + in the given time(timeout, aka as many results as possible in the given time).
    +
    +
    <T1, +T2, +T3>
    Cffu<Tuple3<T1,T2,T3>>
    +
    CffuFactory.mostSuccessTupleOf(long timeout, + TimeUnit unit, + CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3)
    +
    +
    Returns a new Cffu with the most results in the same order of the given three stages arguments + in the given time(timeout, aka as many results as possible in the given time).
    +
    +
    <T1, +T2, +T3, +T4>
    Cffu<Tuple4<T1,T2,T3,T4>>
    +
    CffuFactory.mostSuccessTupleOf(long timeout, + TimeUnit unit, + CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3, + CompletionStage<? extends T4> cf4)
    +
    +
    Returns a new Cffu with the most results in the same order of the given four stages arguments + in the given time(timeout, aka as many results as possible in the given time).
    +
    +
    <T1, +T2, +T3, +T4, +T5>
    Cffu<Tuple5<T1,T2,T3,T4,T5>>
    +
    CffuFactory.mostSuccessTupleOf(long timeout, + TimeUnit unit, + CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3, + CompletionStage<? extends T4> cf4, + CompletionStage<? extends T5> cf5)
    +
    +
    Returns a new Cffu with the most results in the same order of the given five stages arguments + in the given time(timeout, aka as many results as possible in the given time).
    +
    + +
    CffuFactory.mRunAnyAsync(Runnable... actions)
    +
    +
    Returns a new Cffu that is asynchronously completed + when any tasks running in the Cffu's default asynchronous execution facility.
    +
    + +
    CffuFactory.mRunAnyAsync(Executor executor, + Runnable... actions)
    +
    +
    Returns a new Cffu that is asynchronously completed + when any tasks running in the given executor complete.
    +
    + +
    CffuFactory.mRunAnySuccessAsync(Runnable... actions)
    +
    +
    Returns a new Cffu that is asynchronously successful + when any tasks running in the Cffu's default asynchronous execution facility success.
    +
    + +
    CffuFactory.mRunAnySuccessAsync(Executor executor, + Runnable... actions)
    +
    +
    Returns a new Cffu that is asynchronously completed + when any tasks running in the Cffu's default asynchronous execution facility.
    +
    + +
    CffuFactory.mRunAsync(Runnable... actions)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the Cffu's default asynchronous execution facility + after runs the given actions.
    +
    + +
    CffuFactory.mRunAsync(Executor executor, + Runnable... actions)
    +
    +
    Returns a new Cffu that is asynchronously completed by tasks running in the given Executor + after runs the given actions.
    +
    + +
    CffuFactory.mRunFastFailAsync(Runnable... actions)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the Cffu's default asynchronous execution facility + after runs the given actions.
    +
    + +
    CffuFactory.mRunFastFailAsync(Executor executor, + Runnable... actions)
    +
    +
    Returns a new Cffu that is asynchronously completed by tasks running in the given Executor + after runs the given actions.
    +
    +
    final <T> Cffu<List<T>>
    +
    CffuFactory.mSupplyAllSuccessAsync(T valueIfFailed, + Executor executor, + Supplier<? extends T>... suppliers)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the given Executor with the successfully values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    final <T> Cffu<List<T>>
    +
    CffuFactory.mSupplyAllSuccessAsync(T valueIfFailed, + Supplier<? extends T>... suppliers)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the Cffu's default asynchronous execution facility + with the successful values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    final <T> Cffu<T>
    +
    CffuFactory.mSupplyAnyAsync(Executor executor, + Supplier<? extends T>... suppliers)
    +
    +
    Returns a new Cffu that is completed + when any of tasks running in the given Executor by calling the given Suppliers complete, with the same result.
    +
    +
    final <T> Cffu<T>
    +
    CffuFactory.mSupplyAnyAsync(Supplier<? extends T>... suppliers)
    +
    +
    Returns a new Cffu that is completed + when any of tasks running in the Cffu's default asynchronous execution facility + by calling the given Suppliers complete, with the same result.
    +
    +
    final <T> Cffu<T>
    +
    CffuFactory.mSupplyAnySuccessAsync(Executor executor, + Supplier<? extends T>... suppliers)
    +
    +
    Returns a new Cffu that is asynchronously successful + when any of tasks running in the given executor by calling the given Suppliers success, with the same result.
    +
    +
    final <T> Cffu<T>
    +
    CffuFactory.mSupplyAnySuccessAsync(Supplier<? extends T>... suppliers)
    +
    +
    Returns a new Cffu that is asynchronously successful + when any of tasks running in the Cffu's default asynchronous execution facility + by calling the given Suppliers success, with the same result.
    +
    +
    final <T> Cffu<List<T>>
    +
    CffuFactory.mSupplyAsync(Executor executor, + Supplier<? extends T>... suppliers)
    +
    +
    Returns a new Cffu that is asynchronously completed by tasks running in the given Executor + with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    final <T> Cffu<List<T>>
    +
    CffuFactory.mSupplyAsync(Supplier<? extends T>... suppliers)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the Cffu's default asynchronous execution facility + with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    final <T> Cffu<List<T>>
    +
    CffuFactory.mSupplyFastFailAsync(Executor executor, + Supplier<? extends T>... suppliers)
    +
    +
    Returns a new Cffu that is asynchronously completed by tasks running in the given Executor + with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    final <T> Cffu<List<T>>
    +
    CffuFactory.mSupplyFastFailAsync(Supplier<? extends T>... suppliers)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the Cffu's default asynchronous execution facility + with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    final <T> Cffu<List<T>>
    +
    CffuFactory.mSupplyMostSuccessAsync(T valueIfNotSuccess, + long timeout, + TimeUnit unit, + Supplier<? extends T>... suppliers)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the Cffu's default asynchronous execution facility + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments.
    +
    +
    final <T> Cffu<List<T>>
    +
    CffuFactory.mSupplyMostSuccessAsync(T valueIfNotSuccess, + Executor executor, + long timeout, + TimeUnit unit, + Supplier<? extends T>... suppliers)
    +
    +
    Returns a new Cffu that is asynchronously completed by tasks running in the given Executor + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments.
    +
    +
    <T> Cffu<T>
    +
    CffuFactory.newIncompleteCffu()
    +
    +
    Return an incomplete Cffu, equivalent to CompletableFuture() constructor.
    +
    +
    <U> Cffu<U>
    + +
    +
    Returns a new incomplete Cffu with CompletableFuture of the type to be returned by a CompletionStage method.
    +
    + +
    Cffu.orTimeout(long timeout, + TimeUnit unit)
    +
    +
    Exceptionally completes this Cffu with a TimeoutException + if not otherwise completed before the given timeout.
    +
    + +
    Cffu.orTimeout(Executor executorWhenTimeout, + long timeout, + TimeUnit unit)
    +
    +
    Exceptionally completes this Cffu with a TimeoutException + if not otherwise completed before the given timeout.
    +
    + +
    Cffu.peek(BiConsumer<? super T,? super Throwable> action)
    +
    +
    Peeks the result by executing the given action when this cffu completes, returns this cffu.
    +
    + +
    Cffu.peekAsync(BiConsumer<? super T,? super Throwable> action)
    +
    +
    Peeks the result by executing the given action when this cffu completes, + executes the given action using defaultExecutor(), returns this cffu.
    +
    + +
    Cffu.peekAsync(BiConsumer<? super T,? super Throwable> action, + Executor executor)
    +
    +
    Peeks the result by executing the given action when this cffu completes, + that executes the given action using the supplied Executor when this cffu completes, returns this cffu.
    +
    + +
    Cffu.resetCffuFactory(CffuFactory cffuFactory)
    +
    +
    Returns a new Cffu with the given CffuFactory(contained configuration).
    +
    + +
    Cffu.resetDefaultExecutor(Executor defaultExecutor)
    +
    +
    Returns a new Cffu with the given defaultExecutor.
    +
    + +
    Cffu.runAfterBoth(CompletionStage<?> other, + Runnable action)
    +
    +
    Returns a new Cffu that, when this and the other given stage both complete normally, executes the given action.
    +
    + +
    Cffu.runAfterBothAsync(CompletionStage<?> other, + Runnable action)
    +
    +
    Returns a new Cffu that, when this and the other given stage both complete normally, + executes the given action using defaultExecutor().
    +
    + +
    Cffu.runAfterBothAsync(CompletionStage<?> other, + Runnable action, + Executor executor)
    +
    +
    Returns a new Cffu that, when this and the other given stage both complete normally, + executes the given action using the supplied executor.
    +
    + +
    Cffu.runAfterBothFastFail(CompletionStage<?> other, + Runnable action)
    +
    +
    Returns a new Cffu that, when this and the other given stage both complete normally, executes the given action.
    +
    + + +
    +
    Returns a new Cffu that, when this and the other given stage both complete normally, + executes the given action using defaultExecutor().
    +
    + +
    Cffu.runAfterBothFastFailAsync(CompletionStage<?> other, + Runnable action, + Executor executor)
    +
    +
    Returns a new Cffu that, when this and the other given stage both complete normally, + executes the given action using the supplied executor.
    +
    + +
    Cffu.runAfterEither(CompletionStage<?> other, + Runnable action)
    +
    +
    Returns a new Cffu that, when either this or the other given stage complete normally, + executes the given action.
    +
    + +
    Cffu.runAfterEitherAsync(CompletionStage<?> other, + Runnable action)
    +
    +
    Returns a new Cffu that, when either this or the other given stage complete normally, + executes the given action using defaultExecutor().
    +
    + +
    Cffu.runAfterEitherAsync(CompletionStage<?> other, + Runnable action, + Executor executor)
    +
    +
    Returns a new Cffu that, when either this or the other given stage complete normally, + executes the given action using the supplied executor.
    +
    + + +
    +
    Returns a new Cffu that, when either this or the other given stage complete normally, executes the given action.
    +
    + + +
    +
    Returns a new Cffu that, when either this or the other given stage complete normally, + executes the given action using defaultExecutor().
    +
    + +
    Cffu.runAfterEitherSuccessAsync(CompletionStage<?> other, + Runnable action, + Executor executor)
    +
    +
    Returns a new Cffu that, when either this or the other given stage complete normally, + executes the given action using the supplied executor.
    +
    + +
    CffuFactory.runAsync(Runnable action)
    +
    +
    Returns a new Cffu that is asynchronously completed by a task running + in the CffuFactory.defaultExecutor() after it runs the given action.
    +
    + +
    CffuFactory.runAsync(Runnable action, + Executor executor)
    +
    +
    Returns a new Cffu that is asynchronously completed + by a task running in the given executor after it runs the given action.
    +
    +
    <T> Cffu<T>
    +
    CffuFactory.supplyAsync(Supplier<T> supplier)
    +
    +
    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.
    +
    +
    <T> Cffu<T>
    +
    CffuFactory.supplyAsync(Supplier<T> supplier, + Executor executor)
    +
    +
    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.
    +
    + +
    Cffu.thenAccept(Consumer<? super T> action)
    +
    +
    Returns a new Cffu that, when this stage completes normally, + is executed with this stage's result as the argument to the supplied action.
    +
    + +
    Cffu.thenAcceptAsync(Consumer<? super T> action)
    +
    +
    Returns a new Cffu that, when this stage completes normally, + is executed using defaultExecutor(), + with this stage's result as the argument to the supplied action.
    +
    + +
    Cffu.thenAcceptAsync(Consumer<? super T> action, + Executor executor)
    +
    +
    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.
    +
    +
    <U> Cffu<Void>
    +
    Cffu.thenAcceptBoth(CompletionStage<? extends U> other, + BiConsumer<? super T,? super U> action)
    +
    +
    Returns a new Cffu that, when this and the other given stage both complete normally, + is executed with the two results as arguments to the supplied action.
    +
    +
    <U> Cffu<Void>
    +
    Cffu.thenAcceptBothAsync(CompletionStage<? extends U> other, + BiConsumer<? super T,? super U> action)
    +
    +
    Returns a new Cffu that, when this and the other given stage both complete normally, + is executed using defaultExecutor(), with the two results as arguments to the supplied action.
    +
    +
    <U> Cffu<Void>
    +
    Cffu.thenAcceptBothAsync(CompletionStage<? extends U> other, + BiConsumer<? super T,? super U> action, + Executor executor)
    +
    +
    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.
    +
    +
    <U> Cffu<Void>
    +
    Cffu.thenAcceptBothFastFail(CompletionStage<? extends U> other, + BiConsumer<? super T,? super U> action)
    +
    +
    Returns a new Cffu that, when this and the other given stage both complete normally, + is executed with the two results as arguments to the supplied action.
    +
    +
    <U> Cffu<Void>
    +
    Cffu.thenAcceptBothFastFailAsync(CompletionStage<? extends U> other, + BiConsumer<? super T,? super U> action)
    +
    +
    Returns a new Cffu that, when this and the other given stage both complete normally, + is executed using defaultExecutor(), with the two results as arguments to the supplied action.
    +
    +
    <U> Cffu<Void>
    +
    Cffu.thenAcceptBothFastFailAsync(CompletionStage<? extends U> other, + BiConsumer<? super T,? super U> action, + Executor executor)
    +
    +
    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.
    +
    +
    <U> Cffu<U>
    +
    Cffu.thenApply(Function<? super T,? extends U> fn)
    +
    +
    Returns a new Cffu that, when this stage completes normally, + is executed with this stage's result as the argument to the supplied function.
    +
    +
    <U> Cffu<U>
    +
    Cffu.thenApplyAsync(Function<? super T,? extends U> fn)
    +
    +
    Returns a new Cffu that, when this stage completes normally, + is executed using defaultExecutor(), + with this stage's result as the argument to the supplied function.
    +
    +
    <U> Cffu<U>
    +
    Cffu.thenApplyAsync(Function<? super T,? extends U> fn, + Executor executor)
    +
    +
    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.
    +
    +
    <U, +V> Cffu<V>
    +
    Cffu.thenCombine(CompletionStage<? extends U> other, + BiFunction<? super T,? super U,? extends V> fn)
    +
    +
    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.
    +
    +
    <U, +V> Cffu<V>
    +
    Cffu.thenCombineAsync(CompletionStage<? extends U> other, + BiFunction<? super T,? super U,? extends V> fn)
    +
    +
    Returns a new Cffu that, when this and the other given stage both complete normally, + is executed using defaultExecutor(), with the two results as arguments to the supplied function.
    +
    +
    <U, +V> Cffu<V>
    +
    Cffu.thenCombineAsync(CompletionStage<? extends U> other, + BiFunction<? super T,? super U,? extends V> fn, + Executor executor)
    +
    +
    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.
    +
    +
    <U, +V> Cffu<V>
    +
    Cffu.thenCombineFastFail(CompletionStage<? extends U> other, + BiFunction<? super T,? super U,? extends V> fn)
    +
    +
    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.
    +
    +
    <U, +V> Cffu<V>
    +
    Cffu.thenCombineFastFailAsync(CompletionStage<? extends U> other, + BiFunction<? super T,? super U,? extends V> fn)
    +
    +
    Returns a new Cffu that, when this and the other given stage both complete normally, + is executed using defaultExecutor(), with the two results as arguments to the supplied function.
    +
    +
    <U, +V> Cffu<V>
    +
    Cffu.thenCombineFastFailAsync(CompletionStage<? extends U> other, + BiFunction<? super T,? super U,? extends V> fn, + Executor executor)
    +
    +
    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.
    +
    +
    <U> Cffu<U>
    +
    Cffu.thenCompose(Function<? super T,? extends CompletionStage<U>> fn)
    +
    +
    Returns a new Cffu that is completed with the same value + as the CompletionStage returned by the given function.
    +
    +
    <U> Cffu<U>
    +
    Cffu.thenComposeAsync(Function<? super T,? extends CompletionStage<U>> fn)
    +
    +
    Returns a new Cffu that is completed with the same value as the CompletionStage + returned by the given function, executed using defaultExecutor().
    +
    +
    <U> Cffu<U>
    +
    Cffu.thenComposeAsync(Function<? super T,? extends CompletionStage<U>> fn, + Executor executor)
    +
    +
    Returns a new Cffu that is completed with the same value as the CompletionStage + returned by the given function, executed using the supplied Executor.
    +
    +
    final Cffu<Void>
    +
    Cffu.thenMAcceptAnyAsync(Executor executor, + Consumer<? super T>... actions)
    +
    +
    Returns a new Cffu that, when the given stage completes normally, + is executed using the given Executor, with the given stage's result as the argument to the given actions.
    +
    +
    final Cffu<Void>
    +
    Cffu.thenMAcceptAnyAsync(Consumer<? super T>... actions)
    +
    +
    Returns a new Cffu that, when the given stage completes normally, + is executed using defaultExecutor(), + with the given stage's result as the argument to the given actions.
    +
    +
    final Cffu<Void>
    +
    Cffu.thenMAcceptAnySuccessAsync(Executor executor, + Consumer<? super T>... actions)
    +
    +
    Returns a new Cffu that, when the given stage completes normally, + is executed using the given Executor, with the given stage's result as the argument to the given actions.
    +
    +
    final Cffu<Void>
    +
    Cffu.thenMAcceptAnySuccessAsync(Consumer<? super T>... actions)
    +
    +
    Returns a new Cffu that, when the given stage completes normally, + is executed using defaultExecutor(), + with the given stage's result as the argument to the given actions.
    +
    +
    final Cffu<Void>
    +
    Cffu.thenMAcceptAsync(Executor executor, + Consumer<? super T>... actions)
    +
    +
    Returns a new Cffu that, when the given stage completes normally, + is executed using the given Executor, with the given stage's result as the argument to the given actions.
    +
    +
    final Cffu<Void>
    +
    Cffu.thenMAcceptAsync(Consumer<? super T>... actions)
    +
    +
    Returns a new Cffu that, when the given stage completes normally, + is executed using defaultExecutor(), + with the given stage's result as the argument to the given actions.
    +
    +
    final Cffu<Void>
    +
    Cffu.thenMAcceptFastFailAsync(Executor executor, + Consumer<? super T>... actions)
    +
    +
    Returns a new Cffu that, when the given stage completes normally, + is executed using the given Executor, with the given stage's result as the argument to the given actions.
    +
    +
    final Cffu<Void>
    +
    Cffu.thenMAcceptFastFailAsync(Consumer<? super T>... actions)
    +
    +
    Returns a new Cffu that, when the given stage completes normally, + is executed using defaultExecutor(), + with the given stage's result as the argument to the given actions.
    +
    +
    final <U> Cffu<List<U>>
    +
    Cffu.thenMApplyAllSuccessAsync(U valueIfFailed, + Executor executor, + Function<? super T,? extends U>... fns)
    +
    +
    Returns a new Cffu that, when the given stage completes normally, + is executed in the given Executor with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    final <U> Cffu<List<U>>
    +
    Cffu.thenMApplyAllSuccessAsync(U valueIfFailed, + Function<? super T,? extends U>... fns)
    +
    +
    Returns a new Cffu that, when the given stage completes normally, + is executed in the Cffu's default asynchronous execution facility + with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    final <U> Cffu<U>
    +
    Cffu.thenMApplyAnyAsync(Executor executor, + Function<? super T,? extends U>... fns)
    +
    +
    Returns a new Cffu that, when the given stage completes normally, + is executed using the given Executor, with any completed result obtained by calling the given Functions + (with the given stage's result as the argument to the given functions).
    +
    +
    final <U> Cffu<U>
    +
    Cffu.thenMApplyAnyAsync(Function<? super T,? extends U>... fns)
    +
    +
    Returns a new Cffu that, when the given stage completes normally, + is executed using the Cffu's default asynchronous execution facility, + with any completed result obtained by calling the given Functions + (with the given stage's result as the argument to the given functions).
    +
    +
    final <U> Cffu<U>
    +
    Cffu.thenMApplyAnySuccessAsync(Executor executor, + Function<? super T,? extends U>... fns)
    +
    +
    Returns a new Cffu that, when the given stage completes normally, + is executed using the given Executor, with any successful value obtained by calling the given Functions + (with the given stage's result as the argument to the given functions).
    +
    +
    final <U> Cffu<U>
    +
    Cffu.thenMApplyAnySuccessAsync(Function<? super T,? extends U>... fns)
    +
    +
    Returns a new Cffu that, when the given stage completes normally, + is executed using the Cffu's default asynchronous execution facility, + with any successful value obtained by calling the given Functions + (with the given stage's result as the argument to the given functions).
    +
    +
    final <U> Cffu<List<U>>
    +
    Cffu.thenMApplyAsync(Executor executor, + Function<? super T,? extends U>... fns)
    +
    +
    Returns a new Cffu that, when the given stage completes normally, + is executed using the given Executor, with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    final <U> Cffu<List<U>>
    +
    Cffu.thenMApplyAsync(Function<? super T,? extends U>... fns)
    +
    +
    Returns a new Cffu that, when the given stage completes normally, + is executed using defaultExecutor(), + with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    final <U> Cffu<List<U>>
    +
    Cffu.thenMApplyFastFailAsync(Executor executor, + Function<? super T,? extends U>... fns)
    +
    +
    Returns a new Cffu that, when the given stage completes normally, + is executed using the given Executor, with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    final <U> Cffu<List<U>>
    +
    Cffu.thenMApplyFastFailAsync(Function<? super T,? extends U>... fns)
    +
    +
    Returns a new Cffu that, when the given stage completes normally, + is executed using defaultExecutor(), + with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    final <U> Cffu<List<U>>
    +
    Cffu.thenMApplyMostSuccessAsync(U valueIfNotSuccess, + long timeout, + TimeUnit unit, + Function<? super T,? extends U>... fns)
    +
    +
    Returns a new Cffu that, when the given stage completes normally, + is executed using defaultExecutor(), + with the most values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Functions arguments.
    +
    +
    final <U> Cffu<List<U>>
    +
    Cffu.thenMApplyMostSuccessAsync(U valueIfNotSuccess, + Executor executor, + long timeout, + TimeUnit unit, + Function<? super T,? extends U>... fns)
    +
    +
    Returns a new Cffu that, when the given stage completes normally, + is executed using the given Executor, with the most values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Functions arguments.
    +
    + +
    Cffu.thenMRunAnyAsync(Runnable... actions)
    +
    +
    Returns a new Cffu that, when the given stage completes normally, + executes using defaultExecutor(),
    +
    + +
    Cffu.thenMRunAnyAsync(Executor executor, + Runnable... actions)
    +
    +
    Returns a new Cffu that, when the given stage completes normally, + executes the given actions using the given Executor.
    +
    + + +
    +
    Returns a new Cffu that, when the given stage completes normally, + executes using defaultExecutor(),
    +
    + +
    Cffu.thenMRunAnySuccessAsync(Executor executor, + Runnable... actions)
    +
    +
    Returns a new Cffu that, when the given stage completes normally, + executes the given actions using the given Executor.
    +
    + +
    Cffu.thenMRunAsync(Runnable... actions)
    +
    +
    Returns a new Cffu that, when the given stage completes normally, + executes the given actions using defaultExecutor().
    +
    + +
    Cffu.thenMRunAsync(Executor executor, + Runnable... actions)
    +
    +
    Returns a new Cffu that, when the given stage completes normally, + executes the given actions using the given Executor.
    +
    + + +
    +
    Returns a new Cffu that, when the given stage completes normally, + executes using defaultExecutor(),
    +
    + +
    Cffu.thenMRunFastFailAsync(Executor executor, + Runnable... actions)
    +
    +
    Returns a new Cffu that, when the given stage completes normally, + executes the given actions using the given Executor.
    +
    + +
    Cffu.thenRun(Runnable action)
    +
    +
    Returns a new Cffu that, when this stage completes normally, executes the given action.
    +
    + +
    Cffu.thenRunAsync(Runnable action)
    +
    +
    Returns a new Cffu that, when this stage completes normally, + executes the given action using defaultExecutor().
    +
    + +
    Cffu.thenRunAsync(Runnable action, + Executor executor)
    +
    +
    Returns a new Cffu that, when this stage completes normally, + executes the given action using the supplied Executor.
    +
    +
    <U1, +U2> Cffu<Tuple2<U1,U2>>
    +
    Cffu.thenTupleMApplyAllSuccessAsync(Executor executor, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, + with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions).
    +
    +
    <U1, +U2, +U3>
    Cffu<Tuple3<U1,U2,U3>>
    +
    Cffu.thenTupleMApplyAllSuccessAsync(Executor executor, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, + with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions).
    +
    +
    <U1, +U2, +U3, +U4>
    Cffu<Tuple4<U1,U2,U3,U4>>
    +
    Cffu.thenTupleMApplyAllSuccessAsync(Executor executor, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, + with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions).
    +
    +
    <U1, +U2, +U3, +U4, +U5>
    Cffu<Tuple5<U1,U2,U3,U4,U5>>
    +
    Cffu.thenTupleMApplyAllSuccessAsync(Executor executor, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4, + Function<? super T,? extends U5> fn5)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, + with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions).
    +
    +
    <U1, +U2> Cffu<Tuple2<U1,U2>>
    +
    Cffu.thenTupleMApplyAllSuccessAsync(Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the defaultExecutor(), + with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions).
    +
    +
    <U1, +U2, +U3>
    Cffu<Tuple3<U1,U2,U3>>
    +
    Cffu.thenTupleMApplyAllSuccessAsync(Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the defaultExecutor(), + with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions).
    +
    +
    <U1, +U2, +U3, +U4>
    Cffu<Tuple4<U1,U2,U3,U4>>
    +
    Cffu.thenTupleMApplyAllSuccessAsync(Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the defaultExecutor(), + with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions).
    +
    +
    <U1, +U2, +U3, +U4, +U5>
    Cffu<Tuple5<U1,U2,U3,U4,U5>>
    +
    Cffu.thenTupleMApplyAllSuccessAsync(Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4, + Function<? super T,? extends U5> fn5)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the defaultExecutor(), + with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions).
    +
    +
    <U1, +U2> Cffu<Tuple2<U1,U2>>
    +
    Cffu.thenTupleMApplyAsync(Executor executor, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    <U1, +U2, +U3>
    Cffu<Tuple3<U1,U2,U3>>
    +
    Cffu.thenTupleMApplyAsync(Executor executor, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    <U1, +U2, +U3, +U4>
    Cffu<Tuple4<U1,U2,U3,U4>>
    +
    Cffu.thenTupleMApplyAsync(Executor executor, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    <U1, +U2, +U3, +U4, +U5>
    Cffu<Tuple5<U1,U2,U3,U4,U5>>
    +
    Cffu.thenTupleMApplyAsync(Executor executor, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4, + Function<? super T,? extends U5> fn5)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    <U1, +U2> Cffu<Tuple2<U1,U2>>
    +
    Cffu.thenTupleMApplyAsync(Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the defaultExecutor(), + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    <U1, +U2, +U3>
    Cffu<Tuple3<U1,U2,U3>>
    +
    Cffu.thenTupleMApplyAsync(Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the defaultExecutor(), + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    <U1, +U2, +U3, +U4>
    Cffu<Tuple4<U1,U2,U3,U4>>
    +
    Cffu.thenTupleMApplyAsync(Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the defaultExecutor(), + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    <U1, +U2, +U3, +U4, +U5>
    Cffu<Tuple5<U1,U2,U3,U4,U5>>
    +
    Cffu.thenTupleMApplyAsync(Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4, + Function<? super T,? extends U5> fn5)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the defaultExecutor(), + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    <U1, +U2> Cffu<Tuple2<U1,U2>>
    +
    Cffu.thenTupleMApplyFastFailAsync(Executor executor, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    <U1, +U2, +U3>
    Cffu<Tuple3<U1,U2,U3>>
    +
    Cffu.thenTupleMApplyFastFailAsync(Executor executor, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    <U1, +U2, +U3, +U4>
    Cffu<Tuple4<U1,U2,U3,U4>>
    +
    Cffu.thenTupleMApplyFastFailAsync(Executor executor, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    <U1, +U2, +U3, +U4, +U5>
    Cffu<Tuple5<U1,U2,U3,U4,U5>>
    +
    Cffu.thenTupleMApplyFastFailAsync(Executor executor, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4, + Function<? super T,? extends U5> fn5)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    <U1, +U2> Cffu<Tuple2<U1,U2>>
    +
    Cffu.thenTupleMApplyFastFailAsync(Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the defaultExecutor(), + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    <U1, +U2, +U3>
    Cffu<Tuple3<U1,U2,U3>>
    +
    Cffu.thenTupleMApplyFastFailAsync(Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the defaultExecutor(), + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    <U1, +U2, +U3, +U4>
    Cffu<Tuple4<U1,U2,U3,U4>>
    +
    Cffu.thenTupleMApplyFastFailAsync(Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the defaultExecutor(), + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    <U1, +U2, +U3, +U4, +U5>
    Cffu<Tuple5<U1,U2,U3,U4,U5>>
    +
    Cffu.thenTupleMApplyFastFailAsync(Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4, + Function<? super T,? extends U5> fn5)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the defaultExecutor(), + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    <U1, +U2> Cffu<Tuple2<U1,U2>>
    +
    Cffu.thenTupleMApplyMostSuccessAsync(long timeout, + TimeUnit unit, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the defaultExecutor(), + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    <U1, +U2, +U3>
    Cffu<Tuple3<U1,U2,U3>>
    +
    Cffu.thenTupleMApplyMostSuccessAsync(long timeout, + TimeUnit unit, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the defaultExecutor(), + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    <U1, +U2, +U3, +U4>
    Cffu<Tuple4<U1,U2,U3,U4>>
    +
    Cffu.thenTupleMApplyMostSuccessAsync(long timeout, + TimeUnit unit, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the defaultExecutor(), + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    <U1, +U2, +U3, +U4, +U5>
    Cffu<Tuple5<U1,U2,U3,U4,U5>>
    +
    Cffu.thenTupleMApplyMostSuccessAsync(long timeout, + TimeUnit unit, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4, + Function<? super T,? extends U5> fn5)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the defaultExecutor(), + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    <U1, +U2> Cffu<Tuple2<U1,U2>>
    +
    Cffu.thenTupleMApplyMostSuccessAsync(Executor executor, + long timeout, + TimeUnit unit, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    <U1, +U2, +U3>
    Cffu<Tuple3<U1,U2,U3>>
    +
    Cffu.thenTupleMApplyMostSuccessAsync(Executor executor, + long timeout, + TimeUnit unit, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    <U1, +U2, +U3, +U4>
    Cffu<Tuple4<U1,U2,U3,U4>>
    +
    Cffu.thenTupleMApplyMostSuccessAsync(Executor executor, + long timeout, + TimeUnit unit, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    <U1, +U2, +U3, +U4, +U5>
    Cffu<Tuple5<U1,U2,U3,U4,U5>>
    +
    Cffu.thenTupleMApplyMostSuccessAsync(Executor executor, + long timeout, + TimeUnit unit, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3, + Function<? super T,? extends U4> fn4, + Function<? super T,? extends U5> fn5)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    <T> Cffu<T>
    +
    CffuFactory.toCffu(CompletionStage<T> stage)
    +
    +
    Returns a Cffu maintaining the same completion properties as this stage and this CffuFactory config.
    +
    +
    static <T> Cffu<T>
    +
    ListenableFutureUtils.toCffu(ListenableFuture<T> lf, + CffuFactory cffuFactory, + boolean interruptLfWhenCancellationException)
    +
    +
    Converts input ListenableFuture to Cffu.
    +
    +
    final <T> Cffu<T>[]
    +
    CffuFactory.toCffuArray(CompletionStage<T>... stages)
    +
    +
    A convenient util method for converting input CompletionStage(including CompletableFuture) + array element by CffuFactory.toCffu(CompletionStage).
    +
    +
    <T1, +T2> Cffu<Tuple2<T1,T2>>
    +
    CffuFactory.tupleMSupplyAllSuccessAsync(Executor executor, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the given executor with the successfully values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2, +T3>
    Cffu<Tuple3<T1,T2,T3>>
    +
    CffuFactory.tupleMSupplyAllSuccessAsync(Executor executor, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the given executor with the successfully values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2, +T3, +T4>
    Cffu<Tuple4<T1,T2,T3,T4>>
    +
    CffuFactory.tupleMSupplyAllSuccessAsync(Executor executor, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the given executor with the successfully values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2, +T3, +T4, +T5>
    Cffu<Tuple5<T1,T2,T3,T4,T5>>
    +
    CffuFactory.tupleMSupplyAllSuccessAsync(Executor executor, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4, + Supplier<? extends T5> supplier5)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the given executor with the successfully values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2> Cffu<Tuple2<T1,T2>>
    +
    CffuFactory.tupleMSupplyAllSuccessAsync(Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the Cffu's default asynchronous execution facility + with the successful values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2, +T3>
    Cffu<Tuple3<T1,T2,T3>>
    +
    CffuFactory.tupleMSupplyAllSuccessAsync(Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the Cffu's default asynchronous execution facility + with the successful values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2, +T3, +T4>
    Cffu<Tuple4<T1,T2,T3,T4>>
    +
    CffuFactory.tupleMSupplyAllSuccessAsync(Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the Cffu's default asynchronous execution facility + with the successful values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2, +T3, +T4, +T5>
    Cffu<Tuple5<T1,T2,T3,T4,T5>>
    +
    CffuFactory.tupleMSupplyAllSuccessAsync(Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4, + Supplier<? extends T5> supplier5)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the Cffu's default asynchronous execution facility + with the successful values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2> Cffu<Tuple2<T1,T2>>
    +
    CffuFactory.tupleMSupplyAsync(Executor executor, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the given Executor with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2, +T3>
    Cffu<Tuple3<T1,T2,T3>>
    +
    CffuFactory.tupleMSupplyAsync(Executor executor, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the given Executor with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2, +T3, +T4>
    Cffu<Tuple4<T1,T2,T3,T4>>
    +
    CffuFactory.tupleMSupplyAsync(Executor executor, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the given Executor with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2, +T3, +T4, +T5>
    Cffu<Tuple5<T1,T2,T3,T4,T5>>
    +
    CffuFactory.tupleMSupplyAsync(Executor executor, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4, + Supplier<? extends T5> supplier5)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the given Executor with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2> Cffu<Tuple2<T1,T2>>
    +
    CffuFactory.tupleMSupplyAsync(Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the CffuFactory.defaultExecutor() with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2, +T3>
    Cffu<Tuple3<T1,T2,T3>>
    +
    CffuFactory.tupleMSupplyAsync(Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the CffuFactory.defaultExecutor() with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2, +T3, +T4>
    Cffu<Tuple4<T1,T2,T3,T4>>
    +
    CffuFactory.tupleMSupplyAsync(Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the CffuFactory.defaultExecutor() with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2, +T3, +T4, +T5>
    Cffu<Tuple5<T1,T2,T3,T4,T5>>
    +
    CffuFactory.tupleMSupplyAsync(Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4, + Supplier<? extends T5> supplier5)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the CffuFactory.defaultExecutor() with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2> Cffu<Tuple2<T1,T2>>
    +
    CffuFactory.tupleMSupplyFastFailAsync(Executor executor, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the CffuFactory.defaultExecutor() with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2, +T3>
    Cffu<Tuple3<T1,T2,T3>>
    +
    CffuFactory.tupleMSupplyFastFailAsync(Executor executor, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the given Executor with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2, +T3, +T4>
    Cffu<Tuple4<T1,T2,T3,T4>>
    +
    CffuFactory.tupleMSupplyFastFailAsync(Executor executor, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the given Executor with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2, +T3, +T4, +T5>
    Cffu<Tuple5<T1,T2,T3,T4,T5>>
    +
    CffuFactory.tupleMSupplyFastFailAsync(Executor executor, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4, + Supplier<? extends T5> supplier5)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the given Executor with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2> Cffu<Tuple2<T1,T2>>
    +
    CffuFactory.tupleMSupplyFastFailAsync(Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the CffuFactory.defaultExecutor() with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2, +T3>
    Cffu<Tuple3<T1,T2,T3>>
    +
    CffuFactory.tupleMSupplyFastFailAsync(Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the given Executor with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2, +T3, +T4>
    Cffu<Tuple4<T1,T2,T3,T4>>
    +
    CffuFactory.tupleMSupplyFastFailAsync(Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the CffuFactory.defaultExecutor() with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2, +T3, +T4, +T5>
    Cffu<Tuple5<T1,T2,T3,T4,T5>>
    +
    CffuFactory.tupleMSupplyFastFailAsync(Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4, + Supplier<? extends T5> supplier5)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the CffuFactory.defaultExecutor() with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2> Cffu<Tuple2<T1,T2>>
    +
    CffuFactory.tupleMSupplyMostSuccessAsync(long timeout, + TimeUnit unit, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the Cffu's default asynchronous execution facility + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2, +T3>
    Cffu<Tuple3<T1,T2,T3>>
    +
    CffuFactory.tupleMSupplyMostSuccessAsync(long timeout, + TimeUnit unit, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the Cffu's default asynchronous execution facility + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2, +T3, +T4>
    Cffu<Tuple4<T1,T2,T3,T4>>
    +
    CffuFactory.tupleMSupplyMostSuccessAsync(long timeout, + TimeUnit unit, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the Cffu's default asynchronous execution facility + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2, +T3, +T4, +T5>
    Cffu<Tuple5<T1,T2,T3,T4,T5>>
    +
    CffuFactory.tupleMSupplyMostSuccessAsync(long timeout, + TimeUnit unit, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4, + Supplier<? extends T5> supplier5)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the Cffu's default asynchronous execution facility + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2> Cffu<Tuple2<T1,T2>>
    +
    CffuFactory.tupleMSupplyMostSuccessAsync(Executor executor, + long timeout, + TimeUnit unit, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2)
    +
    +
    Returns a new Cffu that is asynchronously completed by tasks running in the given Executor + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2, +T3>
    Cffu<Tuple3<T1,T2,T3>>
    +
    CffuFactory.tupleMSupplyMostSuccessAsync(Executor executor, + long timeout, + TimeUnit unit, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3)
    +
    +
    Returns a new Cffu that is asynchronously completed by tasks running in the given Executor + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2, +T3, +T4>
    Cffu<Tuple4<T1,T2,T3,T4>>
    +
    CffuFactory.tupleMSupplyMostSuccessAsync(Executor executor, + long timeout, + TimeUnit unit, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4)
    +
    +
    Returns a new Cffu that is asynchronously completed by tasks running in the given Executor + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2, +T3, +T4, +T5>
    Cffu<Tuple5<T1,T2,T3,T4,T5>>
    +
    CffuFactory.tupleMSupplyMostSuccessAsync(Executor executor, + long timeout, + TimeUnit unit, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3, + Supplier<? extends T4> supplier4, + Supplier<? extends T5> supplier5)
    +
    +
    Returns a new Cffu that is asynchronously completed by tasks running in the given Executor + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments.
    +
    + +
    Cffu.unsafeCompleteOnTimeout(T value, + long timeout, + TimeUnit unit)
    +
    +
    Completes this Cffu with the given value if not otherwise completed before the given timeout.
    +
    + +
    Cffu.unsafeOrTimeout(long timeout, + TimeUnit unit)
    +
    +
    Exceptionally completes this Cffu with a TimeoutException + if not otherwise completed before the given timeout.
    +
    + +
    Cffu.whenComplete(BiConsumer<? super T,? super Throwable> action)
    +
    +
    Returns a new Cffu with the same result or exception as this stage, + that executes the given action when this stage completes.
    +
    + +
    Cffu.whenCompleteAsync(BiConsumer<? super T,? super Throwable> action)
    +
    +
    Returns a new Cffu with the same result or exception as this stage, + that executes the given action using defaultExecutor() + when this stage completes.
    +
    + +
    Cffu.whenCompleteAsync(BiConsumer<? super T,? super Throwable> action, + Executor executor)
    +
    +
    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.
    +
    +
    +
    Methods in io.foldright.cffu with parameters of type Cffu
    +
    +
    Modifier and Type
    +
    Method
    +
    Description
    +
    static <T> ListenableFuture<T>
    +
    ListenableFutureUtils.toListenableFuture(Cffu<T> cf)
    +
    +
    Converts input Cffu to ListenableFuture.
    +
    +
    +
    Method parameters in io.foldright.cffu with type arguments of type Cffu
    +
    +
    Modifier and Type
    +
    Method
    +
    Description
    +
    static <T> Cffu<T>[]
    +
    CffuFactory.cffuListToArray(List<Cffu<T>> cffuList)
    +
    +
    Convert Cffu list to Cffu array.
    +
    +
    +
    +
  • +
+
+
+
+
+ +
+
+
+ + diff --git a/cffu/1.0.0-Alpha22/io/foldright/cffu/class-use/CffuFactory.html b/cffu/1.0.0-Alpha22/io/foldright/cffu/class-use/CffuFactory.html new file mode 100644 index 0000000..fc78275 --- /dev/null +++ b/cffu/1.0.0-Alpha22/io/foldright/cffu/class-use/CffuFactory.html @@ -0,0 +1,130 @@ + + + + +Uses of Class io.foldright.cffu.CffuFactory (CompletableFuture-Fu(cffu) 1.0.0-Alpha22 API) + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
io.foldright.cffu.CffuFactory

+
+
Packages that use CffuFactory
+
+
Package
+
Description
+ +
+
A tiny sidekick library for CompletableFuture to improve user experience and reduce misuse.
+
+
+
+ +
+
+
+
+ +
+
+
+ + diff --git a/cffu/1.0.0-Alpha22/io/foldright/cffu/class-use/CffuFactoryBuilder.html b/cffu/1.0.0-Alpha22/io/foldright/cffu/class-use/CffuFactoryBuilder.html new file mode 100644 index 0000000..8417156 --- /dev/null +++ b/cffu/1.0.0-Alpha22/io/foldright/cffu/class-use/CffuFactoryBuilder.html @@ -0,0 +1,96 @@ + + + + +Uses of Class io.foldright.cffu.CffuFactoryBuilder (CompletableFuture-Fu(cffu) 1.0.0-Alpha22 API) + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
io.foldright.cffu.CffuFactoryBuilder

+
+
Packages that use CffuFactoryBuilder
+
+
Package
+
Description
+ +
+
A tiny sidekick library for CompletableFuture to improve user experience and reduce misuse.
+
+
+
+ +
+
+
+
+ +
+
+
+ + diff --git a/cffu/1.0.0-Alpha22/io/foldright/cffu/class-use/CffuState.html b/cffu/1.0.0-Alpha22/io/foldright/cffu/class-use/CffuState.html new file mode 100644 index 0000000..afea0fe --- /dev/null +++ b/cffu/1.0.0-Alpha22/io/foldright/cffu/class-use/CffuState.html @@ -0,0 +1,114 @@ + + + + +Uses of Enum io.foldright.cffu.CffuState (CompletableFuture-Fu(cffu) 1.0.0-Alpha22 API) + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Enum
io.foldright.cffu.CffuState

+
+
Packages that use CffuState
+
+
Package
+
Description
+ +
+
A tiny sidekick library for CompletableFuture to improve user experience and reduce misuse.
+
+
+
+ +
+
+
+
+ +
+
+
+ + diff --git a/cffu/1.0.0-Alpha22/io/foldright/cffu/class-use/CompletableFutureUtils.html b/cffu/1.0.0-Alpha22/io/foldright/cffu/class-use/CompletableFutureUtils.html new file mode 100644 index 0000000..eaf888c --- /dev/null +++ b/cffu/1.0.0-Alpha22/io/foldright/cffu/class-use/CompletableFutureUtils.html @@ -0,0 +1,62 @@ + + + + +Uses of Class io.foldright.cffu.CompletableFutureUtils (CompletableFuture-Fu(cffu) 1.0.0-Alpha22 API) + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
io.foldright.cffu.CompletableFutureUtils

+
+No usage of io.foldright.cffu.CompletableFutureUtils
+
+
+ +
+
+
+ + diff --git a/cffu/1.0.0-Alpha22/io/foldright/cffu/class-use/ListenableFutureUtils.html b/cffu/1.0.0-Alpha22/io/foldright/cffu/class-use/ListenableFutureUtils.html new file mode 100644 index 0000000..54b4828 --- /dev/null +++ b/cffu/1.0.0-Alpha22/io/foldright/cffu/class-use/ListenableFutureUtils.html @@ -0,0 +1,62 @@ + + + + +Uses of Class io.foldright.cffu.ListenableFutureUtils (CompletableFuture-Fu(cffu) 1.0.0-Alpha22 API) + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
io.foldright.cffu.ListenableFutureUtils

+
+No usage of io.foldright.cffu.ListenableFutureUtils
+
+
+ +
+
+
+ + diff --git a/cffu/1.0.0-Alpha22/io/foldright/cffu/class-use/NoCfsProvidedException.html b/cffu/1.0.0-Alpha22/io/foldright/cffu/class-use/NoCfsProvidedException.html new file mode 100644 index 0000000..3baa66c --- /dev/null +++ b/cffu/1.0.0-Alpha22/io/foldright/cffu/class-use/NoCfsProvidedException.html @@ -0,0 +1,62 @@ + + + + +Uses of Class io.foldright.cffu.NoCfsProvidedException (CompletableFuture-Fu(cffu) 1.0.0-Alpha22 API) + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
io.foldright.cffu.NoCfsProvidedException

+
+No usage of io.foldright.cffu.NoCfsProvidedException
+
+
+ +
+
+
+ + diff --git a/cffu/1.0.0-Alpha22/io/foldright/cffu/package-summary.html b/cffu/1.0.0-Alpha22/io/foldright/cffu/package-summary.html new file mode 100644 index 0000000..548307b --- /dev/null +++ b/cffu/1.0.0-Alpha22/io/foldright/cffu/package-summary.html @@ -0,0 +1,172 @@ + + + + +io.foldright.cffu (CompletableFuture-Fu(cffu) 1.0.0-Alpha22 API) + + + + + + + + + + + + + + +
+ +
+
+
+

Package io.foldright.cffu

+
+
+ +
+
A tiny sidekick library for CompletableFuture to improve user experience and reduce misuse. +

+ The core class is Cffu. And utils for CompletableFuture, + the key user class is CompletableFutureUtils + which contains the enhanced and backport methods for CompletableFuture.

+
+
Author:
+
Jerry Lee (oldratlee at gmail dot com)
+
See Also:
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+ + diff --git a/cffu/1.0.0-Alpha22/io/foldright/cffu/package-tree.html b/cffu/1.0.0-Alpha22/io/foldright/cffu/package-tree.html new file mode 100644 index 0000000..ee2821a --- /dev/null +++ b/cffu/1.0.0-Alpha22/io/foldright/cffu/package-tree.html @@ -0,0 +1,107 @@ + + + + +io.foldright.cffu Class Hierarchy (CompletableFuture-Fu(cffu) 1.0.0-Alpha22 API) + + + + + + + + + + + + + + +
+ +
+
+
+

Hierarchy For Package io.foldright.cffu

+
+Package Hierarchies: + +
+

Class Hierarchy

+ +
+
+

Enum Hierarchy

+ +
+
+
+
+ +
+
+
+ + diff --git a/cffu/1.0.0-Alpha22/io/foldright/cffu/package-use.html b/cffu/1.0.0-Alpha22/io/foldright/cffu/package-use.html new file mode 100644 index 0000000..c0b59ce --- /dev/null +++ b/cffu/1.0.0-Alpha22/io/foldright/cffu/package-use.html @@ -0,0 +1,102 @@ + + + + +Uses of Package io.foldright.cffu (CompletableFuture-Fu(cffu) 1.0.0-Alpha22 API) + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Package
io.foldright.cffu

+
+
Packages that use io.foldright.cffu
+
+
Package
+
Description
+ +
+
A tiny sidekick library for CompletableFuture to improve user experience and reduce misuse.
+
+
+
+ +
+
+
+
+ +
+
+
+ + diff --git a/cffu/1.0.0-Alpha22/io/foldright/cffu/spi/ExecutorWrapperProvider.html b/cffu/1.0.0-Alpha22/io/foldright/cffu/spi/ExecutorWrapperProvider.html new file mode 100644 index 0000000..659192f --- /dev/null +++ b/cffu/1.0.0-Alpha22/io/foldright/cffu/spi/ExecutorWrapperProvider.html @@ -0,0 +1,168 @@ + + + + +ExecutorWrapperProvider (CompletableFuture-Fu(cffu) 1.0.0-Alpha22 API) + + + + + + + + + + + + + + +
+ +
+
+ +
+ +

Interface ExecutorWrapperProvider

+
+
+
+
All Known Implementing Classes:
+
CffuTtlExecutorWrapperProvider
+
+
+
Functional Interface:
+
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
+
+
+
@FunctionalInterface +public interface ExecutorWrapperProvider
+
An SPI for wrapping the executor when CffuFactoryBuilder + build CffuFactory.
+
+
See Also:
+
+ +
+
+
+
+
    + +
  • +
    +

    Method Summary

    +
    +
    +
    +
    +
    Modifier and Type
    +
    Method
    +
    Description
    + +
    wrap(Executor executor)
    +
    +
    Returns the executor wrapper of the given executor.
    +
    +
    +
    +
    +
    +
  • +
+
+
+ +
+ +
+
+
+ +
+
+
+ + diff --git a/cffu/1.0.0-Alpha22/io/foldright/cffu/spi/class-use/ExecutorWrapperProvider.html b/cffu/1.0.0-Alpha22/io/foldright/cffu/spi/class-use/ExecutorWrapperProvider.html new file mode 100644 index 0000000..52c91b9 --- /dev/null +++ b/cffu/1.0.0-Alpha22/io/foldright/cffu/spi/class-use/ExecutorWrapperProvider.html @@ -0,0 +1,93 @@ + + + + +Uses of Interface io.foldright.cffu.spi.ExecutorWrapperProvider (CompletableFuture-Fu(cffu) 1.0.0-Alpha22 API) + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Interface
io.foldright.cffu.spi.ExecutorWrapperProvider

+
+
Packages that use ExecutorWrapperProvider
+
+
Package
+
Description
+ +
+
Cffu executor wrapper provider(ExecutorWrapperProvider) SPI implementation for + 📌 TransmittableThreadLocal (TTL).
+
+
+
+ +
+
+
+
+ +
+
+
+ + diff --git a/cffu/1.0.0-Alpha22/io/foldright/cffu/spi/package-summary.html b/cffu/1.0.0-Alpha22/io/foldright/cffu/spi/package-summary.html new file mode 100644 index 0000000..f566cb7 --- /dev/null +++ b/cffu/1.0.0-Alpha22/io/foldright/cffu/spi/package-summary.html @@ -0,0 +1,132 @@ + + + + +io.foldright.cffu.spi (CompletableFuture-Fu(cffu) 1.0.0-Alpha22 API) + + + + + + + + + + + + + + +
+ +
+
+
+

Package io.foldright.cffu.spi

+
+
+
package io.foldright.cffu.spi
+
+
Cffu SPI interfaces.
+
+
See Also:
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+ + diff --git a/cffu/1.0.0-Alpha22/io/foldright/cffu/spi/package-tree.html b/cffu/1.0.0-Alpha22/io/foldright/cffu/spi/package-tree.html new file mode 100644 index 0000000..13db849 --- /dev/null +++ b/cffu/1.0.0-Alpha22/io/foldright/cffu/spi/package-tree.html @@ -0,0 +1,72 @@ + + + + +io.foldright.cffu.spi Class Hierarchy (CompletableFuture-Fu(cffu) 1.0.0-Alpha22 API) + + + + + + + + + + + + + + +
+ +
+
+
+

Hierarchy For Package io.foldright.cffu.spi

+
+Package Hierarchies: + +
+

Interface Hierarchy

+ +
+
+
+
+ +
+
+
+ + diff --git a/cffu/1.0.0-Alpha22/io/foldright/cffu/spi/package-use.html b/cffu/1.0.0-Alpha22/io/foldright/cffu/spi/package-use.html new file mode 100644 index 0000000..19a905b --- /dev/null +++ b/cffu/1.0.0-Alpha22/io/foldright/cffu/spi/package-use.html @@ -0,0 +1,90 @@ + + + + +Uses of Package io.foldright.cffu.spi (CompletableFuture-Fu(cffu) 1.0.0-Alpha22 API) + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Package
io.foldright.cffu.spi

+
+
Packages that use io.foldright.cffu.spi
+
+
Package
+
Description
+ +
+
Cffu executor wrapper provider(ExecutorWrapperProvider) SPI implementation for + 📌 TransmittableThreadLocal (TTL).
+
+
+
+ +
+
+
+
+ +
+
+
+ + diff --git a/cffu/1.0.0-Alpha22/io/foldright/cffu/ttl/CffuTtlExecutorWrapperProvider.html b/cffu/1.0.0-Alpha22/io/foldright/cffu/ttl/CffuTtlExecutorWrapperProvider.html new file mode 100644 index 0000000..acd9503 --- /dev/null +++ b/cffu/1.0.0-Alpha22/io/foldright/cffu/ttl/CffuTtlExecutorWrapperProvider.html @@ -0,0 +1,195 @@ + + + + +CffuTtlExecutorWrapperProvider (CompletableFuture-Fu(cffu) 1.0.0-Alpha22 API) + + + + + + + + + + + + + + +
+ +
+
+ +
+ +

Class CffuTtlExecutorWrapperProvider

+
+
java.lang.Object +
io.foldright.cffu.ttl.CffuTtlExecutorWrapperProvider
+
+
+
+
All Implemented Interfaces:
+
ExecutorWrapperProvider
+
+
+
public final class CffuTtlExecutorWrapperProvider +extends Object +implements ExecutorWrapperProvider
+
Cffu executor wrapper provider(ExecutorWrapperProvider) SPI implementation for + 📌 TransmittableThreadLocal (TTL).
+
+
+ +
+
+
    + +
  • +
    +

    Constructor Details

    +
      +
    • +
      +

      CffuTtlExecutorWrapperProvider

      +
      public CffuTtlExecutorWrapperProvider()
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    + +
    +
  • +
+
+ +
+
+
+ +
+
+
+ + diff --git a/cffu/1.0.0-Alpha22/io/foldright/cffu/ttl/class-use/CffuTtlExecutorWrapperProvider.html b/cffu/1.0.0-Alpha22/io/foldright/cffu/ttl/class-use/CffuTtlExecutorWrapperProvider.html new file mode 100644 index 0000000..289f3bd --- /dev/null +++ b/cffu/1.0.0-Alpha22/io/foldright/cffu/ttl/class-use/CffuTtlExecutorWrapperProvider.html @@ -0,0 +1,62 @@ + + + + +Uses of Class io.foldright.cffu.ttl.CffuTtlExecutorWrapperProvider (CompletableFuture-Fu(cffu) 1.0.0-Alpha22 API) + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
io.foldright.cffu.ttl.CffuTtlExecutorWrapperProvider

+
+No usage of io.foldright.cffu.ttl.CffuTtlExecutorWrapperProvider
+
+
+ +
+
+
+ + diff --git a/cffu/1.0.0-Alpha22/io/foldright/cffu/ttl/package-summary.html b/cffu/1.0.0-Alpha22/io/foldright/cffu/ttl/package-summary.html new file mode 100644 index 0000000..1b7882c --- /dev/null +++ b/cffu/1.0.0-Alpha22/io/foldright/cffu/ttl/package-summary.html @@ -0,0 +1,135 @@ + + + + +io.foldright.cffu.ttl (CompletableFuture-Fu(cffu) 1.0.0-Alpha22 API) + + + + + + + + + + + + + + +
+ +
+
+
+

Package io.foldright.cffu.ttl

+
+
+
package io.foldright.cffu.ttl
+
+
Cffu executor wrapper provider(ExecutorWrapperProvider) SPI implementation for + 📌 TransmittableThreadLocal (TTL).
+
+
See Also:
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+ + diff --git a/cffu/1.0.0-Alpha22/io/foldright/cffu/ttl/package-tree.html b/cffu/1.0.0-Alpha22/io/foldright/cffu/ttl/package-tree.html new file mode 100644 index 0000000..2203fa4 --- /dev/null +++ b/cffu/1.0.0-Alpha22/io/foldright/cffu/ttl/package-tree.html @@ -0,0 +1,76 @@ + + + + +io.foldright.cffu.ttl Class Hierarchy (CompletableFuture-Fu(cffu) 1.0.0-Alpha22 API) + + + + + + + + + + + + + + +
+ +
+
+
+

Hierarchy For Package io.foldright.cffu.ttl

+
+Package Hierarchies: + +
+

Class Hierarchy

+ +
+
+
+
+ +
+
+
+ + diff --git a/cffu/1.0.0-Alpha22/io/foldright/cffu/ttl/package-use.html b/cffu/1.0.0-Alpha22/io/foldright/cffu/ttl/package-use.html new file mode 100644 index 0000000..b1c547b --- /dev/null +++ b/cffu/1.0.0-Alpha22/io/foldright/cffu/ttl/package-use.html @@ -0,0 +1,62 @@ + + + + +Uses of Package io.foldright.cffu.ttl (CompletableFuture-Fu(cffu) 1.0.0-Alpha22 API) + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Package
io.foldright.cffu.ttl

+
+No usage of io.foldright.cffu.ttl
+
+
+ +
+
+
+ + diff --git a/cffu/1.0.0-Alpha22/io/foldright/cffu/tuple/Tuple2.html b/cffu/1.0.0-Alpha22/io/foldright/cffu/tuple/Tuple2.html new file mode 100644 index 0000000..b03bcb3 --- /dev/null +++ b/cffu/1.0.0-Alpha22/io/foldright/cffu/tuple/Tuple2.html @@ -0,0 +1,236 @@ + + + + +Tuple2 (CompletableFuture-Fu(cffu) 1.0.0-Alpha22 API) + + + + + + + + + + + + + + +
+ +
+
+ +
+ +

Class Tuple2<T1,T2>

+
+
java.lang.Object +
io.foldright.cffu.tuple.Tuple2<T1,T2>
+
+
+
+
public final class Tuple2<T1,T2> +extends Object
+
Tuple2(aka Pair).
+
+
Author:
+
Jerry Lee (oldratlee at gmail dot com)
+
+
+
+ +
+
+
    + +
  • +
    +

    Field Details

    +
      +
    • +
      +

      _1

      +
      public final T1 _1
      +
      +
    • +
    • +
      +

      _2

      +
      public final T2 _2
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    +
      +
    • +
      +

      of

      +
      public static <T1, +T2> Tuple2<T1,T2> of(T1 _1, + T2 _2)
      +
      +
    • +
    • +
      +

      equals

      +
      public boolean equals(Object o)
      +
      +
      Overrides:
      +
      equals in class Object
      +
      +
      +
    • +
    • +
      +

      hashCode

      +
      public int hashCode()
      +
      +
      Overrides:
      +
      hashCode in class Object
      +
      +
      +
    • +
    • +
      +

      toString

      +
      public String toString()
      +
      +
      Overrides:
      +
      toString in class Object
      +
      +
      +
    • +
    +
    +
  • +
+
+ +
+
+
+ +
+
+
+ + diff --git a/cffu/1.0.0-Alpha22/io/foldright/cffu/tuple/Tuple3.html b/cffu/1.0.0-Alpha22/io/foldright/cffu/tuple/Tuple3.html new file mode 100644 index 0000000..69e9576 --- /dev/null +++ b/cffu/1.0.0-Alpha22/io/foldright/cffu/tuple/Tuple3.html @@ -0,0 +1,249 @@ + + + + +Tuple3 (CompletableFuture-Fu(cffu) 1.0.0-Alpha22 API) + + + + + + + + + + + + + + +
+ +
+
+ +
+ +

Class Tuple3<T1,T2,T3>

+
+
java.lang.Object +
io.foldright.cffu.tuple.Tuple3<T1,T2,T3>
+
+
+
+
public final class Tuple3<T1,T2,T3> +extends Object
+
Tuple3(aka Triple).
+
+
Author:
+
Jerry Lee (oldratlee at gmail dot com)
+
+
+
+ +
+
+
    + +
  • +
    +

    Field Details

    +
      +
    • +
      +

      _1

      +
      public final T1 _1
      +
      +
    • +
    • +
      +

      _2

      +
      public final T2 _2
      +
      +
    • +
    • +
      +

      _3

      +
      public final T3 _3
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    +
      +
    • +
      +

      of

      +
      public static <T1, +T2, +T3> Tuple3<T1,T2,T3> of(T1 _1, + T2 _2, + T3 _3)
      +
      +
    • +
    • +
      +

      equals

      +
      public boolean equals(Object o)
      +
      +
      Overrides:
      +
      equals in class Object
      +
      +
      +
    • +
    • +
      +

      hashCode

      +
      public int hashCode()
      +
      +
      Overrides:
      +
      hashCode in class Object
      +
      +
      +
    • +
    • +
      +

      toString

      +
      public String toString()
      +
      +
      Overrides:
      +
      toString in class Object
      +
      +
      +
    • +
    +
    +
  • +
+
+ +
+
+
+ +
+
+
+ + diff --git a/cffu/1.0.0-Alpha22/io/foldright/cffu/tuple/Tuple4.html b/cffu/1.0.0-Alpha22/io/foldright/cffu/tuple/Tuple4.html new file mode 100644 index 0000000..a97f294 --- /dev/null +++ b/cffu/1.0.0-Alpha22/io/foldright/cffu/tuple/Tuple4.html @@ -0,0 +1,262 @@ + + + + +Tuple4 (CompletableFuture-Fu(cffu) 1.0.0-Alpha22 API) + + + + + + + + + + + + + + +
+ +
+
+ +
+ +

Class Tuple4<T1,T2,T3,T4>

+
+
java.lang.Object +
io.foldright.cffu.tuple.Tuple4<T1,T2,T3,T4>
+
+
+
+
public final class Tuple4<T1,T2,T3,T4> +extends Object
+
Tuple4, contains 4 elements.
+
+
Author:
+
Jerry Lee (oldratlee at gmail dot com)
+
+
+
+
    + +
  • +
    +

    Field Summary

    +
    Fields
    +
    +
    Modifier and Type
    +
    Field
    +
    Description
    +
    final T1
    + +
     
    +
    final T2
    + +
     
    +
    final T3
    + +
     
    +
    final T4
    + +
     
    +
    +
    +
  • + +
  • +
    +

    Method Summary

    +
    +
    +
    +
    +
    Modifier and Type
    +
    Method
    +
    Description
    +
    boolean
    + +
     
    +
    int
    + +
     
    +
    static <T1, +T2, +T3, +T4>
    Tuple4<T1,T2,T3,T4>
    +
    of(T1 _1, + T2 _2, + T3 _3, + T4 _4)
    +
     
    + + +
     
    +
    +
    +
    +
    +

    Methods inherited from class java.lang.Object

    +clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    +
    +
  • +
+
+
+
    + +
  • +
    +

    Field Details

    +
      +
    • +
      +

      _1

      +
      public final T1 _1
      +
      +
    • +
    • +
      +

      _2

      +
      public final T2 _2
      +
      +
    • +
    • +
      +

      _3

      +
      public final T3 _3
      +
      +
    • +
    • +
      +

      _4

      +
      public final T4 _4
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    +
      +
    • +
      +

      of

      +
      public static <T1, +T2, +T3, +T4> Tuple4<T1,T2,T3,T4> of(T1 _1, + T2 _2, + T3 _3, + T4 _4)
      +
      +
    • +
    • +
      +

      equals

      +
      public boolean equals(Object o)
      +
      +
      Overrides:
      +
      equals in class Object
      +
      +
      +
    • +
    • +
      +

      hashCode

      +
      public int hashCode()
      +
      +
      Overrides:
      +
      hashCode in class Object
      +
      +
      +
    • +
    • +
      +

      toString

      +
      public String toString()
      +
      +
      Overrides:
      +
      toString in class Object
      +
      +
      +
    • +
    +
    +
  • +
+
+ +
+
+
+ +
+
+
+ + diff --git a/cffu/1.0.0-Alpha22/io/foldright/cffu/tuple/Tuple5.html b/cffu/1.0.0-Alpha22/io/foldright/cffu/tuple/Tuple5.html new file mode 100644 index 0000000..427bf52 --- /dev/null +++ b/cffu/1.0.0-Alpha22/io/foldright/cffu/tuple/Tuple5.html @@ -0,0 +1,276 @@ + + + + +Tuple5 (CompletableFuture-Fu(cffu) 1.0.0-Alpha22 API) + + + + + + + + + + + + + + +
+ +
+
+ +
+ +

Class Tuple5<T1,T2,T3,T4,T5>

+
+
java.lang.Object +
io.foldright.cffu.tuple.Tuple5<T1,T2,T3,T4,T5>
+
+
+
+
public final class Tuple5<T1,T2,T3,T4,T5> +extends Object
+
Tuple5, contains 5 elements.
+
+
Author:
+
Jerry Lee (oldratlee at gmail dot com)
+
+
+
+
    + +
  • +
    +

    Field Summary

    +
    Fields
    +
    +
    Modifier and Type
    +
    Field
    +
    Description
    +
    final T1
    + +
     
    +
    final T2
    + +
     
    +
    final T3
    + +
     
    +
    final T4
    + +
     
    +
    final T5
    + +
     
    +
    +
    +
  • + +
  • +
    +

    Method Summary

    +
    +
    +
    +
    +
    Modifier and Type
    +
    Method
    +
    Description
    +
    boolean
    + +
     
    +
    int
    + +
     
    +
    static <T1, +T2, +T3, +T4, +T5>
    Tuple5<T1,T2,T3,T4,T5>
    +
    of(T1 _1, + T2 _2, + T3 _3, + T4 _4, + T5 _5)
    +
     
    + + +
     
    +
    +
    +
    +
    +

    Methods inherited from class java.lang.Object

    +clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    +
    +
  • +
+
+
+
    + +
  • +
    +

    Field Details

    +
      +
    • +
      +

      _1

      +
      public final T1 _1
      +
      +
    • +
    • +
      +

      _2

      +
      public final T2 _2
      +
      +
    • +
    • +
      +

      _3

      +
      public final T3 _3
      +
      +
    • +
    • +
      +

      _4

      +
      public final T4 _4
      +
      +
    • +
    • +
      +

      _5

      +
      public final T5 _5
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    Method Details

    +
      +
    • +
      +

      of

      +
      public static <T1, +T2, +T3, +T4, +T5> +Tuple5<T1,T2,T3,T4,T5> of(T1 _1, + T2 _2, + T3 _3, + T4 _4, + T5 _5)
      +
      +
    • +
    • +
      +

      equals

      +
      public boolean equals(Object o)
      +
      +
      Overrides:
      +
      equals in class Object
      +
      +
      +
    • +
    • +
      +

      hashCode

      +
      public int hashCode()
      +
      +
      Overrides:
      +
      hashCode in class Object
      +
      +
      +
    • +
    • +
      +

      toString

      +
      public String toString()
      +
      +
      Overrides:
      +
      toString in class Object
      +
      +
      +
    • +
    +
    +
  • +
+
+ +
+
+
+ +
+
+
+ + diff --git a/cffu/1.0.0-Alpha22/io/foldright/cffu/tuple/class-use/Tuple2.html b/cffu/1.0.0-Alpha22/io/foldright/cffu/tuple/class-use/Tuple2.html new file mode 100644 index 0000000..12851b8 --- /dev/null +++ b/cffu/1.0.0-Alpha22/io/foldright/cffu/tuple/class-use/Tuple2.html @@ -0,0 +1,547 @@ + + + + +Uses of Class io.foldright.cffu.tuple.Tuple2 (CompletableFuture-Fu(cffu) 1.0.0-Alpha22 API) + + + + + + + + + + + + + + +
+ +
+
+
+

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

+
+
Packages that use Tuple2
+
+
Package
+
Description
+ +
+
A tiny sidekick library for CompletableFuture to improve user experience and reduce misuse.
+
+ +
+
the Tuple util classes for Cffu use.
+
+
+
+
    +
  • +
    +

    Uses of Tuple2 in io.foldright.cffu

    +
    Methods in io.foldright.cffu that return types with arguments of type Tuple2
    +
    +
    Modifier and Type
    +
    Method
    +
    Description
    +
    <T1, +T2> Cffu<Tuple2<T1,T2>>
    +
    CffuFactory.allSuccessTupleOf(CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2)
    +
    +
    Returns a new Cffu that is successful + with the results of the given stages arguments when all the given stages completed.
    +
    +
    static <T1, +T2> CompletableFuture<Tuple2<T1,T2>>
    +
    CompletableFutureUtils.allSuccessTupleOf(CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2)
    +
    +
    Returns a new CompletableFuture that is successful + with the results of the given stages arguments when all the given stages completed.
    +
    +
    <T1, +T2> Cffu<Tuple2<T1,T2>>
    +
    CffuFactory.allTupleFastFailOf(CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2)
    +
    +
    Returns a new Cffu that is successful when the given two stages success.
    +
    +
    static <T1, +T2> CompletableFuture<Tuple2<T1,T2>>
    +
    CompletableFutureUtils.allTupleFastFailOf(CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2)
    +
    +
    Returns a new CompletableFuture that is successful when the given stages success.
    +
    +
    <T1, +T2> Cffu<Tuple2<T1,T2>>
    +
    CffuFactory.allTupleOf(CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2)
    +
    +
    Returns a new Cffu that is completed when the given two stages complete.
    +
    +
    static <T1, +T2> CompletableFuture<Tuple2<T1,T2>>
    +
    CompletableFutureUtils.allTupleOf(CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2)
    +
    +
    Returns a new CompletableFuture that is completed when the given stages complete.
    +
    +
    <T1, +T2> Cffu<Tuple2<T1,T2>>
    +
    CffuFactory.mostSuccessTupleOf(long timeout, + TimeUnit unit, + CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2)
    +
    +
    Returns a new Cffu with the most results in the same order of the given two stages arguments + in the given time(timeout, aka as many results as possible in the given time).
    +
    +
    static <T1, +T2> CompletableFuture<Tuple2<T1,T2>>
    +
    CompletableFutureUtils.mostSuccessTupleOf(long timeout, + TimeUnit unit, + CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2)
    +
    +
    Returns a new CompletableFuture with the most results in the same order of + the given stages arguments in the given time(timeout, aka as many results as possible in the given time).
    +
    +
    static <T1, +T2> CompletableFuture<Tuple2<T1,T2>>
    +
    CompletableFutureUtils.mostSuccessTupleOf(Executor executorWhenTimeout, + long timeout, + TimeUnit unit, + CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2)
    +
    +
    Returns a new CompletableFuture with the most results in the same order of + the given stages arguments in the given time(timeout, aka as many results as possible in the given time).
    +
    +
    <U1, +U2> Cffu<Tuple2<U1,U2>>
    +
    Cffu.thenTupleMApplyAllSuccessAsync(Executor executor, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, + with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions).
    +
    +
    <U1, +U2> Cffu<Tuple2<U1,U2>>
    +
    Cffu.thenTupleMApplyAllSuccessAsync(Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the Cffu.defaultExecutor(), + with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions).
    +
    +
    static <T, +U1, +U2>
    CompletableFuture<Tuple2<U1,U2>>
    +
    CompletableFutureUtils.thenTupleMApplyAllSuccessAsync(CompletableFuture<? extends T> cfThis, + Executor executor, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2)
    +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + is executed in the given Executor with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    static <T, +U1, +U2>
    CompletableFuture<Tuple2<U1,U2>>
    +
    CompletableFutureUtils.thenTupleMApplyAllSuccessAsync(CompletableFuture<? extends T> cfThis, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2)
    +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + is executed in the CompletableFuture's default asynchronous execution facility + with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions).
    +
    +
    <U1, +U2> Cffu<Tuple2<U1,U2>>
    +
    Cffu.thenTupleMApplyAsync(Executor executor, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    <U1, +U2> Cffu<Tuple2<U1,U2>>
    +
    Cffu.thenTupleMApplyAsync(Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the Cffu.defaultExecutor(), + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    static <T, +U1, +U2>
    CompletableFuture<Tuple2<U1,U2>>
    +
    CompletableFutureUtils.thenTupleMApplyAsync(CompletableFuture<? extends T> cfThis, + Executor executor, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2)
    +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the given Executor, with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    static <T, +U1, +U2>
    CompletableFuture<Tuple2<U1,U2>>
    +
    CompletableFutureUtils.thenTupleMApplyAsync(CompletableFuture<? extends T> cfThis, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2)
    +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the CompletableFuture's default asynchronous execution facility, + with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    <U1, +U2> Cffu<Tuple2<U1,U2>>
    +
    Cffu.thenTupleMApplyFastFailAsync(Executor executor, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    <U1, +U2> Cffu<Tuple2<U1,U2>>
    +
    Cffu.thenTupleMApplyFastFailAsync(Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the Cffu.defaultExecutor(), + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    static <T, +U1, +U2>
    CompletableFuture<Tuple2<U1,U2>>
    +
    CompletableFutureUtils.thenTupleMApplyFastFailAsync(CompletableFuture<? extends T> cfThis, + Executor executor, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2)
    +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the given Executor, with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    static <T, +U1, +U2>
    CompletableFuture<Tuple2<U1,U2>>
    +
    CompletableFutureUtils.thenTupleMApplyFastFailAsync(CompletableFuture<? extends T> cfThis, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2)
    +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the CompletableFuture's default asynchronous execution facility, + with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    <U1, +U2> Cffu<Tuple2<U1,U2>>
    +
    Cffu.thenTupleMApplyMostSuccessAsync(long timeout, + TimeUnit unit, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the Cffu.defaultExecutor(), + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    <U1, +U2> Cffu<Tuple2<U1,U2>>
    +
    Cffu.thenTupleMApplyMostSuccessAsync(Executor executor, + long timeout, + TimeUnit unit, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    static <T, +U1, +U2>
    CompletableFuture<Tuple2<U1,U2>>
    +
    CompletableFutureUtils.thenTupleMApplyMostSuccessAsync(CompletableFuture<? extends T> cfThis, + long timeout, + TimeUnit unit, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2)
    +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the CompletableFuture's default asynchronous execution facility, + with the most values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Functions arguments.
    +
    +
    static <T, +U1, +U2>
    CompletableFuture<Tuple2<U1,U2>>
    +
    CompletableFutureUtils.thenTupleMApplyMostSuccessAsync(CompletableFuture<? extends T> cfThis, + Executor executor, + long timeout, + TimeUnit unit, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2)
    +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the given Executor, + with the most values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Functions arguments.
    +
    +
    <T1, +T2> Cffu<Tuple2<T1,T2>>
    +
    CffuFactory.tupleMSupplyAllSuccessAsync(Executor executor, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the given executor with the successfully values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2> Cffu<Tuple2<T1,T2>>
    +
    CffuFactory.tupleMSupplyAllSuccessAsync(Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the Cffu's default asynchronous execution facility + with the successful values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    static <T1, +T2> CompletableFuture<Tuple2<T1,T2>>
    +
    CompletableFutureUtils.tupleMSupplyAllSuccessAsync(Executor executor, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2)
    +
    +
    Returns a new CompletableFuture that is asynchronously completed + by tasks running in the given executor with the successfully values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    static <T1, +T2> CompletableFuture<Tuple2<T1,T2>>
    +
    CompletableFutureUtils.tupleMSupplyAllSuccessAsync(Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2)
    +
    +
    Returns a new CompletableFuture that is asynchronously completed + by tasks running in the CompletableFuture's default asynchronous execution facility + with the successful values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2> Cffu<Tuple2<T1,T2>>
    +
    CffuFactory.tupleMSupplyAsync(Executor executor, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the given Executor with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2> Cffu<Tuple2<T1,T2>>
    +
    CffuFactory.tupleMSupplyAsync(Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the CffuFactory.defaultExecutor() with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    static <T1, +T2> CompletableFuture<Tuple2<T1,T2>>
    +
    CompletableFutureUtils.tupleMSupplyAsync(Executor executor, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2)
    +
    +
    Returns a new CompletableFuture that is asynchronously completed + by tasks running in the given Executor with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    static <T1, +T2> CompletableFuture<Tuple2<T1,T2>>
    +
    CompletableFutureUtils.tupleMSupplyAsync(Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2)
    +
    +
    Returns a new CompletableFuture that is asynchronously completed + by tasks running in the CompletableFuture's default asynchronous execution facility + with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2> Cffu<Tuple2<T1,T2>>
    +
    CffuFactory.tupleMSupplyFastFailAsync(Executor executor, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the CffuFactory.defaultExecutor() with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2> Cffu<Tuple2<T1,T2>>
    +
    CffuFactory.tupleMSupplyFastFailAsync(Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the CffuFactory.defaultExecutor() with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    static <T1, +T2> CompletableFuture<Tuple2<T1,T2>>
    +
    CompletableFutureUtils.tupleMSupplyFastFailAsync(Executor executor, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2)
    +
    +
    Returns a new CompletableFuture that is asynchronously completed + by tasks running in the given Executor with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    static <T1, +T2> CompletableFuture<Tuple2<T1,T2>>
    +
    CompletableFutureUtils.tupleMSupplyFastFailAsync(Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2)
    +
    +
    Returns a new CompletableFuture that is asynchronously completed + by tasks running in the CompletableFuture's default asynchronous execution facility + with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2> Cffu<Tuple2<T1,T2>>
    +
    CffuFactory.tupleMSupplyMostSuccessAsync(long timeout, + TimeUnit unit, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the Cffu's default asynchronous execution facility + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2> Cffu<Tuple2<T1,T2>>
    +
    CffuFactory.tupleMSupplyMostSuccessAsync(Executor executor, + long timeout, + TimeUnit unit, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2)
    +
    +
    Returns a new Cffu that is asynchronously completed by tasks running in the given Executor + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments.
    +
    +
    static <T1, +T2> CompletableFuture<Tuple2<T1,T2>>
    +
    CompletableFutureUtils.tupleMSupplyMostSuccessAsync(long timeout, + TimeUnit unit, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2)
    +
    +
    Returns a new CompletableFuture that is asynchronously completed + by tasks running in the CompletableFuture's default asynchronous execution facility + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments.
    +
    +
    static <T1, +T2> CompletableFuture<Tuple2<T1,T2>>
    +
    CompletableFutureUtils.tupleMSupplyMostSuccessAsync(Executor executor, + long timeout, + TimeUnit unit, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2)
    +
    +
    Returns a new CompletableFuture that is asynchronously completed by tasks running in the given Executor + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments.
    +
    +
    +
    +
  • +
  • +
    +

    Uses of Tuple2 in io.foldright.cffu.tuple

    +
    Methods in io.foldright.cffu.tuple that return Tuple2
    +
    +
    Modifier and Type
    +
    Method
    +
    Description
    +
    static <T1, +T2> Tuple2<T1,T2>
    +
    Tuple2.of(T1 _1, + T2 _2)
    +
     
    +
    +
    +
  • +
+
+
+
+
+ +
+
+
+ + diff --git a/cffu/1.0.0-Alpha22/io/foldright/cffu/tuple/class-use/Tuple3.html b/cffu/1.0.0-Alpha22/io/foldright/cffu/tuple/class-use/Tuple3.html new file mode 100644 index 0000000..8f5c0d2 --- /dev/null +++ b/cffu/1.0.0-Alpha22/io/foldright/cffu/tuple/class-use/Tuple3.html @@ -0,0 +1,632 @@ + + + + +Uses of Class io.foldright.cffu.tuple.Tuple3 (CompletableFuture-Fu(cffu) 1.0.0-Alpha22 API) + + + + + + + + + + + + + + +
+ +
+
+
+

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

+
+
Packages that use Tuple3
+
+
Package
+
Description
+ +
+
A tiny sidekick library for CompletableFuture to improve user experience and reduce misuse.
+
+ +
+
the Tuple util classes for Cffu use.
+
+
+
+
    +
  • +
    +

    Uses of Tuple3 in io.foldright.cffu

    +
    Methods in io.foldright.cffu that return types with arguments of type Tuple3
    +
    +
    Modifier and Type
    +
    Method
    +
    Description
    +
    <T1, +T2, +T3>
    Cffu<Tuple3<T1,T2,T3>>
    +
    CffuFactory.allSuccessTupleOf(CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3)
    +
    +
    Returns a new Cffu that is successful + with the results of the given stages arguments when all the given stages completed.
    +
    +
    static <T1, +T2, +T3>
    CompletableFuture<Tuple3<T1,T2,T3>>
    +
    CompletableFutureUtils.allSuccessTupleOf(CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3)
    +
    +
    Returns a new CompletableFuture that is successful + with the results of the given stages arguments when all the given stages completed.
    +
    +
    <T1, +T2, +T3>
    Cffu<Tuple3<T1,T2,T3>>
    +
    CffuFactory.allTupleFastFailOf(CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3)
    +
    +
    Returns a new Cffu that is successful when the given three stages success.
    +
    +
    static <T1, +T2, +T3>
    CompletableFuture<Tuple3<T1,T2,T3>>
    +
    CompletableFutureUtils.allTupleFastFailOf(CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3)
    +
    +
    Returns a new CompletableFuture that is successful when the given stages success.
    +
    +
    <T1, +T2, +T3>
    Cffu<Tuple3<T1,T2,T3>>
    +
    CffuFactory.allTupleOf(CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3)
    +
    +
    Returns a new Cffu that is completed when the given three stages complete.
    +
    +
    static <T1, +T2, +T3>
    CompletableFuture<Tuple3<T1,T2,T3>>
    +
    CompletableFutureUtils.allTupleOf(CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3)
    +
    +
    Returns a new CompletableFuture that is completed when the given stages complete.
    +
    +
    <T1, +T2, +T3>
    Cffu<Tuple3<T1,T2,T3>>
    +
    CffuFactory.mostSuccessTupleOf(long timeout, + TimeUnit unit, + CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3)
    +
    +
    Returns a new Cffu with the most results in the same order of the given three stages arguments + in the given time(timeout, aka as many results as possible in the given time).
    +
    +
    static <T1, +T2, +T3>
    CompletableFuture<Tuple3<T1,T2,T3>>
    +
    CompletableFutureUtils.mostSuccessTupleOf(long timeout, + TimeUnit unit, + CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3)
    +
    +
    Returns a new CompletableFuture with the most results in the same order of + the given stages arguments in the given time(timeout, aka as many results as possible in the given time).
    +
    +
    static <T1, +T2, +T3>
    CompletableFuture<Tuple3<T1,T2,T3>>
    +
    CompletableFutureUtils.mostSuccessTupleOf(Executor executorWhenTimeout, + long timeout, + TimeUnit unit, + CompletionStage<? extends T1> cf1, + CompletionStage<? extends T2> cf2, + CompletionStage<? extends T3> cf3)
    +
    +
    Returns a new CompletableFuture with the most results in the same order of + the given stages arguments in the given time(timeout, aka as many results as possible in the given time).
    +
    +
    <U1, +U2, +U3>
    Cffu<Tuple3<U1,U2,U3>>
    +
    Cffu.thenTupleMApplyAllSuccessAsync(Executor executor, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, + with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions).
    +
    +
    <U1, +U2, +U3>
    Cffu<Tuple3<U1,U2,U3>>
    +
    Cffu.thenTupleMApplyAllSuccessAsync(Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the Cffu.defaultExecutor(), + with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions).
    +
    +
    static <T, +U1, +U2, +U3>
    CompletableFuture<Tuple3<U1,U2,U3>>
    +
    CompletableFutureUtils.thenTupleMApplyAllSuccessAsync(CompletableFuture<? extends T> cfThis, + Executor executor, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3)
    +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + is executed in the given Executor with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    static <T, +U1, +U2, +U3>
    CompletableFuture<Tuple3<U1,U2,U3>>
    +
    CompletableFutureUtils.thenTupleMApplyAllSuccessAsync(CompletableFuture<? extends T> cfThis, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3)
    +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + is executed in the CompletableFuture's default asynchronous execution facility + with the successful values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    <U1, +U2, +U3>
    Cffu<Tuple3<U1,U2,U3>>
    +
    Cffu.thenTupleMApplyAsync(Executor executor, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    <U1, +U2, +U3>
    Cffu<Tuple3<U1,U2,U3>>
    +
    Cffu.thenTupleMApplyAsync(Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the Cffu.defaultExecutor(), + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    static <T, +U1, +U2, +U3>
    CompletableFuture<Tuple3<U1,U2,U3>>
    +
    CompletableFutureUtils.thenTupleMApplyAsync(CompletableFuture<? extends T> cfThis, + Executor executor, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3)
    +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the given Executor, with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    static <T, +U1, +U2, +U3>
    CompletableFuture<Tuple3<U1,U2,U3>>
    +
    CompletableFutureUtils.thenTupleMApplyAsync(CompletableFuture<? extends T> cfThis, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3)
    +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the CompletableFuture's default asynchronous execution facility, + with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    <U1, +U2, +U3>
    Cffu<Tuple3<U1,U2,U3>>
    +
    Cffu.thenTupleMApplyFastFailAsync(Executor executor, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    <U1, +U2, +U3>
    Cffu<Tuple3<U1,U2,U3>>
    +
    Cffu.thenTupleMApplyFastFailAsync(Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the Cffu.defaultExecutor(), + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    static <T, +U1, +U2, +U3>
    CompletableFuture<Tuple3<U1,U2,U3>>
    +
    CompletableFutureUtils.thenTupleMApplyFastFailAsync(CompletableFuture<? extends T> cfThis, + Executor executor, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3)
    +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the given Executor, with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    static <T, +U1, +U2, +U3>
    CompletableFuture<Tuple3<U1,U2,U3>>
    +
    CompletableFutureUtils.thenTupleMApplyFastFailAsync(CompletableFuture<? extends T> cfThis, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3)
    +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the CompletableFuture's default asynchronous execution facility, + with the values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    <U1, +U2, +U3>
    Cffu<Tuple3<U1,U2,U3>>
    +
    Cffu.thenTupleMApplyMostSuccessAsync(long timeout, + TimeUnit unit, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the Cffu.defaultExecutor(), + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    <U1, +U2, +U3>
    Cffu<Tuple3<U1,U2,U3>>
    +
    Cffu.thenTupleMApplyMostSuccessAsync(Executor executor, + long timeout, + TimeUnit unit, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3)
    +
    +
    Returns a new Cffu that, when this Cffu completes normally, is executed using the supplied Executor, + with the values obtained by calling the given Functions + (with this Cffu's result as the argument to the given functions) + in the same order of the given Functions arguments.
    +
    +
    static <T, +U1, +U2, +U3>
    CompletableFuture<Tuple3<U1,U2,U3>>
    +
    CompletableFutureUtils.thenTupleMApplyMostSuccessAsync(CompletableFuture<? extends T> cfThis, + long timeout, + TimeUnit unit, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3)
    +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the CompletableFuture's default asynchronous execution facility, + with the most values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Functions arguments.
    +
    +
    static <T, +U1, +U2, +U3>
    CompletableFuture<Tuple3<U1,U2,U3>>
    +
    CompletableFutureUtils.thenTupleMApplyMostSuccessAsync(CompletableFuture<? extends T> cfThis, + Executor executor, + long timeout, + TimeUnit unit, + Function<? super T,? extends U1> fn1, + Function<? super T,? extends U2> fn2, + Function<? super T,? extends U3> fn3)
    +
    +
    Returns a new CompletableFuture that, when the given stage completes normally, + is executed using the given Executor, + with the most values obtained by calling the given Functions + (with the given stage's result as the argument to the given functions) + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Functions arguments.
    +
    +
    <T1, +T2, +T3>
    Cffu<Tuple3<T1,T2,T3>>
    +
    CffuFactory.tupleMSupplyAllSuccessAsync(Executor executor, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the given executor with the successfully values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2, +T3>
    Cffu<Tuple3<T1,T2,T3>>
    +
    CffuFactory.tupleMSupplyAllSuccessAsync(Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the Cffu's default asynchronous execution facility + with the successful values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    static <T1, +T2, +T3>
    CompletableFuture<Tuple3<T1,T2,T3>>
    +
    CompletableFutureUtils.tupleMSupplyAllSuccessAsync(Executor executor, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3)
    +
    +
    Returns a new CompletableFuture that is asynchronously completed + by tasks running in the given executor with the successfully values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    static <T1, +T2, +T3>
    CompletableFuture<Tuple3<T1,T2,T3>>
    +
    CompletableFutureUtils.tupleMSupplyAllSuccessAsync(Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3)
    +
    +
    Returns a new CompletableFuture that is asynchronously completed + by tasks running in the CompletableFuture's default asynchronous execution facility + with the successful values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2, +T3>
    Cffu<Tuple3<T1,T2,T3>>
    +
    CffuFactory.tupleMSupplyAsync(Executor executor, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the given Executor with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2, +T3>
    Cffu<Tuple3<T1,T2,T3>>
    +
    CffuFactory.tupleMSupplyAsync(Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the CffuFactory.defaultExecutor() with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    static <T1, +T2, +T3>
    CompletableFuture<Tuple3<T1,T2,T3>>
    +
    CompletableFutureUtils.tupleMSupplyAsync(Executor executor, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3)
    +
    +
    Returns a new CompletableFuture that is asynchronously completed + by tasks running in the given Executor with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    static <T1, +T2, +T3>
    CompletableFuture<Tuple3<T1,T2,T3>>
    +
    CompletableFutureUtils.tupleMSupplyAsync(Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3)
    +
    +
    Returns a new CompletableFuture that is asynchronously completed + by tasks running in the CompletableFuture's default asynchronous execution facility + with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2, +T3>
    Cffu<Tuple3<T1,T2,T3>>
    +
    CffuFactory.tupleMSupplyFastFailAsync(Executor executor, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the given Executor with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2, +T3>
    Cffu<Tuple3<T1,T2,T3>>
    +
    CffuFactory.tupleMSupplyFastFailAsync(Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the given Executor with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    static <T1, +T2, +T3>
    CompletableFuture<Tuple3<T1,T2,T3>>
    +
    CompletableFutureUtils.tupleMSupplyFastFailAsync(Executor executor, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3)
    +
    +
    Returns a new CompletableFuture that is asynchronously completed + by tasks running in the given Executor with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    static <T1, +T2, +T3>
    CompletableFuture<Tuple3<T1,T2,T3>>
    +
    CompletableFutureUtils.tupleMSupplyFastFailAsync(Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3)
    +
    +
    Returns a new CompletableFuture that is asynchronously completed + by tasks running in the CompletableFuture's default asynchronous execution facility + with the values obtained by calling the given Suppliers + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2, +T3>
    Cffu<Tuple3<T1,T2,T3>>
    +
    CffuFactory.tupleMSupplyMostSuccessAsync(long timeout, + TimeUnit unit, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3)
    +
    +
    Returns a new Cffu that is asynchronously completed + by tasks running in the Cffu's default asynchronous execution facility + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments.
    +
    +
    <T1, +T2, +T3>
    Cffu<Tuple3<T1,T2,T3>>
    +
    CffuFactory.tupleMSupplyMostSuccessAsync(Executor executor, + long timeout, + TimeUnit unit, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3)
    +
    +
    Returns a new Cffu that is asynchronously completed by tasks running in the given Executor + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments.
    +
    +
    static <T1, +T2, +T3>
    CompletableFuture<Tuple3<T1,T2,T3>>
    +
    CompletableFutureUtils.tupleMSupplyMostSuccessAsync(long timeout, + TimeUnit unit, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3)
    +
    +
    Returns a new CompletableFuture that is asynchronously completed + by tasks running in the CompletableFuture's default asynchronous execution facility + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments.
    +
    +
    static <T1, +T2, +T3>
    CompletableFuture<Tuple3<T1,T2,T3>>
    +
    CompletableFutureUtils.tupleMSupplyMostSuccessAsync(Executor executor, + long timeout, + TimeUnit unit, + Supplier<? extends T1> supplier1, + Supplier<? extends T2> supplier2, + Supplier<? extends T3> supplier3)
    +
    +
    Returns a new CompletableFuture that is asynchronously completed by tasks running in the given Executor + with the most values obtained by calling the given Suppliers + in the given time(timeout, aka as many results as possible in the given time) + in the same order of the given Suppliers arguments.
    +
    +
    +
    +
  • +
  • +
    +

    Uses of Tuple3 in io.foldright.cffu.tuple

    +
    Methods in io.foldright.cffu.tuple that return Tuple3
    +
    +
    Modifier and Type
    +
    Method
    +
    Description
    +
    static <T1, +T2, +T3>
    Tuple3<T1,T2,T3>
    +
    Tuple3.of(T1 _1, + T2 _2, + T3 _3)
    +
     
    +
    +
    +
  • +
+
+
+
+
+ +
+
+
+ + diff --git a/cffu/1.0.0-Alpha22/io/foldright/cffu/tuple/class-use/Tuple4.html b/cffu/1.0.0-Alpha22/io/foldright/cffu/tuple/class-use/Tuple4.html new file mode 100644 index 0000000..1dd3ee9 --- /dev/null +++ b/cffu/1.0.0-Alpha22/io/foldright/cffu/tuple/class-use/Tuple4.html @@ -0,0 +1,716 @@ + + + + +Uses of Class io.foldright.cffu.tuple.Tuple4 (CompletableFuture-Fu(cffu) 1.0.0-Alpha22 API) + + + + + + + + + + + + + + +
+ +
+
+
+

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

+
+
Packages that use Tuple4
+
+
Package
+
Description
+ +
+
A tiny sidekick library for CompletableFuture to improve user experience and reduce misuse.
+
+ +
+
the Tuple util classes for Cffu use.
+
+
+
+
    +
  • +
    +

    Uses of Tuple4 in io.foldright.cffu

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

    Uses of Tuple4 in io.foldright.cffu.tuple

    +
    Methods in io.foldright.cffu.tuple that return Tuple4
    +
    +
    Modifier and Type
    +
    Method
    +
    Description
    +
    static <T1, +T2, +T3, +T4>
    Tuple4<T1,T2,T3,T4>
    +
    Tuple4.of(T1 _1, + T2 _2, + T3 _3, + T4 _4)
    +
     
    +
    +
    +
  • +
+
+
+
+
+ +
+
+
+ + diff --git a/cffu/1.0.0-Alpha22/io/foldright/cffu/tuple/class-use/Tuple5.html b/cffu/1.0.0-Alpha22/io/foldright/cffu/tuple/class-use/Tuple5.html new file mode 100644 index 0000000..51859ff --- /dev/null +++ b/cffu/1.0.0-Alpha22/io/foldright/cffu/tuple/class-use/Tuple5.html @@ -0,0 +1,800 @@ + + + + +Uses of Class io.foldright.cffu.tuple.Tuple5 (CompletableFuture-Fu(cffu) 1.0.0-Alpha22 API) + + + + + + + + + + + + + + +
+ +
+
+
+

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

+
+
Packages that use Tuple5
+
+
Package
+
Description
+ +
+
A tiny sidekick library for CompletableFuture to improve user experience and reduce misuse.
+
+ +
+
the Tuple util classes for Cffu use.
+
+
+
+
    +
  • +
    +

    Uses of Tuple5 in io.foldright.cffu

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

    Uses of Tuple5 in io.foldright.cffu.tuple

    +
    Methods in io.foldright.cffu.tuple that return Tuple5
    +
    +
    Modifier and Type
    +
    Method
    +
    Description
    +
    static <T1, +T2, +T3, +T4, +T5>
    Tuple5<T1,T2,T3,T4,T5>
    +
    Tuple5.of(T1 _1, + T2 _2, + T3 _3, + T4 _4, + T5 _5)
    +
     
    +
    +
    +
  • +
+
+
+
+
+ +
+
+
+ + diff --git a/cffu/1.0.0-Alpha22/io/foldright/cffu/tuple/package-summary.html b/cffu/1.0.0-Alpha22/io/foldright/cffu/tuple/package-summary.html new file mode 100644 index 0000000..8970249 --- /dev/null +++ b/cffu/1.0.0-Alpha22/io/foldright/cffu/tuple/package-summary.html @@ -0,0 +1,148 @@ + + + + +io.foldright.cffu.tuple (CompletableFuture-Fu(cffu) 1.0.0-Alpha22 API) + + + + + + + + + + + + + + +
+ +
+
+
+

Package io.foldright.cffu.tuple

+
+
+
package io.foldright.cffu.tuple
+
+
the Tuple util classes for Cffu use.
+
+
Author:
+
Jerry Lee (oldratlee at gmail dot com)
+
See Also:
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+ + diff --git a/cffu/1.0.0-Alpha22/io/foldright/cffu/tuple/package-tree.html b/cffu/1.0.0-Alpha22/io/foldright/cffu/tuple/package-tree.html new file mode 100644 index 0000000..18c8a03 --- /dev/null +++ b/cffu/1.0.0-Alpha22/io/foldright/cffu/tuple/package-tree.html @@ -0,0 +1,79 @@ + + + + +io.foldright.cffu.tuple Class Hierarchy (CompletableFuture-Fu(cffu) 1.0.0-Alpha22 API) + + + + + + + + + + + + + + +
+ +
+
+
+

Hierarchy For Package io.foldright.cffu.tuple

+
+Package Hierarchies: + +
+

Class Hierarchy

+
    +
  • java.lang.Object +
      +
    • io.foldright.cffu.tuple.Tuple2<T1,T2>
    • +
    • io.foldright.cffu.tuple.Tuple3<T1,T2,T3>
    • +
    • io.foldright.cffu.tuple.Tuple4<T1,T2,T3,T4>
    • +
    • io.foldright.cffu.tuple.Tuple5<T1,T2,T3,T4,T5>
    • +
    +
  • +
+
+
+
+
+ +
+
+
+ + diff --git a/cffu/1.0.0-Alpha22/io/foldright/cffu/tuple/package-use.html b/cffu/1.0.0-Alpha22/io/foldright/cffu/tuple/package-use.html new file mode 100644 index 0000000..5d99aef --- /dev/null +++ b/cffu/1.0.0-Alpha22/io/foldright/cffu/tuple/package-use.html @@ -0,0 +1,129 @@ + + + + +Uses of Package io.foldright.cffu.tuple (CompletableFuture-Fu(cffu) 1.0.0-Alpha22 API) + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Package
io.foldright.cffu.tuple

+
+
Packages that use io.foldright.cffu.tuple
+
+
Package
+
Description
+ +
+
A tiny sidekick library for CompletableFuture to improve user experience and reduce misuse.
+
+ +
+
the Tuple util classes for Cffu use.
+
+
+
+ +
+
+
+
+ +
+
+
+ + diff --git a/cffu/1.0.0-Alpha22/legal/ADDITIONAL_LICENSE_INFO b/cffu/1.0.0-Alpha22/legal/ADDITIONAL_LICENSE_INFO new file mode 100644 index 0000000..ff700cd --- /dev/null +++ b/cffu/1.0.0-Alpha22/legal/ADDITIONAL_LICENSE_INFO @@ -0,0 +1,37 @@ + ADDITIONAL INFORMATION ABOUT LICENSING + +Certain files distributed by Oracle America, Inc. and/or its affiliates are +subject to the following clarification and special exception to the GPLv2, +based on the GNU Project exception for its Classpath libraries, known as the +GNU Classpath Exception. + +Note that Oracle includes multiple, independent programs in this software +package. Some of those programs are provided under licenses deemed +incompatible with the GPLv2 by the Free Software Foundation and others. +For example, the package includes programs licensed under the Apache +License, Version 2.0 and may include FreeType. Such programs are licensed +to you under their original licenses. + +Oracle facilitates your further distribution of this package by adding the +Classpath Exception to the necessary parts of its GPLv2 code, which permits +you to use that code in combination with other independent modules not +licensed under the GPLv2. However, note that this would not permit you to +commingle code under an incompatible license with Oracle's GPLv2 licensed +code by, for example, cutting and pasting such code into a file also +containing Oracle's GPLv2 licensed code and then distributing the result. + +Additionally, if you were to remove the Classpath Exception from any of the +files to which it applies and distribute the result, you would likely be +required to license some or all of the other code in that distribution under +the GPLv2 as well, and since the GPLv2 is incompatible with the license terms +of some items included in the distribution by Oracle, removing the Classpath +Exception could therefore effectively compromise your ability to further +distribute the package. + +Failing to distribute notices associated with some files may also create +unexpected legal consequences. + +Proceed with caution and we recommend that you obtain the advice of a lawyer +skilled in open source matters before removing the Classpath Exception or +making modifications to this package which may subsequently be redistributed +and/or involve the use of third party software. diff --git a/cffu/1.0.0-Alpha22/legal/ASSEMBLY_EXCEPTION b/cffu/1.0.0-Alpha22/legal/ASSEMBLY_EXCEPTION new file mode 100644 index 0000000..4296666 --- /dev/null +++ b/cffu/1.0.0-Alpha22/legal/ASSEMBLY_EXCEPTION @@ -0,0 +1,27 @@ + +OPENJDK ASSEMBLY EXCEPTION + +The OpenJDK source code made available by Oracle America, Inc. (Oracle) at +openjdk.org ("OpenJDK Code") is distributed under the terms of the GNU +General Public License version 2 +only ("GPL2"), with the following clarification and special exception. + + Linking this OpenJDK Code statically or dynamically with other code + is making a combined work based on this library. Thus, the terms + and conditions of GPL2 cover the whole combination. + + As a special exception, Oracle gives you permission to link this + OpenJDK Code with certain code licensed by Oracle as indicated at + https://openjdk.org/legal/exception-modules-2007-05-08.html + ("Designated Exception Modules") to produce an executable, + regardless of the license terms of the Designated Exception Modules, + and to copy and distribute the resulting executable under GPL2, + provided that the Designated Exception Modules continue to be + governed by the licenses under which they were offered by Oracle. + +As such, it allows licensees and sublicensees of Oracle's GPL2 OpenJDK Code +to build an executable that includes those portions of necessary code that +Oracle could not provide under GPL2 (or that Oracle has provided under GPL2 +with the Classpath exception). If you modify or add to the OpenJDK code, +that new GPL2 code may still be combined with Designated Exception Modules +if the new code is made subject to this exception by its copyright holder. diff --git a/cffu/1.0.0-Alpha22/legal/LICENSE b/cffu/1.0.0-Alpha22/legal/LICENSE new file mode 100644 index 0000000..8b400c7 --- /dev/null +++ b/cffu/1.0.0-Alpha22/legal/LICENSE @@ -0,0 +1,347 @@ +The GNU General Public License (GPL) + +Version 2, June 1991 + +Copyright (C) 1989, 1991 Free Software Foundation, Inc. +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + +Everyone is permitted to copy and distribute verbatim copies of this license +document, but changing it is not allowed. + +Preamble + +The licenses for most software are designed to take away your freedom to share +and change it. By contrast, the GNU General Public License is intended to +guarantee your freedom to share and change free software--to make sure the +software is free for all its users. This General Public License applies to +most of the Free Software Foundation's software and to any other program whose +authors commit to using it. (Some other Free Software Foundation software is +covered by the GNU Library General Public License instead.) You can apply it to +your programs, too. + +When we speak of free software, we are referring to freedom, not price. Our +General Public Licenses are designed to make sure that you have the freedom to +distribute copies of free software (and charge for this service if you wish), +that you receive source code or can get it if you want it, that you can change +the software or use pieces of it in new free programs; and that you know you +can do these things. + +To protect your rights, we need to make restrictions that forbid anyone to deny +you these rights or to ask you to surrender the rights. These restrictions +translate to certain responsibilities for you if you distribute copies of the +software, or if you modify it. + +For example, if you distribute copies of such a program, whether gratis or for +a fee, you must give the recipients all the rights that you have. You must +make sure that they, too, receive or can get the source code. And you must +show them these terms so they know their rights. + +We protect your rights with two steps: (1) copyright the software, and (2) +offer you this license which gives you legal permission to copy, distribute +and/or modify the software. + +Also, for each author's protection and ours, we want to make certain that +everyone understands that there is no warranty for this free software. If the +software is modified by someone else and passed on, we want its recipients to +know that what they have is not the original, so that any problems introduced +by others will not reflect on the original authors' reputations. + +Finally, any free program is threatened constantly by software patents. We +wish to avoid the danger that redistributors of a free program will +individually obtain patent licenses, in effect making the program proprietary. +To prevent this, we have made it clear that any patent must be licensed for +everyone's free use or not licensed at all. + +The precise terms and conditions for copying, distribution and modification +follow. + +TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + +0. This License applies to any program or other work which contains a notice +placed by the copyright holder saying it may be distributed under the terms of +this General Public License. The "Program", below, refers to any such program +or work, and a "work based on the Program" means either the Program or any +derivative work under copyright law: that is to say, a work containing the +Program or a portion of it, either verbatim or with modifications and/or +translated into another language. (Hereinafter, translation is included +without limitation in the term "modification".) Each licensee is addressed as +"you". + +Activities other than copying, distribution and modification are not covered by +this License; they are outside its scope. The act of running the Program is +not restricted, and the output from the Program is covered only if its contents +constitute a work based on the Program (independent of having been made by +running the Program). Whether that is true depends on what the Program does. + +1. You may copy and distribute verbatim copies of the Program's source code as +you receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice and +disclaimer of warranty; keep intact all the notices that refer to this License +and to the absence of any warranty; and give any other recipients of the +Program a copy of this License along with the Program. + +You may charge a fee for the physical act of transferring a copy, and you may +at your option offer warranty protection in exchange for a fee. + +2. You may modify your copy or copies of the Program or any portion of it, thus +forming a work based on the Program, and copy and distribute such modifications +or work under the terms of Section 1 above, provided that you also meet all of +these conditions: + + a) You must cause the modified files to carry prominent notices stating + that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in whole or + in part contains or is derived from the Program or any part thereof, to be + licensed as a whole at no charge to all third parties under the terms of + this License. + + c) If the modified program normally reads commands interactively when run, + you must cause it, when started running for such interactive use in the + most ordinary way, to print or display an announcement including an + appropriate copyright notice and a notice that there is no warranty (or + else, saying that you provide a warranty) and that users may redistribute + the program under these conditions, and telling the user how to view a copy + of this License. (Exception: if the Program itself is interactive but does + not normally print such an announcement, your work based on the Program is + not required to print an announcement.) + +These requirements apply to the modified work as a whole. If identifiable +sections of that work are not derived from the Program, and can be reasonably +considered independent and separate works in themselves, then this License, and +its terms, do not apply to those sections when you distribute them as separate +works. But when you distribute the same sections as part of a whole which is a +work based on the Program, the distribution of the whole must be on the terms +of this License, whose permissions for other licensees extend to the entire +whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest your +rights to work written entirely by you; rather, the intent is to exercise the +right to control the distribution of derivative or collective works based on +the Program. + +In addition, mere aggregation of another work not based on the Program with the +Program (or with a work based on the Program) on a volume of a storage or +distribution medium does not bring the other work under the scope of this +License. + +3. You may copy and distribute the Program (or a work based on it, under +Section 2) in object code or executable form under the terms of Sections 1 and +2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable source + code, which must be distributed under the terms of Sections 1 and 2 above + on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three years, to + give any third party, for a charge no more than your cost of physically + performing source distribution, a complete machine-readable copy of the + corresponding source code, to be distributed under the terms of Sections 1 + and 2 above on a medium customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer to + distribute corresponding source code. (This alternative is allowed only + for noncommercial distribution and only if you received the program in + object code or executable form with such an offer, in accord with + Subsection b above.) + +The source code for a work means the preferred form of the work for making +modifications to it. For an executable work, complete source code means all +the source code for all modules it contains, plus any associated interface +definition files, plus the scripts used to control compilation and installation +of the executable. However, as a special exception, the source code +distributed need not include anything that is normally distributed (in either +source or binary form) with the major components (compiler, kernel, and so on) +of the operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering access to copy +from a designated place, then offering equivalent access to copy the source +code from the same place counts as distribution of the source code, even though +third parties are not compelled to copy the source along with the object code. + +4. You may not copy, modify, sublicense, or distribute the Program except as +expressly provided under this License. Any attempt otherwise to copy, modify, +sublicense or distribute the Program is void, and will automatically terminate +your rights under this License. However, parties who have received copies, or +rights, from you under this License will not have their licenses terminated so +long as such parties remain in full compliance. + +5. You are not required to accept this License, since you have not signed it. +However, nothing else grants you permission to modify or distribute the Program +or its derivative works. These actions are prohibited by law if you do not +accept this License. Therefore, by modifying or distributing the Program (or +any work based on the Program), you indicate your acceptance of this License to +do so, and all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + +6. Each time you redistribute the Program (or any work based on the Program), +the recipient automatically receives a license from the original licensor to +copy, distribute or modify the Program subject to these terms and conditions. +You may not impose any further restrictions on the recipients' exercise of the +rights granted herein. You are not responsible for enforcing compliance by +third parties to this License. + +7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), conditions +are imposed on you (whether by court order, agreement or otherwise) that +contradict the conditions of this License, they do not excuse you from the +conditions of this License. If you cannot distribute so as to satisfy +simultaneously your obligations under this License and any other pertinent +obligations, then as a consequence you may not distribute the Program at all. +For example, if a patent license would not permit royalty-free redistribution +of the Program by all those who receive copies directly or indirectly through +you, then the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under any +particular circumstance, the balance of the section is intended to apply and +the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any patents or +other property right claims or to contest validity of any such claims; this +section has the sole purpose of protecting the integrity of the free software +distribution system, which is implemented by public license practices. Many +people have made generous contributions to the wide range of software +distributed through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing to +distribute software through any other system and a licensee cannot impose that +choice. + +This section is intended to make thoroughly clear what is believed to be a +consequence of the rest of this License. + +8. If the distribution and/or use of the Program is restricted in certain +countries either by patents or by copyrighted interfaces, the original +copyright holder who places the Program under this License may add an explicit +geographical distribution limitation excluding those countries, so that +distribution is permitted only in or among countries not thus excluded. In +such case, this License incorporates the limitation as if written in the body +of this License. + +9. The Free Software Foundation may publish revised and/or new versions of the +General Public License from time to time. Such new versions will be similar in +spirit to the present version, but may differ in detail to address new problems +or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any later +version", you have the option of following the terms and conditions either of +that version or of any later version published by the Free Software Foundation. +If the Program does not specify a version number of this License, you may +choose any version ever published by the Free Software Foundation. + +10. If you wish to incorporate parts of the Program into other free programs +whose distribution conditions are different, write to the author to ask for +permission. For software which is copyrighted by the Free Software Foundation, +write to the Free Software Foundation; we sometimes make exceptions for this. +Our decision will be guided by the two goals of preserving the free status of +all derivatives of our free software and of promoting the sharing and reuse of +software generally. + +NO WARRANTY + +11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR +THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE +STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE +PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, +INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND +PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, +YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + +12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL +ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE +PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR +INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA +BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A +FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER +OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + +END OF TERMS AND CONDITIONS + +How to Apply These Terms to Your New Programs + +If you develop a new program, and you want it to be of the greatest possible +use to the public, the best way to achieve this is to make it free software +which everyone can redistribute and change under these terms. + +To do so, attach the following notices to the program. It is safest to attach +them to the start of each source file to most effectively convey the exclusion +of warranty; and each file should have at least the "copyright" line and a +pointer to where the full notice is found. + + One line to give the program's name and a brief idea of what it does. + + Copyright (C) + + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by the Free + Software Foundation; either version 2 of the License, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this when it +starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author Gnomovision comes + with ABSOLUTELY NO WARRANTY; for details type 'show w'. This is free + software, and you are welcome to redistribute it under certain conditions; + type 'show c' for details. + +The hypothetical commands 'show w' and 'show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may be +called something other than 'show w' and 'show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your school, +if any, to sign a "copyright disclaimer" for the program, if necessary. Here +is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + 'Gnomovision' (which makes passes at compilers) written by James Hacker. + + signature of Ty Coon, 1 April 1989 + + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Library General Public +License instead of this License. + + +"CLASSPATH" EXCEPTION TO THE GPL + +Certain source files distributed by Oracle America and/or its affiliates are +subject to the following clarification and special exception to the GPL, but +only where Oracle has expressly included in the particular source file's header +the words "Oracle designates this particular file as subject to the "Classpath" +exception as provided by Oracle in the LICENSE file that accompanied this code." + + Linking this library statically or dynamically with other modules is making + a combined work based on this library. Thus, the terms and conditions of + the GNU General Public License cover the whole combination. + + As a special exception, the copyright holders of this library give you + permission to link this library with independent modules to produce an + executable, regardless of the license terms of these independent modules, + and to copy and distribute the resulting executable under terms of your + choice, provided that you also meet, for each linked independent module, + the terms and conditions of the license of that module. An independent + module is a module which is not derived from or based on this library. If + you modify this library, you may extend this exception to your version of + the library, but you are not obligated to do so. If you do not wish to do + so, delete this exception statement from your version. diff --git a/cffu/1.0.0-Alpha22/legal/jquery.md b/cffu/1.0.0-Alpha22/legal/jquery.md new file mode 100644 index 0000000..d468b31 --- /dev/null +++ b/cffu/1.0.0-Alpha22/legal/jquery.md @@ -0,0 +1,72 @@ +## jQuery v3.6.1 + +### jQuery License +``` +jQuery v 3.6.1 +Copyright OpenJS Foundation and other contributors, https://openjsf.org/ + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +****************************************** + +The jQuery JavaScript Library v3.6.1 also includes Sizzle.js + +Sizzle.js includes the following license: + +Copyright JS Foundation and other contributors, https://js.foundation/ + +This software consists of voluntary contributions made by many +individuals. For exact contribution history, see the revision history +available at https://github.com/jquery/sizzle + +The following license applies to all parts of this software except as +documented below: + +==== + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +==== + +All files located in the node_modules and external directories are +externally maintained libraries used by this software which have their +own licenses; we recommend you read them, as their terms may differ from +the terms above. + +********************* + +``` diff --git a/cffu/1.0.0-Alpha22/legal/jqueryUI.md b/cffu/1.0.0-Alpha22/legal/jqueryUI.md new file mode 100644 index 0000000..8bda9d7 --- /dev/null +++ b/cffu/1.0.0-Alpha22/legal/jqueryUI.md @@ -0,0 +1,49 @@ +## jQuery UI v1.13.2 + +### jQuery UI License +``` +Copyright jQuery Foundation and other contributors, https://jquery.org/ + +This software consists of voluntary contributions made by many +individuals. For exact contribution history, see the revision history +available at https://github.com/jquery/jquery-ui + +The following license applies to all parts of this software except as +documented below: + +==== + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +==== + +Copyright and related rights for sample code are waived via CC0. Sample +code is defined as all source code contained within the demos directory. + +CC0: http://creativecommons.org/publicdomain/zero/1.0/ + +==== + +All files located in the node_modules and external directories are +externally maintained libraries used by this software which have their +own licenses; we recommend you read them, as their terms may differ from +the terms above. + +``` diff --git a/cffu/1.0.0-Alpha22/link.svg b/cffu/1.0.0-Alpha22/link.svg new file mode 100644 index 0000000..7ccc5ed --- /dev/null +++ b/cffu/1.0.0-Alpha22/link.svg @@ -0,0 +1,31 @@ + + + + + + + + diff --git a/cffu/1.0.0-Alpha22/member-search-index.js b/cffu/1.0.0-Alpha22/member-search-index.js new file mode 100644 index 0000000..24df61b --- /dev/null +++ b/cffu/1.0.0-Alpha22/member-search-index.js @@ -0,0 +1 @@ +memberSearchIndex = [{"p":"io.foldright.cffu.tuple","c":"Tuple2","l":"_1"},{"p":"io.foldright.cffu.tuple","c":"Tuple3","l":"_1"},{"p":"io.foldright.cffu.tuple","c":"Tuple4","l":"_1"},{"p":"io.foldright.cffu.tuple","c":"Tuple5","l":"_1"},{"p":"io.foldright.cffu.tuple","c":"Tuple2","l":"_2"},{"p":"io.foldright.cffu.tuple","c":"Tuple3","l":"_2"},{"p":"io.foldright.cffu.tuple","c":"Tuple4","l":"_2"},{"p":"io.foldright.cffu.tuple","c":"Tuple5","l":"_2"},{"p":"io.foldright.cffu.tuple","c":"Tuple3","l":"_3"},{"p":"io.foldright.cffu.tuple","c":"Tuple4","l":"_3"},{"p":"io.foldright.cffu.tuple","c":"Tuple5","l":"_3"},{"p":"io.foldright.cffu.tuple","c":"Tuple4","l":"_4"},{"p":"io.foldright.cffu.tuple","c":"Tuple5","l":"_4"},{"p":"io.foldright.cffu.tuple","c":"Tuple5","l":"_5"},{"p":"io.foldright.cffu","c":"Cffu","l":"acceptEither(CompletionStage, Consumer)","u":"acceptEither(java.util.concurrent.CompletionStage,java.util.function.Consumer)"},{"p":"io.foldright.cffu","c":"Cffu","l":"acceptEitherAsync(CompletionStage, Consumer)","u":"acceptEitherAsync(java.util.concurrent.CompletionStage,java.util.function.Consumer)"},{"p":"io.foldright.cffu","c":"Cffu","l":"acceptEitherAsync(CompletionStage, Consumer, Executor)","u":"acceptEitherAsync(java.util.concurrent.CompletionStage,java.util.function.Consumer,java.util.concurrent.Executor)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"acceptEitherSuccess(CompletableFuture, CompletionStage, Consumer)","u":"acceptEitherSuccess(java.util.concurrent.CompletableFuture,java.util.concurrent.CompletionStage,java.util.function.Consumer)"},{"p":"io.foldright.cffu","c":"Cffu","l":"acceptEitherSuccess(CompletionStage, Consumer)","u":"acceptEitherSuccess(java.util.concurrent.CompletionStage,java.util.function.Consumer)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"acceptEitherSuccessAsync(CompletableFuture, CompletionStage, Consumer)","u":"acceptEitherSuccessAsync(java.util.concurrent.CompletableFuture,java.util.concurrent.CompletionStage,java.util.function.Consumer)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"acceptEitherSuccessAsync(CompletableFuture, CompletionStage, Consumer, Executor)","u":"acceptEitherSuccessAsync(java.util.concurrent.CompletableFuture,java.util.concurrent.CompletionStage,java.util.function.Consumer,java.util.concurrent.Executor)"},{"p":"io.foldright.cffu","c":"Cffu","l":"acceptEitherSuccessAsync(CompletionStage, Consumer)","u":"acceptEitherSuccessAsync(java.util.concurrent.CompletionStage,java.util.function.Consumer)"},{"p":"io.foldright.cffu","c":"Cffu","l":"acceptEitherSuccessAsync(CompletionStage, Consumer, Executor)","u":"acceptEitherSuccessAsync(java.util.concurrent.CompletionStage,java.util.function.Consumer,java.util.concurrent.Executor)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"allFastFailOf(CompletionStage...)","u":"allFastFailOf(java.util.concurrent.CompletionStage...)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"allFastFailOf(CompletionStage...)","u":"allFastFailOf(java.util.concurrent.CompletionStage...)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"allOf(CompletionStage...)","u":"allOf(java.util.concurrent.CompletionStage...)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"allOf(CompletionStage...)","u":"allOf(java.util.concurrent.CompletionStage...)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"allResultsFastFailOf(CompletionStage...)","u":"allResultsFastFailOf(java.util.concurrent.CompletionStage...)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"allResultsFastFailOf(CompletionStage...)","u":"allResultsFastFailOf(java.util.concurrent.CompletionStage...)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"allResultsOf(CompletionStage...)","u":"allResultsOf(java.util.concurrent.CompletionStage...)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"allResultsOf(CompletionStage...)","u":"allResultsOf(java.util.concurrent.CompletionStage...)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"allSuccessResultsOf(T, CompletionStage...)","u":"allSuccessResultsOf(T,java.util.concurrent.CompletionStage...)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"allSuccessResultsOf(T, CompletionStage...)","u":"allSuccessResultsOf(T,java.util.concurrent.CompletionStage...)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"allSuccessTupleOf(CompletionStage, CompletionStage)","u":"allSuccessTupleOf(java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"allSuccessTupleOf(CompletionStage, CompletionStage)","u":"allSuccessTupleOf(java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"allSuccessTupleOf(CompletionStage, CompletionStage, CompletionStage)","u":"allSuccessTupleOf(java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"allSuccessTupleOf(CompletionStage, CompletionStage, CompletionStage)","u":"allSuccessTupleOf(java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"allSuccessTupleOf(CompletionStage, CompletionStage, CompletionStage, CompletionStage)","u":"allSuccessTupleOf(java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"allSuccessTupleOf(CompletionStage, CompletionStage, CompletionStage, CompletionStage)","u":"allSuccessTupleOf(java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"allSuccessTupleOf(CompletionStage, CompletionStage, CompletionStage, CompletionStage, CompletionStage)","u":"allSuccessTupleOf(java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"allSuccessTupleOf(CompletionStage, CompletionStage, CompletionStage, CompletionStage, CompletionStage)","u":"allSuccessTupleOf(java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"allTupleFastFailOf(CompletionStage, CompletionStage)","u":"allTupleFastFailOf(java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"allTupleFastFailOf(CompletionStage, CompletionStage)","u":"allTupleFastFailOf(java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"allTupleFastFailOf(CompletionStage, CompletionStage, CompletionStage)","u":"allTupleFastFailOf(java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"allTupleFastFailOf(CompletionStage, CompletionStage, CompletionStage)","u":"allTupleFastFailOf(java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"allTupleFastFailOf(CompletionStage, CompletionStage, CompletionStage, CompletionStage)","u":"allTupleFastFailOf(java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"allTupleFastFailOf(CompletionStage, CompletionStage, CompletionStage, CompletionStage)","u":"allTupleFastFailOf(java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"allTupleFastFailOf(CompletionStage, CompletionStage, CompletionStage, CompletionStage, CompletionStage)","u":"allTupleFastFailOf(java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"allTupleFastFailOf(CompletionStage, CompletionStage, CompletionStage, CompletionStage, CompletionStage)","u":"allTupleFastFailOf(java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"allTupleOf(CompletionStage, CompletionStage)","u":"allTupleOf(java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"allTupleOf(CompletionStage, CompletionStage)","u":"allTupleOf(java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"allTupleOf(CompletionStage, CompletionStage, CompletionStage)","u":"allTupleOf(java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"allTupleOf(CompletionStage, CompletionStage, CompletionStage)","u":"allTupleOf(java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"allTupleOf(CompletionStage, CompletionStage, CompletionStage, CompletionStage)","u":"allTupleOf(java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"allTupleOf(CompletionStage, CompletionStage, CompletionStage, CompletionStage)","u":"allTupleOf(java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"allTupleOf(CompletionStage, CompletionStage, CompletionStage, CompletionStage, CompletionStage)","u":"allTupleOf(java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"allTupleOf(CompletionStage, CompletionStage, CompletionStage, CompletionStage, CompletionStage)","u":"allTupleOf(java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"anyOf(CompletionStage...)","u":"anyOf(java.util.concurrent.CompletionStage...)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"anyOf(CompletionStage...)","u":"anyOf(java.util.concurrent.CompletionStage...)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"anySuccessOf(CompletionStage...)","u":"anySuccessOf(java.util.concurrent.CompletionStage...)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"anySuccessOf(CompletionStage...)","u":"anySuccessOf(java.util.concurrent.CompletionStage...)"},{"p":"io.foldright.cffu","c":"Cffu","l":"applyToEither(CompletionStage, Function)","u":"applyToEither(java.util.concurrent.CompletionStage,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"Cffu","l":"applyToEitherAsync(CompletionStage, Function)","u":"applyToEitherAsync(java.util.concurrent.CompletionStage,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"Cffu","l":"applyToEitherAsync(CompletionStage, Function, Executor)","u":"applyToEitherAsync(java.util.concurrent.CompletionStage,java.util.function.Function,java.util.concurrent.Executor)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"applyToEitherSuccess(CompletableFuture, CompletionStage, Function)","u":"applyToEitherSuccess(java.util.concurrent.CompletableFuture,java.util.concurrent.CompletionStage,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"Cffu","l":"applyToEitherSuccess(CompletionStage, Function)","u":"applyToEitherSuccess(java.util.concurrent.CompletionStage,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"applyToEitherSuccessAsync(CompletableFuture, CompletionStage, Function)","u":"applyToEitherSuccessAsync(java.util.concurrent.CompletableFuture,java.util.concurrent.CompletionStage,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"applyToEitherSuccessAsync(CompletableFuture, CompletionStage, Function, Executor)","u":"applyToEitherSuccessAsync(java.util.concurrent.CompletableFuture,java.util.concurrent.CompletionStage,java.util.function.Function,java.util.concurrent.Executor)"},{"p":"io.foldright.cffu","c":"Cffu","l":"applyToEitherSuccessAsync(CompletionStage, Function)","u":"applyToEitherSuccessAsync(java.util.concurrent.CompletionStage,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"Cffu","l":"applyToEitherSuccessAsync(CompletionStage, Function, Executor)","u":"applyToEitherSuccessAsync(java.util.concurrent.CompletionStage,java.util.function.Function,java.util.concurrent.Executor)"},{"p":"io.foldright.cffu","c":"CffuFactoryBuilder","l":"build()"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"builder(Executor)","u":"builder(java.util.concurrent.Executor)"},{"p":"io.foldright.cffu","c":"Cffu","l":"cancel(boolean)"},{"p":"io.foldright.cffu","c":"CffuState","l":"CANCELLED"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"catching(C, Class, Function)","u":"catching(C,java.lang.Class,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"Cffu","l":"catching(Class, Function)","u":"catching(java.lang.Class,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"catchingAsync(C, Class, Function)","u":"catchingAsync(C,java.lang.Class,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"catchingAsync(C, Class, Function, Executor)","u":"catchingAsync(C,java.lang.Class,java.util.function.Function,java.util.concurrent.Executor)"},{"p":"io.foldright.cffu","c":"Cffu","l":"catchingAsync(Class, Function)","u":"catchingAsync(java.lang.Class,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"Cffu","l":"catchingAsync(Class, Function, Executor)","u":"catchingAsync(java.lang.Class,java.util.function.Function,java.util.concurrent.Executor)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"catchingCompose(C, Class, Function>)","u":"catchingCompose(C,java.lang.Class,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"Cffu","l":"catchingCompose(Class, Function>)","u":"catchingCompose(java.lang.Class,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"catchingComposeAsync(C, Class, Function>)","u":"catchingComposeAsync(C,java.lang.Class,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"catchingComposeAsync(C, Class, Function>, Executor)","u":"catchingComposeAsync(C,java.lang.Class,java.util.function.Function,java.util.concurrent.Executor)"},{"p":"io.foldright.cffu","c":"Cffu","l":"catchingComposeAsync(Class, Function>)","u":"catchingComposeAsync(java.lang.Class,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"Cffu","l":"catchingComposeAsync(Class, Function>, Executor)","u":"catchingComposeAsync(java.lang.Class,java.util.function.Function,java.util.concurrent.Executor)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"cffuCompleteOnTimeout(C, T, Executor, long, TimeUnit)","u":"cffuCompleteOnTimeout(C,T,java.util.concurrent.Executor,long,java.util.concurrent.TimeUnit)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"cffuCompleteOnTimeout(C, T, long, TimeUnit)","u":"cffuCompleteOnTimeout(C,T,long,java.util.concurrent.TimeUnit)"},{"p":"io.foldright.cffu","c":"Cffu","l":"cffuFactory()"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"cffuListToArray(List>)","u":"cffuListToArray(java.util.List)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"cffuOrTimeout(C, Executor, long, TimeUnit)","u":"cffuOrTimeout(C,java.util.concurrent.Executor,long,java.util.concurrent.TimeUnit)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"cffuOrTimeout(C, long, TimeUnit)","u":"cffuOrTimeout(C,long,java.util.concurrent.TimeUnit)"},{"p":"io.foldright.cffu","c":"Cffu","l":"cffuState()"},{"p":"io.foldright.cffu.ttl","c":"CffuTtlExecutorWrapperProvider","l":"CffuTtlExecutorWrapperProvider()","u":"%3Cinit%3E()"},{"p":"io.foldright.cffu","c":"Cffu","l":"cffuUnwrap()"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"completableFutureListToArray(List>)","u":"completableFutureListToArray(java.util.List)"},{"p":"io.foldright.cffu","c":"Cffu","l":"complete(T)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"completeAsync(C, Supplier)","u":"completeAsync(C,java.util.function.Supplier)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"completeAsync(C, Supplier, Executor)","u":"completeAsync(C,java.util.function.Supplier,java.util.concurrent.Executor)"},{"p":"io.foldright.cffu","c":"Cffu","l":"completeAsync(Supplier)","u":"completeAsync(java.util.function.Supplier)"},{"p":"io.foldright.cffu","c":"Cffu","l":"completeAsync(Supplier, Executor)","u":"completeAsync(java.util.function.Supplier,java.util.concurrent.Executor)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"completedFuture(T)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"completedStage(T)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"completedStage(T)"},{"p":"io.foldright.cffu","c":"Cffu","l":"completeExceptionally(Throwable)","u":"completeExceptionally(java.lang.Throwable)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"completeExceptionallyAsync(C, Supplier)","u":"completeExceptionallyAsync(C,java.util.function.Supplier)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"completeExceptionallyAsync(C, Supplier, Executor)","u":"completeExceptionallyAsync(C,java.util.function.Supplier,java.util.concurrent.Executor)"},{"p":"io.foldright.cffu","c":"Cffu","l":"completeExceptionallyAsync(Supplier)","u":"completeExceptionallyAsync(java.util.function.Supplier)"},{"p":"io.foldright.cffu","c":"Cffu","l":"completeExceptionallyAsync(Supplier, Executor)","u":"completeExceptionallyAsync(java.util.function.Supplier,java.util.concurrent.Executor)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"completeOnTimeout(C, T, long, TimeUnit)","u":"completeOnTimeout(C,T,long,java.util.concurrent.TimeUnit)"},{"p":"io.foldright.cffu","c":"Cffu","l":"completeOnTimeout(T, Executor, long, TimeUnit)","u":"completeOnTimeout(T,java.util.concurrent.Executor,long,java.util.concurrent.TimeUnit)"},{"p":"io.foldright.cffu","c":"Cffu","l":"completeOnTimeout(T, long, TimeUnit)","u":"completeOnTimeout(T,long,java.util.concurrent.TimeUnit)"},{"p":"io.foldright.cffu","c":"Cffu","l":"copy()"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"copy(CompletableFuture)","u":"copy(java.util.concurrent.CompletableFuture)"},{"p":"io.foldright.cffu","c":"Cffu","l":"defaultExecutor()"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"defaultExecutor()"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"defaultExecutor()"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"delayedExecutor(long, TimeUnit)","u":"delayedExecutor(long,java.util.concurrent.TimeUnit)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"delayedExecutor(long, TimeUnit)","u":"delayedExecutor(long,java.util.concurrent.TimeUnit)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"delayedExecutor(long, TimeUnit, Executor)","u":"delayedExecutor(long,java.util.concurrent.TimeUnit,java.util.concurrent.Executor)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"delayedExecutor(long, TimeUnit, Executor)","u":"delayedExecutor(long,java.util.concurrent.TimeUnit,java.util.concurrent.Executor)"},{"p":"io.foldright.cffu.tuple","c":"Tuple2","l":"equals(Object)","u":"equals(java.lang.Object)"},{"p":"io.foldright.cffu.tuple","c":"Tuple3","l":"equals(Object)","u":"equals(java.lang.Object)"},{"p":"io.foldright.cffu.tuple","c":"Tuple4","l":"equals(Object)","u":"equals(java.lang.Object)"},{"p":"io.foldright.cffu.tuple","c":"Tuple5","l":"equals(Object)","u":"equals(java.lang.Object)"},{"p":"io.foldright.cffu","c":"Cffu","l":"exceptionally(Function)","u":"exceptionally(java.util.function.Function)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"exceptionallyAsync(C, Function)","u":"exceptionallyAsync(C,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"exceptionallyAsync(C, Function, Executor)","u":"exceptionallyAsync(C,java.util.function.Function,java.util.concurrent.Executor)"},{"p":"io.foldright.cffu","c":"Cffu","l":"exceptionallyAsync(Function)","u":"exceptionallyAsync(java.util.function.Function)"},{"p":"io.foldright.cffu","c":"Cffu","l":"exceptionallyAsync(Function, Executor)","u":"exceptionallyAsync(java.util.function.Function,java.util.concurrent.Executor)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"exceptionallyCompose(C, Function>)","u":"exceptionallyCompose(C,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"Cffu","l":"exceptionallyCompose(Function>)","u":"exceptionallyCompose(java.util.function.Function)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"exceptionallyComposeAsync(C, Function>)","u":"exceptionallyComposeAsync(C,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"exceptionallyComposeAsync(C, Function>, Executor)","u":"exceptionallyComposeAsync(C,java.util.function.Function,java.util.concurrent.Executor)"},{"p":"io.foldright.cffu","c":"Cffu","l":"exceptionallyComposeAsync(Function>)","u":"exceptionallyComposeAsync(java.util.function.Function)"},{"p":"io.foldright.cffu","c":"Cffu","l":"exceptionallyComposeAsync(Function>, Executor)","u":"exceptionallyComposeAsync(java.util.function.Function,java.util.concurrent.Executor)"},{"p":"io.foldright.cffu","c":"Cffu","l":"exceptionNow()"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"exceptionNow(Future)","u":"exceptionNow(java.util.concurrent.Future)"},{"p":"io.foldright.cffu","c":"CffuState","l":"FAILED"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"failedFuture(Throwable)","u":"failedFuture(java.lang.Throwable)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"failedFuture(Throwable)","u":"failedFuture(java.lang.Throwable)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"failedStage(Throwable)","u":"failedStage(java.lang.Throwable)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"failedStage(Throwable)","u":"failedStage(java.lang.Throwable)"},{"p":"io.foldright.cffu","c":"Cffu","l":"forbidObtrudeMethods()"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"forbidObtrudeMethods()"},{"p":"io.foldright.cffu","c":"CffuFactoryBuilder","l":"forbidObtrudeMethods(boolean)"},{"p":"io.foldright.cffu","c":"Cffu","l":"get()"},{"p":"io.foldright.cffu","c":"Cffu","l":"get(long, TimeUnit)","u":"get(long,java.util.concurrent.TimeUnit)"},{"p":"io.foldright.cffu","c":"Cffu","l":"getNow(T)"},{"p":"io.foldright.cffu","c":"Cffu","l":"getNumberOfDependents()"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"getSuccessNow(CompletableFuture, T)","u":"getSuccessNow(java.util.concurrent.CompletableFuture,T)"},{"p":"io.foldright.cffu","c":"Cffu","l":"getSuccessNow(T)"},{"p":"io.foldright.cffu","c":"Cffu","l":"handle(BiFunction)","u":"handle(java.util.function.BiFunction)"},{"p":"io.foldright.cffu","c":"Cffu","l":"handleAsync(BiFunction)","u":"handleAsync(java.util.function.BiFunction)"},{"p":"io.foldright.cffu","c":"Cffu","l":"handleAsync(BiFunction, Executor)","u":"handleAsync(java.util.function.BiFunction,java.util.concurrent.Executor)"},{"p":"io.foldright.cffu.tuple","c":"Tuple2","l":"hashCode()"},{"p":"io.foldright.cffu.tuple","c":"Tuple3","l":"hashCode()"},{"p":"io.foldright.cffu.tuple","c":"Tuple4","l":"hashCode()"},{"p":"io.foldright.cffu.tuple","c":"Tuple5","l":"hashCode()"},{"p":"io.foldright.cffu","c":"Cffu","l":"isCancelled()"},{"p":"io.foldright.cffu","c":"Cffu","l":"isCompletedExceptionally()"},{"p":"io.foldright.cffu","c":"Cffu","l":"isDone()"},{"p":"io.foldright.cffu","c":"Cffu","l":"isMinimalStage()"},{"p":"io.foldright.cffu","c":"Cffu","l":"join()"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"join(CompletableFuture, long, TimeUnit)","u":"join(java.util.concurrent.CompletableFuture,long,java.util.concurrent.TimeUnit)"},{"p":"io.foldright.cffu","c":"Cffu","l":"join(long, TimeUnit)","u":"join(long,java.util.concurrent.TimeUnit)"},{"p":"io.foldright.cffu","c":"Cffu","l":"minimalCompletionStage()"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"minimalCompletionStage(CompletableFuture)","u":"minimalCompletionStage(java.util.concurrent.CompletableFuture)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"mostSuccessResultsOf(T, Executor, long, TimeUnit, CompletionStage...)","u":"mostSuccessResultsOf(T,java.util.concurrent.Executor,long,java.util.concurrent.TimeUnit,java.util.concurrent.CompletionStage...)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"mostSuccessResultsOf(T, long, TimeUnit, CompletionStage...)","u":"mostSuccessResultsOf(T,long,java.util.concurrent.TimeUnit,java.util.concurrent.CompletionStage...)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"mostSuccessResultsOf(T, long, TimeUnit, CompletionStage...)","u":"mostSuccessResultsOf(T,long,java.util.concurrent.TimeUnit,java.util.concurrent.CompletionStage...)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"mostSuccessTupleOf(Executor, long, TimeUnit, CompletionStage, CompletionStage)","u":"mostSuccessTupleOf(java.util.concurrent.Executor,long,java.util.concurrent.TimeUnit,java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"mostSuccessTupleOf(Executor, long, TimeUnit, CompletionStage, CompletionStage, CompletionStage)","u":"mostSuccessTupleOf(java.util.concurrent.Executor,long,java.util.concurrent.TimeUnit,java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"mostSuccessTupleOf(Executor, long, TimeUnit, CompletionStage, CompletionStage, CompletionStage, CompletionStage)","u":"mostSuccessTupleOf(java.util.concurrent.Executor,long,java.util.concurrent.TimeUnit,java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"mostSuccessTupleOf(Executor, long, TimeUnit, CompletionStage, CompletionStage, CompletionStage, CompletionStage, CompletionStage)","u":"mostSuccessTupleOf(java.util.concurrent.Executor,long,java.util.concurrent.TimeUnit,java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"mostSuccessTupleOf(long, TimeUnit, CompletionStage, CompletionStage)","u":"mostSuccessTupleOf(long,java.util.concurrent.TimeUnit,java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"mostSuccessTupleOf(long, TimeUnit, CompletionStage, CompletionStage)","u":"mostSuccessTupleOf(long,java.util.concurrent.TimeUnit,java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"mostSuccessTupleOf(long, TimeUnit, CompletionStage, CompletionStage, CompletionStage)","u":"mostSuccessTupleOf(long,java.util.concurrent.TimeUnit,java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"mostSuccessTupleOf(long, TimeUnit, CompletionStage, CompletionStage, CompletionStage)","u":"mostSuccessTupleOf(long,java.util.concurrent.TimeUnit,java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"mostSuccessTupleOf(long, TimeUnit, CompletionStage, CompletionStage, CompletionStage, CompletionStage)","u":"mostSuccessTupleOf(long,java.util.concurrent.TimeUnit,java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"mostSuccessTupleOf(long, TimeUnit, CompletionStage, CompletionStage, CompletionStage, CompletionStage)","u":"mostSuccessTupleOf(long,java.util.concurrent.TimeUnit,java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"mostSuccessTupleOf(long, TimeUnit, CompletionStage, CompletionStage, CompletionStage, CompletionStage, CompletionStage)","u":"mostSuccessTupleOf(long,java.util.concurrent.TimeUnit,java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"mostSuccessTupleOf(long, TimeUnit, CompletionStage, CompletionStage, CompletionStage, CompletionStage, CompletionStage)","u":"mostSuccessTupleOf(long,java.util.concurrent.TimeUnit,java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage,java.util.concurrent.CompletionStage)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"mRunAnyAsync(Executor, Runnable...)","u":"mRunAnyAsync(java.util.concurrent.Executor,java.lang.Runnable...)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"mRunAnyAsync(Executor, Runnable...)","u":"mRunAnyAsync(java.util.concurrent.Executor,java.lang.Runnable...)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"mRunAnyAsync(Runnable...)","u":"mRunAnyAsync(java.lang.Runnable...)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"mRunAnyAsync(Runnable...)","u":"mRunAnyAsync(java.lang.Runnable...)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"mRunAnySuccessAsync(Executor, Runnable...)","u":"mRunAnySuccessAsync(java.util.concurrent.Executor,java.lang.Runnable...)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"mRunAnySuccessAsync(Executor, Runnable...)","u":"mRunAnySuccessAsync(java.util.concurrent.Executor,java.lang.Runnable...)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"mRunAnySuccessAsync(Runnable...)","u":"mRunAnySuccessAsync(java.lang.Runnable...)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"mRunAnySuccessAsync(Runnable...)","u":"mRunAnySuccessAsync(java.lang.Runnable...)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"mRunAsync(Executor, Runnable...)","u":"mRunAsync(java.util.concurrent.Executor,java.lang.Runnable...)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"mRunAsync(Executor, Runnable...)","u":"mRunAsync(java.util.concurrent.Executor,java.lang.Runnable...)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"mRunAsync(Runnable...)","u":"mRunAsync(java.lang.Runnable...)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"mRunAsync(Runnable...)","u":"mRunAsync(java.lang.Runnable...)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"mRunFastFailAsync(Executor, Runnable...)","u":"mRunFastFailAsync(java.util.concurrent.Executor,java.lang.Runnable...)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"mRunFastFailAsync(Executor, Runnable...)","u":"mRunFastFailAsync(java.util.concurrent.Executor,java.lang.Runnable...)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"mRunFastFailAsync(Runnable...)","u":"mRunFastFailAsync(java.lang.Runnable...)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"mRunFastFailAsync(Runnable...)","u":"mRunFastFailAsync(java.lang.Runnable...)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"mSupplyAllSuccessAsync(T, Executor, Supplier...)","u":"mSupplyAllSuccessAsync(T,java.util.concurrent.Executor,java.util.function.Supplier...)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"mSupplyAllSuccessAsync(T, Executor, Supplier...)","u":"mSupplyAllSuccessAsync(T,java.util.concurrent.Executor,java.util.function.Supplier...)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"mSupplyAllSuccessAsync(T, Supplier...)","u":"mSupplyAllSuccessAsync(T,java.util.function.Supplier...)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"mSupplyAllSuccessAsync(T, Supplier...)","u":"mSupplyAllSuccessAsync(T,java.util.function.Supplier...)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"mSupplyAnyAsync(Executor, Supplier...)","u":"mSupplyAnyAsync(java.util.concurrent.Executor,java.util.function.Supplier...)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"mSupplyAnyAsync(Executor, Supplier...)","u":"mSupplyAnyAsync(java.util.concurrent.Executor,java.util.function.Supplier...)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"mSupplyAnyAsync(Supplier...)","u":"mSupplyAnyAsync(java.util.function.Supplier...)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"mSupplyAnyAsync(Supplier...)","u":"mSupplyAnyAsync(java.util.function.Supplier...)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"mSupplyAnySuccessAsync(Executor, Supplier...)","u":"mSupplyAnySuccessAsync(java.util.concurrent.Executor,java.util.function.Supplier...)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"mSupplyAnySuccessAsync(Executor, Supplier...)","u":"mSupplyAnySuccessAsync(java.util.concurrent.Executor,java.util.function.Supplier...)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"mSupplyAnySuccessAsync(Supplier...)","u":"mSupplyAnySuccessAsync(java.util.function.Supplier...)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"mSupplyAnySuccessAsync(Supplier...)","u":"mSupplyAnySuccessAsync(java.util.function.Supplier...)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"mSupplyAsync(Executor, Supplier...)","u":"mSupplyAsync(java.util.concurrent.Executor,java.util.function.Supplier...)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"mSupplyAsync(Executor, Supplier...)","u":"mSupplyAsync(java.util.concurrent.Executor,java.util.function.Supplier...)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"mSupplyAsync(Supplier...)","u":"mSupplyAsync(java.util.function.Supplier...)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"mSupplyAsync(Supplier...)","u":"mSupplyAsync(java.util.function.Supplier...)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"mSupplyFastFailAsync(Executor, Supplier...)","u":"mSupplyFastFailAsync(java.util.concurrent.Executor,java.util.function.Supplier...)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"mSupplyFastFailAsync(Executor, Supplier...)","u":"mSupplyFastFailAsync(java.util.concurrent.Executor,java.util.function.Supplier...)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"mSupplyFastFailAsync(Supplier...)","u":"mSupplyFastFailAsync(java.util.function.Supplier...)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"mSupplyFastFailAsync(Supplier...)","u":"mSupplyFastFailAsync(java.util.function.Supplier...)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"mSupplyMostSuccessAsync(T, Executor, long, TimeUnit, Supplier...)","u":"mSupplyMostSuccessAsync(T,java.util.concurrent.Executor,long,java.util.concurrent.TimeUnit,java.util.function.Supplier...)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"mSupplyMostSuccessAsync(T, Executor, long, TimeUnit, Supplier...)","u":"mSupplyMostSuccessAsync(T,java.util.concurrent.Executor,long,java.util.concurrent.TimeUnit,java.util.function.Supplier...)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"mSupplyMostSuccessAsync(T, long, TimeUnit, Supplier...)","u":"mSupplyMostSuccessAsync(T,long,java.util.concurrent.TimeUnit,java.util.function.Supplier...)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"mSupplyMostSuccessAsync(T, long, TimeUnit, Supplier...)","u":"mSupplyMostSuccessAsync(T,long,java.util.concurrent.TimeUnit,java.util.function.Supplier...)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"newIncompleteCffu()"},{"p":"io.foldright.cffu","c":"Cffu","l":"newIncompleteFuture()"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"newIncompleteFuture(CompletableFuture)","u":"newIncompleteFuture(java.util.concurrent.CompletableFuture)"},{"p":"io.foldright.cffu","c":"NoCfsProvidedException","l":"NoCfsProvidedException()","u":"%3Cinit%3E()"},{"p":"io.foldright.cffu","c":"Cffu","l":"obtrudeException(Throwable)","u":"obtrudeException(java.lang.Throwable)"},{"p":"io.foldright.cffu","c":"Cffu","l":"obtrudeValue(T)"},{"p":"io.foldright.cffu.tuple","c":"Tuple2","l":"of(T1, T2)","u":"of(T1,T2)"},{"p":"io.foldright.cffu.tuple","c":"Tuple3","l":"of(T1, T2, T3)","u":"of(T1,T2,T3)"},{"p":"io.foldright.cffu.tuple","c":"Tuple4","l":"of(T1, T2, T3, T4)","u":"of(T1,T2,T3,T4)"},{"p":"io.foldright.cffu.tuple","c":"Tuple5","l":"of(T1, T2, T3, T4, T5)","u":"of(T1,T2,T3,T4,T5)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"orTimeout(C, long, TimeUnit)","u":"orTimeout(C,long,java.util.concurrent.TimeUnit)"},{"p":"io.foldright.cffu","c":"Cffu","l":"orTimeout(Executor, long, TimeUnit)","u":"orTimeout(java.util.concurrent.Executor,long,java.util.concurrent.TimeUnit)"},{"p":"io.foldright.cffu","c":"Cffu","l":"orTimeout(long, TimeUnit)","u":"orTimeout(long,java.util.concurrent.TimeUnit)"},{"p":"io.foldright.cffu","c":"Cffu","l":"peek(BiConsumer)","u":"peek(java.util.function.BiConsumer)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"peek(C, BiConsumer)","u":"peek(C,java.util.function.BiConsumer)"},{"p":"io.foldright.cffu","c":"Cffu","l":"peekAsync(BiConsumer)","u":"peekAsync(java.util.function.BiConsumer)"},{"p":"io.foldright.cffu","c":"Cffu","l":"peekAsync(BiConsumer, Executor)","u":"peekAsync(java.util.function.BiConsumer,java.util.concurrent.Executor)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"peekAsync(C, BiConsumer)","u":"peekAsync(C,java.util.function.BiConsumer)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"peekAsync(C, BiConsumer, Executor)","u":"peekAsync(C,java.util.function.BiConsumer,java.util.concurrent.Executor)"},{"p":"io.foldright.cffu","c":"CffuFactoryBuilder","l":"POISON_FACTORY"},{"p":"io.foldright.cffu","c":"Cffu","l":"resetCffuFactory(CffuFactory)","u":"resetCffuFactory(io.foldright.cffu.CffuFactory)"},{"p":"io.foldright.cffu","c":"Cffu","l":"resetDefaultExecutor(Executor)","u":"resetDefaultExecutor(java.util.concurrent.Executor)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"resetDefaultExecutor(Executor)","u":"resetDefaultExecutor(java.util.concurrent.Executor)"},{"p":"io.foldright.cffu","c":"Cffu","l":"resultNow()"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"resultNow(Future)","u":"resultNow(java.util.concurrent.Future)"},{"p":"io.foldright.cffu","c":"Cffu","l":"runAfterBoth(CompletionStage, Runnable)","u":"runAfterBoth(java.util.concurrent.CompletionStage,java.lang.Runnable)"},{"p":"io.foldright.cffu","c":"Cffu","l":"runAfterBothAsync(CompletionStage, Runnable)","u":"runAfterBothAsync(java.util.concurrent.CompletionStage,java.lang.Runnable)"},{"p":"io.foldright.cffu","c":"Cffu","l":"runAfterBothAsync(CompletionStage, Runnable, Executor)","u":"runAfterBothAsync(java.util.concurrent.CompletionStage,java.lang.Runnable,java.util.concurrent.Executor)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"runAfterBothFastFail(CompletableFuture, CompletionStage, Runnable)","u":"runAfterBothFastFail(java.util.concurrent.CompletableFuture,java.util.concurrent.CompletionStage,java.lang.Runnable)"},{"p":"io.foldright.cffu","c":"Cffu","l":"runAfterBothFastFail(CompletionStage, Runnable)","u":"runAfterBothFastFail(java.util.concurrent.CompletionStage,java.lang.Runnable)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"runAfterBothFastFailAsync(CompletableFuture, CompletionStage, Runnable)","u":"runAfterBothFastFailAsync(java.util.concurrent.CompletableFuture,java.util.concurrent.CompletionStage,java.lang.Runnable)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"runAfterBothFastFailAsync(CompletableFuture, CompletionStage, Runnable, Executor)","u":"runAfterBothFastFailAsync(java.util.concurrent.CompletableFuture,java.util.concurrent.CompletionStage,java.lang.Runnable,java.util.concurrent.Executor)"},{"p":"io.foldright.cffu","c":"Cffu","l":"runAfterBothFastFailAsync(CompletionStage, Runnable)","u":"runAfterBothFastFailAsync(java.util.concurrent.CompletionStage,java.lang.Runnable)"},{"p":"io.foldright.cffu","c":"Cffu","l":"runAfterBothFastFailAsync(CompletionStage, Runnable, Executor)","u":"runAfterBothFastFailAsync(java.util.concurrent.CompletionStage,java.lang.Runnable,java.util.concurrent.Executor)"},{"p":"io.foldright.cffu","c":"Cffu","l":"runAfterEither(CompletionStage, Runnable)","u":"runAfterEither(java.util.concurrent.CompletionStage,java.lang.Runnable)"},{"p":"io.foldright.cffu","c":"Cffu","l":"runAfterEitherAsync(CompletionStage, Runnable)","u":"runAfterEitherAsync(java.util.concurrent.CompletionStage,java.lang.Runnable)"},{"p":"io.foldright.cffu","c":"Cffu","l":"runAfterEitherAsync(CompletionStage, Runnable, Executor)","u":"runAfterEitherAsync(java.util.concurrent.CompletionStage,java.lang.Runnable,java.util.concurrent.Executor)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"runAfterEitherSuccess(CompletableFuture, CompletionStage, Runnable)","u":"runAfterEitherSuccess(java.util.concurrent.CompletableFuture,java.util.concurrent.CompletionStage,java.lang.Runnable)"},{"p":"io.foldright.cffu","c":"Cffu","l":"runAfterEitherSuccess(CompletionStage, Runnable)","u":"runAfterEitherSuccess(java.util.concurrent.CompletionStage,java.lang.Runnable)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"runAfterEitherSuccessAsync(CompletableFuture, CompletionStage, Runnable)","u":"runAfterEitherSuccessAsync(java.util.concurrent.CompletableFuture,java.util.concurrent.CompletionStage,java.lang.Runnable)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"runAfterEitherSuccessAsync(CompletableFuture, CompletionStage, Runnable, Executor)","u":"runAfterEitherSuccessAsync(java.util.concurrent.CompletableFuture,java.util.concurrent.CompletionStage,java.lang.Runnable,java.util.concurrent.Executor)"},{"p":"io.foldright.cffu","c":"Cffu","l":"runAfterEitherSuccessAsync(CompletionStage, Runnable)","u":"runAfterEitherSuccessAsync(java.util.concurrent.CompletionStage,java.lang.Runnable)"},{"p":"io.foldright.cffu","c":"Cffu","l":"runAfterEitherSuccessAsync(CompletionStage, Runnable, Executor)","u":"runAfterEitherSuccessAsync(java.util.concurrent.CompletionStage,java.lang.Runnable,java.util.concurrent.Executor)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"runAsync(Runnable)","u":"runAsync(java.lang.Runnable)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"runAsync(Runnable, Executor)","u":"runAsync(java.lang.Runnable,java.util.concurrent.Executor)"},{"p":"io.foldright.cffu","c":"CffuState","l":"RUNNING"},{"p":"io.foldright.cffu","c":"Cffu","l":"state()"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"state(Future)","u":"state(java.util.concurrent.Future)"},{"p":"io.foldright.cffu","c":"CffuState","l":"SUCCESS"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"supplyAsync(Supplier)","u":"supplyAsync(java.util.function.Supplier)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"supplyAsync(Supplier, Executor)","u":"supplyAsync(java.util.function.Supplier,java.util.concurrent.Executor)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenAccept(Consumer)","u":"thenAccept(java.util.function.Consumer)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenAcceptAsync(Consumer)","u":"thenAcceptAsync(java.util.function.Consumer)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenAcceptAsync(Consumer, Executor)","u":"thenAcceptAsync(java.util.function.Consumer,java.util.concurrent.Executor)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenAcceptBoth(CompletionStage, BiConsumer)","u":"thenAcceptBoth(java.util.concurrent.CompletionStage,java.util.function.BiConsumer)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenAcceptBothAsync(CompletionStage, BiConsumer)","u":"thenAcceptBothAsync(java.util.concurrent.CompletionStage,java.util.function.BiConsumer)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenAcceptBothAsync(CompletionStage, BiConsumer, Executor)","u":"thenAcceptBothAsync(java.util.concurrent.CompletionStage,java.util.function.BiConsumer,java.util.concurrent.Executor)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"thenAcceptBothFastFail(CompletableFuture, CompletionStage, BiConsumer)","u":"thenAcceptBothFastFail(java.util.concurrent.CompletableFuture,java.util.concurrent.CompletionStage,java.util.function.BiConsumer)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenAcceptBothFastFail(CompletionStage, BiConsumer)","u":"thenAcceptBothFastFail(java.util.concurrent.CompletionStage,java.util.function.BiConsumer)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"thenAcceptBothFastFailAsync(CompletableFuture, CompletionStage, BiConsumer)","u":"thenAcceptBothFastFailAsync(java.util.concurrent.CompletableFuture,java.util.concurrent.CompletionStage,java.util.function.BiConsumer)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"thenAcceptBothFastFailAsync(CompletableFuture, CompletionStage, BiConsumer, Executor)","u":"thenAcceptBothFastFailAsync(java.util.concurrent.CompletableFuture,java.util.concurrent.CompletionStage,java.util.function.BiConsumer,java.util.concurrent.Executor)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenAcceptBothFastFailAsync(CompletionStage, BiConsumer)","u":"thenAcceptBothFastFailAsync(java.util.concurrent.CompletionStage,java.util.function.BiConsumer)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenAcceptBothFastFailAsync(CompletionStage, BiConsumer, Executor)","u":"thenAcceptBothFastFailAsync(java.util.concurrent.CompletionStage,java.util.function.BiConsumer,java.util.concurrent.Executor)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenApply(Function)","u":"thenApply(java.util.function.Function)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenApplyAsync(Function)","u":"thenApplyAsync(java.util.function.Function)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenApplyAsync(Function, Executor)","u":"thenApplyAsync(java.util.function.Function,java.util.concurrent.Executor)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenCombine(CompletionStage, BiFunction)","u":"thenCombine(java.util.concurrent.CompletionStage,java.util.function.BiFunction)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenCombineAsync(CompletionStage, BiFunction)","u":"thenCombineAsync(java.util.concurrent.CompletionStage,java.util.function.BiFunction)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenCombineAsync(CompletionStage, BiFunction, Executor)","u":"thenCombineAsync(java.util.concurrent.CompletionStage,java.util.function.BiFunction,java.util.concurrent.Executor)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"thenCombineFastFail(CompletableFuture, CompletionStage, BiFunction)","u":"thenCombineFastFail(java.util.concurrent.CompletableFuture,java.util.concurrent.CompletionStage,java.util.function.BiFunction)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenCombineFastFail(CompletionStage, BiFunction)","u":"thenCombineFastFail(java.util.concurrent.CompletionStage,java.util.function.BiFunction)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"thenCombineFastFailAsync(CompletableFuture, CompletionStage, BiFunction)","u":"thenCombineFastFailAsync(java.util.concurrent.CompletableFuture,java.util.concurrent.CompletionStage,java.util.function.BiFunction)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"thenCombineFastFailAsync(CompletableFuture, CompletionStage, BiFunction, Executor)","u":"thenCombineFastFailAsync(java.util.concurrent.CompletableFuture,java.util.concurrent.CompletionStage,java.util.function.BiFunction,java.util.concurrent.Executor)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenCombineFastFailAsync(CompletionStage, BiFunction)","u":"thenCombineFastFailAsync(java.util.concurrent.CompletionStage,java.util.function.BiFunction)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenCombineFastFailAsync(CompletionStage, BiFunction, Executor)","u":"thenCombineFastFailAsync(java.util.concurrent.CompletionStage,java.util.function.BiFunction,java.util.concurrent.Executor)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenCompose(Function>)","u":"thenCompose(java.util.function.Function)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenComposeAsync(Function>)","u":"thenComposeAsync(java.util.function.Function)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenComposeAsync(Function>, Executor)","u":"thenComposeAsync(java.util.function.Function,java.util.concurrent.Executor)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"thenMAcceptAnyAsync(CompletableFuture, Consumer...)","u":"thenMAcceptAnyAsync(java.util.concurrent.CompletableFuture,java.util.function.Consumer...)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"thenMAcceptAnyAsync(CompletableFuture, Executor, Consumer...)","u":"thenMAcceptAnyAsync(java.util.concurrent.CompletableFuture,java.util.concurrent.Executor,java.util.function.Consumer...)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenMAcceptAnyAsync(Consumer...)","u":"thenMAcceptAnyAsync(java.util.function.Consumer...)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenMAcceptAnyAsync(Executor, Consumer...)","u":"thenMAcceptAnyAsync(java.util.concurrent.Executor,java.util.function.Consumer...)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"thenMAcceptAnySuccessAsync(CompletableFuture, Consumer...)","u":"thenMAcceptAnySuccessAsync(java.util.concurrent.CompletableFuture,java.util.function.Consumer...)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"thenMAcceptAnySuccessAsync(CompletableFuture, Executor, Consumer...)","u":"thenMAcceptAnySuccessAsync(java.util.concurrent.CompletableFuture,java.util.concurrent.Executor,java.util.function.Consumer...)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenMAcceptAnySuccessAsync(Consumer...)","u":"thenMAcceptAnySuccessAsync(java.util.function.Consumer...)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenMAcceptAnySuccessAsync(Executor, Consumer...)","u":"thenMAcceptAnySuccessAsync(java.util.concurrent.Executor,java.util.function.Consumer...)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"thenMAcceptAsync(CompletableFuture, Consumer...)","u":"thenMAcceptAsync(java.util.concurrent.CompletableFuture,java.util.function.Consumer...)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"thenMAcceptAsync(CompletableFuture, Executor, Consumer...)","u":"thenMAcceptAsync(java.util.concurrent.CompletableFuture,java.util.concurrent.Executor,java.util.function.Consumer...)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenMAcceptAsync(Consumer...)","u":"thenMAcceptAsync(java.util.function.Consumer...)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenMAcceptAsync(Executor, Consumer...)","u":"thenMAcceptAsync(java.util.concurrent.Executor,java.util.function.Consumer...)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"thenMAcceptFastFailAsync(CompletableFuture, Consumer...)","u":"thenMAcceptFastFailAsync(java.util.concurrent.CompletableFuture,java.util.function.Consumer...)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"thenMAcceptFastFailAsync(CompletableFuture, Executor, Consumer...)","u":"thenMAcceptFastFailAsync(java.util.concurrent.CompletableFuture,java.util.concurrent.Executor,java.util.function.Consumer...)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenMAcceptFastFailAsync(Consumer...)","u":"thenMAcceptFastFailAsync(java.util.function.Consumer...)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenMAcceptFastFailAsync(Executor, Consumer...)","u":"thenMAcceptFastFailAsync(java.util.concurrent.Executor,java.util.function.Consumer...)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"thenMApplyAllSuccessAsync(CompletableFuture, U, Executor, Function...)","u":"thenMApplyAllSuccessAsync(java.util.concurrent.CompletableFuture,U,java.util.concurrent.Executor,java.util.function.Function...)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"thenMApplyAllSuccessAsync(CompletableFuture, U, Function...)","u":"thenMApplyAllSuccessAsync(java.util.concurrent.CompletableFuture,U,java.util.function.Function...)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenMApplyAllSuccessAsync(U, Executor, Function...)","u":"thenMApplyAllSuccessAsync(U,java.util.concurrent.Executor,java.util.function.Function...)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenMApplyAllSuccessAsync(U, Function...)","u":"thenMApplyAllSuccessAsync(U,java.util.function.Function...)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"thenMApplyAnyAsync(CompletableFuture, Executor, Function...)","u":"thenMApplyAnyAsync(java.util.concurrent.CompletableFuture,java.util.concurrent.Executor,java.util.function.Function...)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"thenMApplyAnyAsync(CompletableFuture, Function...)","u":"thenMApplyAnyAsync(java.util.concurrent.CompletableFuture,java.util.function.Function...)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenMApplyAnyAsync(Executor, Function...)","u":"thenMApplyAnyAsync(java.util.concurrent.Executor,java.util.function.Function...)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenMApplyAnyAsync(Function...)","u":"thenMApplyAnyAsync(java.util.function.Function...)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"thenMApplyAnySuccessAsync(CompletableFuture, Executor, Function...)","u":"thenMApplyAnySuccessAsync(java.util.concurrent.CompletableFuture,java.util.concurrent.Executor,java.util.function.Function...)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"thenMApplyAnySuccessAsync(CompletableFuture, Function...)","u":"thenMApplyAnySuccessAsync(java.util.concurrent.CompletableFuture,java.util.function.Function...)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenMApplyAnySuccessAsync(Executor, Function...)","u":"thenMApplyAnySuccessAsync(java.util.concurrent.Executor,java.util.function.Function...)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenMApplyAnySuccessAsync(Function...)","u":"thenMApplyAnySuccessAsync(java.util.function.Function...)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"thenMApplyAsync(CompletableFuture, Executor, Function...)","u":"thenMApplyAsync(java.util.concurrent.CompletableFuture,java.util.concurrent.Executor,java.util.function.Function...)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"thenMApplyAsync(CompletableFuture, Function...)","u":"thenMApplyAsync(java.util.concurrent.CompletableFuture,java.util.function.Function...)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenMApplyAsync(Executor, Function...)","u":"thenMApplyAsync(java.util.concurrent.Executor,java.util.function.Function...)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenMApplyAsync(Function...)","u":"thenMApplyAsync(java.util.function.Function...)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"thenMApplyFastFailAsync(CompletableFuture, Executor, Function...)","u":"thenMApplyFastFailAsync(java.util.concurrent.CompletableFuture,java.util.concurrent.Executor,java.util.function.Function...)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"thenMApplyFastFailAsync(CompletableFuture, Function...)","u":"thenMApplyFastFailAsync(java.util.concurrent.CompletableFuture,java.util.function.Function...)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenMApplyFastFailAsync(Executor, Function...)","u":"thenMApplyFastFailAsync(java.util.concurrent.Executor,java.util.function.Function...)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenMApplyFastFailAsync(Function...)","u":"thenMApplyFastFailAsync(java.util.function.Function...)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"thenMApplyMostSuccessAsync(CompletableFuture, U, Executor, long, TimeUnit, Function...)","u":"thenMApplyMostSuccessAsync(java.util.concurrent.CompletableFuture,U,java.util.concurrent.Executor,long,java.util.concurrent.TimeUnit,java.util.function.Function...)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"thenMApplyMostSuccessAsync(CompletableFuture, U, long, TimeUnit, Function...)","u":"thenMApplyMostSuccessAsync(java.util.concurrent.CompletableFuture,U,long,java.util.concurrent.TimeUnit,java.util.function.Function...)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenMApplyMostSuccessAsync(U, Executor, long, TimeUnit, Function...)","u":"thenMApplyMostSuccessAsync(U,java.util.concurrent.Executor,long,java.util.concurrent.TimeUnit,java.util.function.Function...)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenMApplyMostSuccessAsync(U, long, TimeUnit, Function...)","u":"thenMApplyMostSuccessAsync(U,long,java.util.concurrent.TimeUnit,java.util.function.Function...)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"thenMRunAnyAsync(CompletableFuture, Executor, Runnable...)","u":"thenMRunAnyAsync(java.util.concurrent.CompletableFuture,java.util.concurrent.Executor,java.lang.Runnable...)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"thenMRunAnyAsync(CompletableFuture, Runnable...)","u":"thenMRunAnyAsync(java.util.concurrent.CompletableFuture,java.lang.Runnable...)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenMRunAnyAsync(Executor, Runnable...)","u":"thenMRunAnyAsync(java.util.concurrent.Executor,java.lang.Runnable...)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenMRunAnyAsync(Runnable...)","u":"thenMRunAnyAsync(java.lang.Runnable...)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"thenMRunAnySuccessAsync(CompletableFuture, Executor, Runnable...)","u":"thenMRunAnySuccessAsync(java.util.concurrent.CompletableFuture,java.util.concurrent.Executor,java.lang.Runnable...)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"thenMRunAnySuccessAsync(CompletableFuture, Runnable...)","u":"thenMRunAnySuccessAsync(java.util.concurrent.CompletableFuture,java.lang.Runnable...)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenMRunAnySuccessAsync(Executor, Runnable...)","u":"thenMRunAnySuccessAsync(java.util.concurrent.Executor,java.lang.Runnable...)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenMRunAnySuccessAsync(Runnable...)","u":"thenMRunAnySuccessAsync(java.lang.Runnable...)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"thenMRunAsync(CompletableFuture, Executor, Runnable...)","u":"thenMRunAsync(java.util.concurrent.CompletableFuture,java.util.concurrent.Executor,java.lang.Runnable...)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"thenMRunAsync(CompletableFuture, Runnable...)","u":"thenMRunAsync(java.util.concurrent.CompletableFuture,java.lang.Runnable...)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenMRunAsync(Executor, Runnable...)","u":"thenMRunAsync(java.util.concurrent.Executor,java.lang.Runnable...)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenMRunAsync(Runnable...)","u":"thenMRunAsync(java.lang.Runnable...)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"thenMRunFastFailAsync(CompletableFuture, Executor, Runnable...)","u":"thenMRunFastFailAsync(java.util.concurrent.CompletableFuture,java.util.concurrent.Executor,java.lang.Runnable...)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"thenMRunFastFailAsync(CompletableFuture, Runnable...)","u":"thenMRunFastFailAsync(java.util.concurrent.CompletableFuture,java.lang.Runnable...)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenMRunFastFailAsync(Executor, Runnable...)","u":"thenMRunFastFailAsync(java.util.concurrent.Executor,java.lang.Runnable...)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenMRunFastFailAsync(Runnable...)","u":"thenMRunFastFailAsync(java.lang.Runnable...)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenRun(Runnable)","u":"thenRun(java.lang.Runnable)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenRunAsync(Runnable)","u":"thenRunAsync(java.lang.Runnable)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenRunAsync(Runnable, Executor)","u":"thenRunAsync(java.lang.Runnable,java.util.concurrent.Executor)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"thenTupleMApplyAllSuccessAsync(CompletableFuture, Executor, Function, Function)","u":"thenTupleMApplyAllSuccessAsync(java.util.concurrent.CompletableFuture,java.util.concurrent.Executor,java.util.function.Function,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"thenTupleMApplyAllSuccessAsync(CompletableFuture, Executor, Function, Function, Function)","u":"thenTupleMApplyAllSuccessAsync(java.util.concurrent.CompletableFuture,java.util.concurrent.Executor,java.util.function.Function,java.util.function.Function,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"thenTupleMApplyAllSuccessAsync(CompletableFuture, Executor, Function, Function, Function, Function)","u":"thenTupleMApplyAllSuccessAsync(java.util.concurrent.CompletableFuture,java.util.concurrent.Executor,java.util.function.Function,java.util.function.Function,java.util.function.Function,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"thenTupleMApplyAllSuccessAsync(CompletableFuture, Executor, Function, Function, Function, Function, Function)","u":"thenTupleMApplyAllSuccessAsync(java.util.concurrent.CompletableFuture,java.util.concurrent.Executor,java.util.function.Function,java.util.function.Function,java.util.function.Function,java.util.function.Function,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"thenTupleMApplyAllSuccessAsync(CompletableFuture, Function, Function)","u":"thenTupleMApplyAllSuccessAsync(java.util.concurrent.CompletableFuture,java.util.function.Function,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"thenTupleMApplyAllSuccessAsync(CompletableFuture, Function, Function, Function)","u":"thenTupleMApplyAllSuccessAsync(java.util.concurrent.CompletableFuture,java.util.function.Function,java.util.function.Function,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"thenTupleMApplyAllSuccessAsync(CompletableFuture, Function, Function, Function, Function)","u":"thenTupleMApplyAllSuccessAsync(java.util.concurrent.CompletableFuture,java.util.function.Function,java.util.function.Function,java.util.function.Function,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"thenTupleMApplyAllSuccessAsync(CompletableFuture, Function, Function, Function, Function, Function)","u":"thenTupleMApplyAllSuccessAsync(java.util.concurrent.CompletableFuture,java.util.function.Function,java.util.function.Function,java.util.function.Function,java.util.function.Function,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenTupleMApplyAllSuccessAsync(Executor, Function, Function)","u":"thenTupleMApplyAllSuccessAsync(java.util.concurrent.Executor,java.util.function.Function,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenTupleMApplyAllSuccessAsync(Executor, Function, Function, Function)","u":"thenTupleMApplyAllSuccessAsync(java.util.concurrent.Executor,java.util.function.Function,java.util.function.Function,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenTupleMApplyAllSuccessAsync(Executor, Function, Function, Function, Function)","u":"thenTupleMApplyAllSuccessAsync(java.util.concurrent.Executor,java.util.function.Function,java.util.function.Function,java.util.function.Function,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenTupleMApplyAllSuccessAsync(Executor, Function, Function, Function, Function, Function)","u":"thenTupleMApplyAllSuccessAsync(java.util.concurrent.Executor,java.util.function.Function,java.util.function.Function,java.util.function.Function,java.util.function.Function,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenTupleMApplyAllSuccessAsync(Function, Function)","u":"thenTupleMApplyAllSuccessAsync(java.util.function.Function,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenTupleMApplyAllSuccessAsync(Function, Function, Function)","u":"thenTupleMApplyAllSuccessAsync(java.util.function.Function,java.util.function.Function,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenTupleMApplyAllSuccessAsync(Function, Function, Function, Function)","u":"thenTupleMApplyAllSuccessAsync(java.util.function.Function,java.util.function.Function,java.util.function.Function,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenTupleMApplyAllSuccessAsync(Function, Function, Function, Function, Function)","u":"thenTupleMApplyAllSuccessAsync(java.util.function.Function,java.util.function.Function,java.util.function.Function,java.util.function.Function,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"thenTupleMApplyAsync(CompletableFuture, Executor, Function, Function)","u":"thenTupleMApplyAsync(java.util.concurrent.CompletableFuture,java.util.concurrent.Executor,java.util.function.Function,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"thenTupleMApplyAsync(CompletableFuture, Executor, Function, Function, Function)","u":"thenTupleMApplyAsync(java.util.concurrent.CompletableFuture,java.util.concurrent.Executor,java.util.function.Function,java.util.function.Function,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"thenTupleMApplyAsync(CompletableFuture, Executor, Function, Function, Function, Function)","u":"thenTupleMApplyAsync(java.util.concurrent.CompletableFuture,java.util.concurrent.Executor,java.util.function.Function,java.util.function.Function,java.util.function.Function,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"thenTupleMApplyAsync(CompletableFuture, Executor, Function, Function, Function, Function, Function)","u":"thenTupleMApplyAsync(java.util.concurrent.CompletableFuture,java.util.concurrent.Executor,java.util.function.Function,java.util.function.Function,java.util.function.Function,java.util.function.Function,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"thenTupleMApplyAsync(CompletableFuture, Function, Function)","u":"thenTupleMApplyAsync(java.util.concurrent.CompletableFuture,java.util.function.Function,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"thenTupleMApplyAsync(CompletableFuture, Function, Function, Function)","u":"thenTupleMApplyAsync(java.util.concurrent.CompletableFuture,java.util.function.Function,java.util.function.Function,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"thenTupleMApplyAsync(CompletableFuture, Function, Function, Function, Function)","u":"thenTupleMApplyAsync(java.util.concurrent.CompletableFuture,java.util.function.Function,java.util.function.Function,java.util.function.Function,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"thenTupleMApplyAsync(CompletableFuture, Function, Function, Function, Function, Function)","u":"thenTupleMApplyAsync(java.util.concurrent.CompletableFuture,java.util.function.Function,java.util.function.Function,java.util.function.Function,java.util.function.Function,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenTupleMApplyAsync(Executor, Function, Function)","u":"thenTupleMApplyAsync(java.util.concurrent.Executor,java.util.function.Function,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenTupleMApplyAsync(Executor, Function, Function, Function)","u":"thenTupleMApplyAsync(java.util.concurrent.Executor,java.util.function.Function,java.util.function.Function,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenTupleMApplyAsync(Executor, Function, Function, Function, Function)","u":"thenTupleMApplyAsync(java.util.concurrent.Executor,java.util.function.Function,java.util.function.Function,java.util.function.Function,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenTupleMApplyAsync(Executor, Function, Function, Function, Function, Function)","u":"thenTupleMApplyAsync(java.util.concurrent.Executor,java.util.function.Function,java.util.function.Function,java.util.function.Function,java.util.function.Function,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenTupleMApplyAsync(Function, Function)","u":"thenTupleMApplyAsync(java.util.function.Function,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenTupleMApplyAsync(Function, Function, Function)","u":"thenTupleMApplyAsync(java.util.function.Function,java.util.function.Function,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenTupleMApplyAsync(Function, Function, Function, Function)","u":"thenTupleMApplyAsync(java.util.function.Function,java.util.function.Function,java.util.function.Function,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenTupleMApplyAsync(Function, Function, Function, Function, Function)","u":"thenTupleMApplyAsync(java.util.function.Function,java.util.function.Function,java.util.function.Function,java.util.function.Function,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"thenTupleMApplyFastFailAsync(CompletableFuture, Executor, Function, Function)","u":"thenTupleMApplyFastFailAsync(java.util.concurrent.CompletableFuture,java.util.concurrent.Executor,java.util.function.Function,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"thenTupleMApplyFastFailAsync(CompletableFuture, Executor, Function, Function, Function)","u":"thenTupleMApplyFastFailAsync(java.util.concurrent.CompletableFuture,java.util.concurrent.Executor,java.util.function.Function,java.util.function.Function,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"thenTupleMApplyFastFailAsync(CompletableFuture, Executor, Function, Function, Function, Function)","u":"thenTupleMApplyFastFailAsync(java.util.concurrent.CompletableFuture,java.util.concurrent.Executor,java.util.function.Function,java.util.function.Function,java.util.function.Function,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"thenTupleMApplyFastFailAsync(CompletableFuture, Executor, Function, Function, Function, Function, Function)","u":"thenTupleMApplyFastFailAsync(java.util.concurrent.CompletableFuture,java.util.concurrent.Executor,java.util.function.Function,java.util.function.Function,java.util.function.Function,java.util.function.Function,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"thenTupleMApplyFastFailAsync(CompletableFuture, Function, Function)","u":"thenTupleMApplyFastFailAsync(java.util.concurrent.CompletableFuture,java.util.function.Function,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"thenTupleMApplyFastFailAsync(CompletableFuture, Function, Function, Function)","u":"thenTupleMApplyFastFailAsync(java.util.concurrent.CompletableFuture,java.util.function.Function,java.util.function.Function,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"thenTupleMApplyFastFailAsync(CompletableFuture, Function, Function, Function, Function)","u":"thenTupleMApplyFastFailAsync(java.util.concurrent.CompletableFuture,java.util.function.Function,java.util.function.Function,java.util.function.Function,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"thenTupleMApplyFastFailAsync(CompletableFuture, Function, Function, Function, Function, Function)","u":"thenTupleMApplyFastFailAsync(java.util.concurrent.CompletableFuture,java.util.function.Function,java.util.function.Function,java.util.function.Function,java.util.function.Function,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenTupleMApplyFastFailAsync(Executor, Function, Function)","u":"thenTupleMApplyFastFailAsync(java.util.concurrent.Executor,java.util.function.Function,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenTupleMApplyFastFailAsync(Executor, Function, Function, Function)","u":"thenTupleMApplyFastFailAsync(java.util.concurrent.Executor,java.util.function.Function,java.util.function.Function,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenTupleMApplyFastFailAsync(Executor, Function, Function, Function, Function)","u":"thenTupleMApplyFastFailAsync(java.util.concurrent.Executor,java.util.function.Function,java.util.function.Function,java.util.function.Function,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenTupleMApplyFastFailAsync(Executor, Function, Function, Function, Function, Function)","u":"thenTupleMApplyFastFailAsync(java.util.concurrent.Executor,java.util.function.Function,java.util.function.Function,java.util.function.Function,java.util.function.Function,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenTupleMApplyFastFailAsync(Function, Function)","u":"thenTupleMApplyFastFailAsync(java.util.function.Function,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenTupleMApplyFastFailAsync(Function, Function, Function)","u":"thenTupleMApplyFastFailAsync(java.util.function.Function,java.util.function.Function,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenTupleMApplyFastFailAsync(Function, Function, Function, Function)","u":"thenTupleMApplyFastFailAsync(java.util.function.Function,java.util.function.Function,java.util.function.Function,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenTupleMApplyFastFailAsync(Function, Function, Function, Function, Function)","u":"thenTupleMApplyFastFailAsync(java.util.function.Function,java.util.function.Function,java.util.function.Function,java.util.function.Function,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"thenTupleMApplyMostSuccessAsync(CompletableFuture, Executor, long, TimeUnit, Function, Function)","u":"thenTupleMApplyMostSuccessAsync(java.util.concurrent.CompletableFuture,java.util.concurrent.Executor,long,java.util.concurrent.TimeUnit,java.util.function.Function,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"thenTupleMApplyMostSuccessAsync(CompletableFuture, Executor, long, TimeUnit, Function, Function, Function)","u":"thenTupleMApplyMostSuccessAsync(java.util.concurrent.CompletableFuture,java.util.concurrent.Executor,long,java.util.concurrent.TimeUnit,java.util.function.Function,java.util.function.Function,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"thenTupleMApplyMostSuccessAsync(CompletableFuture, Executor, long, TimeUnit, Function, Function, Function, Function)","u":"thenTupleMApplyMostSuccessAsync(java.util.concurrent.CompletableFuture,java.util.concurrent.Executor,long,java.util.concurrent.TimeUnit,java.util.function.Function,java.util.function.Function,java.util.function.Function,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"thenTupleMApplyMostSuccessAsync(CompletableFuture, Executor, long, TimeUnit, Function, Function, Function, Function, Function)","u":"thenTupleMApplyMostSuccessAsync(java.util.concurrent.CompletableFuture,java.util.concurrent.Executor,long,java.util.concurrent.TimeUnit,java.util.function.Function,java.util.function.Function,java.util.function.Function,java.util.function.Function,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"thenTupleMApplyMostSuccessAsync(CompletableFuture, long, TimeUnit, Function, Function)","u":"thenTupleMApplyMostSuccessAsync(java.util.concurrent.CompletableFuture,long,java.util.concurrent.TimeUnit,java.util.function.Function,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"thenTupleMApplyMostSuccessAsync(CompletableFuture, long, TimeUnit, Function, Function, Function)","u":"thenTupleMApplyMostSuccessAsync(java.util.concurrent.CompletableFuture,long,java.util.concurrent.TimeUnit,java.util.function.Function,java.util.function.Function,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"thenTupleMApplyMostSuccessAsync(CompletableFuture, long, TimeUnit, Function, Function, Function, Function)","u":"thenTupleMApplyMostSuccessAsync(java.util.concurrent.CompletableFuture,long,java.util.concurrent.TimeUnit,java.util.function.Function,java.util.function.Function,java.util.function.Function,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"thenTupleMApplyMostSuccessAsync(CompletableFuture, long, TimeUnit, Function, Function, Function, Function, Function)","u":"thenTupleMApplyMostSuccessAsync(java.util.concurrent.CompletableFuture,long,java.util.concurrent.TimeUnit,java.util.function.Function,java.util.function.Function,java.util.function.Function,java.util.function.Function,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenTupleMApplyMostSuccessAsync(Executor, long, TimeUnit, Function, Function)","u":"thenTupleMApplyMostSuccessAsync(java.util.concurrent.Executor,long,java.util.concurrent.TimeUnit,java.util.function.Function,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenTupleMApplyMostSuccessAsync(Executor, long, TimeUnit, Function, Function, Function)","u":"thenTupleMApplyMostSuccessAsync(java.util.concurrent.Executor,long,java.util.concurrent.TimeUnit,java.util.function.Function,java.util.function.Function,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenTupleMApplyMostSuccessAsync(Executor, long, TimeUnit, Function, Function, Function, Function)","u":"thenTupleMApplyMostSuccessAsync(java.util.concurrent.Executor,long,java.util.concurrent.TimeUnit,java.util.function.Function,java.util.function.Function,java.util.function.Function,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenTupleMApplyMostSuccessAsync(Executor, long, TimeUnit, Function, Function, Function, Function, Function)","u":"thenTupleMApplyMostSuccessAsync(java.util.concurrent.Executor,long,java.util.concurrent.TimeUnit,java.util.function.Function,java.util.function.Function,java.util.function.Function,java.util.function.Function,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenTupleMApplyMostSuccessAsync(long, TimeUnit, Function, Function)","u":"thenTupleMApplyMostSuccessAsync(long,java.util.concurrent.TimeUnit,java.util.function.Function,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenTupleMApplyMostSuccessAsync(long, TimeUnit, Function, Function, Function)","u":"thenTupleMApplyMostSuccessAsync(long,java.util.concurrent.TimeUnit,java.util.function.Function,java.util.function.Function,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenTupleMApplyMostSuccessAsync(long, TimeUnit, Function, Function, Function, Function)","u":"thenTupleMApplyMostSuccessAsync(long,java.util.concurrent.TimeUnit,java.util.function.Function,java.util.function.Function,java.util.function.Function,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"Cffu","l":"thenTupleMApplyMostSuccessAsync(long, TimeUnit, Function, Function, Function, Function, Function)","u":"thenTupleMApplyMostSuccessAsync(long,java.util.concurrent.TimeUnit,java.util.function.Function,java.util.function.Function,java.util.function.Function,java.util.function.Function,java.util.function.Function)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"toCffu(CompletionStage)","u":"toCffu(java.util.concurrent.CompletionStage)"},{"p":"io.foldright.cffu","c":"ListenableFutureUtils","l":"toCffu(ListenableFuture, CffuFactory, boolean)","u":"toCffu(com.google.common.util.concurrent.ListenableFuture,io.foldright.cffu.CffuFactory,boolean)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"toCffuArray(CompletionStage...)","u":"toCffuArray(java.util.concurrent.CompletionStage...)"},{"p":"io.foldright.cffu","c":"CffuState","l":"toCffuState(Future.State)","u":"toCffuState(java.util.concurrent.Future.State)"},{"p":"io.foldright.cffu","c":"Cffu","l":"toCompletableFuture()"},{"p":"io.foldright.cffu","c":"ListenableFutureUtils","l":"toCompletableFuture(ListenableFuture, Executor, boolean)","u":"toCompletableFuture(com.google.common.util.concurrent.ListenableFuture,java.util.concurrent.Executor,boolean)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"toCompletableFutureArray(CompletionStage...)","u":"toCompletableFutureArray(java.util.concurrent.CompletionStage...)"},{"p":"io.foldright.cffu","c":"CffuState","l":"toFutureState()"},{"p":"io.foldright.cffu","c":"ListenableFutureUtils","l":"toListenableFuture(Cffu)","u":"toListenableFuture(io.foldright.cffu.Cffu)"},{"p":"io.foldright.cffu","c":"ListenableFutureUtils","l":"toListenableFuture(CompletableFuture)","u":"toListenableFuture(java.util.concurrent.CompletableFuture)"},{"p":"io.foldright.cffu","c":"Cffu","l":"toString()"},{"p":"io.foldright.cffu.tuple","c":"Tuple2","l":"toString()"},{"p":"io.foldright.cffu.tuple","c":"Tuple3","l":"toString()"},{"p":"io.foldright.cffu.tuple","c":"Tuple4","l":"toString()"},{"p":"io.foldright.cffu.tuple","c":"Tuple5","l":"toString()"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"tupleMSupplyAllSuccessAsync(Executor, Supplier, Supplier)","u":"tupleMSupplyAllSuccessAsync(java.util.concurrent.Executor,java.util.function.Supplier,java.util.function.Supplier)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"tupleMSupplyAllSuccessAsync(Executor, Supplier, Supplier)","u":"tupleMSupplyAllSuccessAsync(java.util.concurrent.Executor,java.util.function.Supplier,java.util.function.Supplier)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"tupleMSupplyAllSuccessAsync(Executor, Supplier, Supplier, Supplier)","u":"tupleMSupplyAllSuccessAsync(java.util.concurrent.Executor,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"tupleMSupplyAllSuccessAsync(Executor, Supplier, Supplier, Supplier)","u":"tupleMSupplyAllSuccessAsync(java.util.concurrent.Executor,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"tupleMSupplyAllSuccessAsync(Executor, Supplier, Supplier, Supplier, Supplier)","u":"tupleMSupplyAllSuccessAsync(java.util.concurrent.Executor,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"tupleMSupplyAllSuccessAsync(Executor, Supplier, Supplier, Supplier, Supplier)","u":"tupleMSupplyAllSuccessAsync(java.util.concurrent.Executor,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"tupleMSupplyAllSuccessAsync(Executor, Supplier, Supplier, Supplier, Supplier, Supplier)","u":"tupleMSupplyAllSuccessAsync(java.util.concurrent.Executor,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"tupleMSupplyAllSuccessAsync(Executor, Supplier, Supplier, Supplier, Supplier, Supplier)","u":"tupleMSupplyAllSuccessAsync(java.util.concurrent.Executor,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"tupleMSupplyAllSuccessAsync(Supplier, Supplier)","u":"tupleMSupplyAllSuccessAsync(java.util.function.Supplier,java.util.function.Supplier)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"tupleMSupplyAllSuccessAsync(Supplier, Supplier)","u":"tupleMSupplyAllSuccessAsync(java.util.function.Supplier,java.util.function.Supplier)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"tupleMSupplyAllSuccessAsync(Supplier, Supplier, Supplier)","u":"tupleMSupplyAllSuccessAsync(java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"tupleMSupplyAllSuccessAsync(Supplier, Supplier, Supplier)","u":"tupleMSupplyAllSuccessAsync(java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"tupleMSupplyAllSuccessAsync(Supplier, Supplier, Supplier, Supplier)","u":"tupleMSupplyAllSuccessAsync(java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"tupleMSupplyAllSuccessAsync(Supplier, Supplier, Supplier, Supplier)","u":"tupleMSupplyAllSuccessAsync(java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"tupleMSupplyAllSuccessAsync(Supplier, Supplier, Supplier, Supplier, Supplier)","u":"tupleMSupplyAllSuccessAsync(java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"tupleMSupplyAllSuccessAsync(Supplier, Supplier, Supplier, Supplier, Supplier)","u":"tupleMSupplyAllSuccessAsync(java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"tupleMSupplyAsync(Executor, Supplier, Supplier)","u":"tupleMSupplyAsync(java.util.concurrent.Executor,java.util.function.Supplier,java.util.function.Supplier)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"tupleMSupplyAsync(Executor, Supplier, Supplier)","u":"tupleMSupplyAsync(java.util.concurrent.Executor,java.util.function.Supplier,java.util.function.Supplier)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"tupleMSupplyAsync(Executor, Supplier, Supplier, Supplier)","u":"tupleMSupplyAsync(java.util.concurrent.Executor,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"tupleMSupplyAsync(Executor, Supplier, Supplier, Supplier)","u":"tupleMSupplyAsync(java.util.concurrent.Executor,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"tupleMSupplyAsync(Executor, Supplier, Supplier, Supplier, Supplier)","u":"tupleMSupplyAsync(java.util.concurrent.Executor,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"tupleMSupplyAsync(Executor, Supplier, Supplier, Supplier, Supplier)","u":"tupleMSupplyAsync(java.util.concurrent.Executor,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"tupleMSupplyAsync(Executor, Supplier, Supplier, Supplier, Supplier, Supplier)","u":"tupleMSupplyAsync(java.util.concurrent.Executor,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"tupleMSupplyAsync(Executor, Supplier, Supplier, Supplier, Supplier, Supplier)","u":"tupleMSupplyAsync(java.util.concurrent.Executor,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"tupleMSupplyAsync(Supplier, Supplier)","u":"tupleMSupplyAsync(java.util.function.Supplier,java.util.function.Supplier)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"tupleMSupplyAsync(Supplier, Supplier)","u":"tupleMSupplyAsync(java.util.function.Supplier,java.util.function.Supplier)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"tupleMSupplyAsync(Supplier, Supplier, Supplier)","u":"tupleMSupplyAsync(java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"tupleMSupplyAsync(Supplier, Supplier, Supplier)","u":"tupleMSupplyAsync(java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"tupleMSupplyAsync(Supplier, Supplier, Supplier, Supplier)","u":"tupleMSupplyAsync(java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"tupleMSupplyAsync(Supplier, Supplier, Supplier, Supplier)","u":"tupleMSupplyAsync(java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"tupleMSupplyAsync(Supplier, Supplier, Supplier, Supplier, Supplier)","u":"tupleMSupplyAsync(java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"tupleMSupplyAsync(Supplier, Supplier, Supplier, Supplier, Supplier)","u":"tupleMSupplyAsync(java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"tupleMSupplyFastFailAsync(Executor, Supplier, Supplier)","u":"tupleMSupplyFastFailAsync(java.util.concurrent.Executor,java.util.function.Supplier,java.util.function.Supplier)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"tupleMSupplyFastFailAsync(Executor, Supplier, Supplier)","u":"tupleMSupplyFastFailAsync(java.util.concurrent.Executor,java.util.function.Supplier,java.util.function.Supplier)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"tupleMSupplyFastFailAsync(Executor, Supplier, Supplier, Supplier)","u":"tupleMSupplyFastFailAsync(java.util.concurrent.Executor,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"tupleMSupplyFastFailAsync(Executor, Supplier, Supplier, Supplier)","u":"tupleMSupplyFastFailAsync(java.util.concurrent.Executor,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"tupleMSupplyFastFailAsync(Executor, Supplier, Supplier, Supplier, Supplier)","u":"tupleMSupplyFastFailAsync(java.util.concurrent.Executor,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"tupleMSupplyFastFailAsync(Executor, Supplier, Supplier, Supplier, Supplier)","u":"tupleMSupplyFastFailAsync(java.util.concurrent.Executor,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"tupleMSupplyFastFailAsync(Executor, Supplier, Supplier, Supplier, Supplier, Supplier)","u":"tupleMSupplyFastFailAsync(java.util.concurrent.Executor,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"tupleMSupplyFastFailAsync(Executor, Supplier, Supplier, Supplier, Supplier, Supplier)","u":"tupleMSupplyFastFailAsync(java.util.concurrent.Executor,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"tupleMSupplyFastFailAsync(Supplier, Supplier)","u":"tupleMSupplyFastFailAsync(java.util.function.Supplier,java.util.function.Supplier)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"tupleMSupplyFastFailAsync(Supplier, Supplier)","u":"tupleMSupplyFastFailAsync(java.util.function.Supplier,java.util.function.Supplier)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"tupleMSupplyFastFailAsync(Supplier, Supplier, Supplier)","u":"tupleMSupplyFastFailAsync(java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"tupleMSupplyFastFailAsync(Supplier, Supplier, Supplier)","u":"tupleMSupplyFastFailAsync(java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"tupleMSupplyFastFailAsync(Supplier, Supplier, Supplier, Supplier)","u":"tupleMSupplyFastFailAsync(java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"tupleMSupplyFastFailAsync(Supplier, Supplier, Supplier, Supplier)","u":"tupleMSupplyFastFailAsync(java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"tupleMSupplyFastFailAsync(Supplier, Supplier, Supplier, Supplier, Supplier)","u":"tupleMSupplyFastFailAsync(java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"tupleMSupplyFastFailAsync(Supplier, Supplier, Supplier, Supplier, Supplier)","u":"tupleMSupplyFastFailAsync(java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"tupleMSupplyMostSuccessAsync(Executor, long, TimeUnit, Supplier, Supplier)","u":"tupleMSupplyMostSuccessAsync(java.util.concurrent.Executor,long,java.util.concurrent.TimeUnit,java.util.function.Supplier,java.util.function.Supplier)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"tupleMSupplyMostSuccessAsync(Executor, long, TimeUnit, Supplier, Supplier)","u":"tupleMSupplyMostSuccessAsync(java.util.concurrent.Executor,long,java.util.concurrent.TimeUnit,java.util.function.Supplier,java.util.function.Supplier)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"tupleMSupplyMostSuccessAsync(Executor, long, TimeUnit, Supplier, Supplier, Supplier)","u":"tupleMSupplyMostSuccessAsync(java.util.concurrent.Executor,long,java.util.concurrent.TimeUnit,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"tupleMSupplyMostSuccessAsync(Executor, long, TimeUnit, Supplier, Supplier, Supplier)","u":"tupleMSupplyMostSuccessAsync(java.util.concurrent.Executor,long,java.util.concurrent.TimeUnit,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"tupleMSupplyMostSuccessAsync(Executor, long, TimeUnit, Supplier, Supplier, Supplier, Supplier)","u":"tupleMSupplyMostSuccessAsync(java.util.concurrent.Executor,long,java.util.concurrent.TimeUnit,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"tupleMSupplyMostSuccessAsync(Executor, long, TimeUnit, Supplier, Supplier, Supplier, Supplier)","u":"tupleMSupplyMostSuccessAsync(java.util.concurrent.Executor,long,java.util.concurrent.TimeUnit,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"tupleMSupplyMostSuccessAsync(Executor, long, TimeUnit, Supplier, Supplier, Supplier, Supplier, Supplier)","u":"tupleMSupplyMostSuccessAsync(java.util.concurrent.Executor,long,java.util.concurrent.TimeUnit,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"tupleMSupplyMostSuccessAsync(Executor, long, TimeUnit, Supplier, Supplier, Supplier, Supplier, Supplier)","u":"tupleMSupplyMostSuccessAsync(java.util.concurrent.Executor,long,java.util.concurrent.TimeUnit,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"tupleMSupplyMostSuccessAsync(long, TimeUnit, Supplier, Supplier)","u":"tupleMSupplyMostSuccessAsync(long,java.util.concurrent.TimeUnit,java.util.function.Supplier,java.util.function.Supplier)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"tupleMSupplyMostSuccessAsync(long, TimeUnit, Supplier, Supplier)","u":"tupleMSupplyMostSuccessAsync(long,java.util.concurrent.TimeUnit,java.util.function.Supplier,java.util.function.Supplier)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"tupleMSupplyMostSuccessAsync(long, TimeUnit, Supplier, Supplier, Supplier)","u":"tupleMSupplyMostSuccessAsync(long,java.util.concurrent.TimeUnit,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"tupleMSupplyMostSuccessAsync(long, TimeUnit, Supplier, Supplier, Supplier)","u":"tupleMSupplyMostSuccessAsync(long,java.util.concurrent.TimeUnit,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"tupleMSupplyMostSuccessAsync(long, TimeUnit, Supplier, Supplier, Supplier, Supplier)","u":"tupleMSupplyMostSuccessAsync(long,java.util.concurrent.TimeUnit,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"tupleMSupplyMostSuccessAsync(long, TimeUnit, Supplier, Supplier, Supplier, Supplier)","u":"tupleMSupplyMostSuccessAsync(long,java.util.concurrent.TimeUnit,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier)"},{"p":"io.foldright.cffu","c":"CffuFactory","l":"tupleMSupplyMostSuccessAsync(long, TimeUnit, Supplier, Supplier, Supplier, Supplier, Supplier)","u":"tupleMSupplyMostSuccessAsync(long,java.util.concurrent.TimeUnit,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"tupleMSupplyMostSuccessAsync(long, TimeUnit, Supplier, Supplier, Supplier, Supplier, Supplier)","u":"tupleMSupplyMostSuccessAsync(long,java.util.concurrent.TimeUnit,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier,java.util.function.Supplier)"},{"p":"io.foldright.cffu","c":"Cffu","l":"unsafeCompleteOnTimeout(T, long, TimeUnit)","u":"unsafeCompleteOnTimeout(T,long,java.util.concurrent.TimeUnit)"},{"p":"io.foldright.cffu","c":"Cffu","l":"unsafeOrTimeout(long, TimeUnit)","u":"unsafeOrTimeout(long,java.util.concurrent.TimeUnit)"},{"p":"io.foldright.cffu","c":"CompletableFutureUtils","l":"unwrapCfException(Throwable)","u":"unwrapCfException(java.lang.Throwable)"},{"p":"io.foldright.cffu","c":"CffuState","l":"valueOf(String)","u":"valueOf(java.lang.String)"},{"p":"io.foldright.cffu","c":"CffuState","l":"values()"},{"p":"io.foldright.cffu","c":"Cffu","l":"whenComplete(BiConsumer)","u":"whenComplete(java.util.function.BiConsumer)"},{"p":"io.foldright.cffu","c":"Cffu","l":"whenCompleteAsync(BiConsumer)","u":"whenCompleteAsync(java.util.function.BiConsumer)"},{"p":"io.foldright.cffu","c":"Cffu","l":"whenCompleteAsync(BiConsumer, Executor)","u":"whenCompleteAsync(java.util.function.BiConsumer,java.util.concurrent.Executor)"},{"p":"io.foldright.cffu.spi","c":"ExecutorWrapperProvider","l":"wrap(Executor)","u":"wrap(java.util.concurrent.Executor)"},{"p":"io.foldright.cffu.ttl","c":"CffuTtlExecutorWrapperProvider","l":"wrap(Executor)","u":"wrap(java.util.concurrent.Executor)"}];updateSearchResults(); \ No newline at end of file diff --git a/cffu/1.0.0-Alpha22/module-search-index.js b/cffu/1.0.0-Alpha22/module-search-index.js new file mode 100644 index 0000000..0d59754 --- /dev/null +++ b/cffu/1.0.0-Alpha22/module-search-index.js @@ -0,0 +1 @@ +moduleSearchIndex = [];updateSearchResults(); \ No newline at end of file diff --git a/cffu/1.0.0-Alpha22/overview-summary.html b/cffu/1.0.0-Alpha22/overview-summary.html new file mode 100644 index 0000000..a3747bd --- /dev/null +++ b/cffu/1.0.0-Alpha22/overview-summary.html @@ -0,0 +1,26 @@ + + + + +CompletableFuture-Fu(cffu) 1.0.0-Alpha22 API + + + + + + + + + + + +
+ +

index.html

+
+ + diff --git a/cffu/1.0.0-Alpha22/overview-tree.html b/cffu/1.0.0-Alpha22/overview-tree.html new file mode 100644 index 0000000..2946328 --- /dev/null +++ b/cffu/1.0.0-Alpha22/overview-tree.html @@ -0,0 +1,121 @@ + + + + +Class Hierarchy (CompletableFuture-Fu(cffu) 1.0.0-Alpha22 API) + + + + + + + + + + + + + + +
+ +
+
+
+

Hierarchy For All Packages

+
+Package Hierarchies: + +
+

Class Hierarchy

+ +
+
+

Interface Hierarchy

+ +
+
+

Enum Hierarchy

+ +
+
+
+
+ +
+
+
+ + diff --git a/cffu/1.0.0-Alpha22/package-search-index.js b/cffu/1.0.0-Alpha22/package-search-index.js new file mode 100644 index 0000000..1d60339 --- /dev/null +++ b/cffu/1.0.0-Alpha22/package-search-index.js @@ -0,0 +1 @@ +packageSearchIndex = [{"l":"All Packages","u":"allpackages-index.html"},{"l":"io.foldright.cffu"},{"l":"io.foldright.cffu.spi"},{"l":"io.foldright.cffu.ttl"},{"l":"io.foldright.cffu.tuple"}];updateSearchResults(); \ No newline at end of file diff --git a/cffu/1.0.0-Alpha22/resources/glass.png b/cffu/1.0.0-Alpha22/resources/glass.png new file mode 100644 index 0000000..a7f591f Binary files /dev/null and b/cffu/1.0.0-Alpha22/resources/glass.png differ diff --git a/cffu/1.0.0-Alpha22/resources/x.png b/cffu/1.0.0-Alpha22/resources/x.png new file mode 100644 index 0000000..30548a7 Binary files /dev/null and b/cffu/1.0.0-Alpha22/resources/x.png differ diff --git a/cffu/1.0.0-Alpha22/script-dir/jquery-3.6.1.min.js b/cffu/1.0.0-Alpha22/script-dir/jquery-3.6.1.min.js new file mode 100644 index 0000000..2c69bc9 --- /dev/null +++ b/cffu/1.0.0-Alpha22/script-dir/jquery-3.6.1.min.js @@ -0,0 +1,2 @@ +/*! jQuery v3.6.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */ +!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){"use strict";var t=[],r=Object.getPrototypeOf,s=t.slice,g=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},u=t.push,i=t.indexOf,n={},o=n.toString,y=n.hasOwnProperty,a=y.toString,l=a.call(Object),v={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},x=function(e){return null!=e&&e===e.window},E=C.document,c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.6.1",S=function(e,t){return new S.fn.init(e,t)};function p(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp(F),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(p.childNodes),p.childNodes),t[p.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&v(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!N[t+" "]&&(!y||!y.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&(U.test(t)||z.test(t))){(f=ee.test(t)&&ve(e.parentNode)||e)===e&&d.scope||((s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=S)),o=(l=h(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+xe(l[o]);c=l.join(",")}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){N(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return g(t.replace(B,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[S]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ye(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ve(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:p;return r!=C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),p!=C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.scope=ce(function(e){return a.appendChild(e).appendChild(C.createElement("div")),"undefined"!=typeof e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=S,!C.getElementsByName||!C.getElementsByName(S).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],y=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){var t;a.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&y.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||y.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+S+"-]").length||y.push("~="),(t=C.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||y.push("\\["+M+"*name"+M+"*="+M+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||y.push(":checked"),e.querySelectorAll("a#"+S+"+*").length||y.push(".#.+[+~]"),e.querySelectorAll("\\\f"),y.push("[\\r\\n\\f]")}),ce(function(e){e.innerHTML="";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&y.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&y.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&y.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),y.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",F)}),y=y.length&&new RegExp(y.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),v=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},j=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e==C||e.ownerDocument==p&&v(p,e)?-1:t==C||t.ownerDocument==p&&v(p,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e==C?-1:t==C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]==p?-1:s[r]==p?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(T(e),d.matchesSelector&&E&&!N[t+" "]&&(!s||!s.test(t))&&(!y||!y.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){N(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=m[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&m(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,n,r){return m(n)?S.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?S.grep(e,function(e){return e===n!==r}):"string"!=typeof n?S.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(S.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||D,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:q.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof S?t[0]:t,S.merge(this,S.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),N.test(r[1])&&S.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(S):S.makeArray(e,this)}).prototype=S.fn,D=S(E);var L=/^(?:parents|prev(?:Until|All))/,H={children:!0,contents:!0,next:!0,prev:!0};function O(e,t){while((e=e[t])&&1!==e.nodeType);return e}S.fn.extend({has:function(e){var t=S(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i;ce=E.createDocumentFragment().appendChild(E.createElement("div")),(fe=E.createElement("input")).setAttribute("type","radio"),fe.setAttribute("checked","checked"),fe.setAttribute("name","t"),ce.appendChild(fe),v.checkClone=ce.cloneNode(!0).cloneNode(!0).lastChild.checked,ce.innerHTML="",v.noCloneChecked=!!ce.cloneNode(!0).lastChild.defaultValue,ce.innerHTML="",v.option=!!ce.lastChild;var ge={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function ye(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?S.merge([e],n):n}function ve(e,t){for(var n=0,r=e.length;n",""]);var me=/<|&#?\w+;/;function xe(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d\s*$/g;function je(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&S(e).children("tbody")[0]||e}function De(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function qe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Le(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(Y.hasData(e)&&(s=Y.get(e).events))for(i in Y.remove(t,"handle events"),s)for(n=0,r=s[i].length;n").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var Ut,Xt=[],Vt=/(=)\?(?=&|$)|\?\?/;S.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Xt.pop()||S.expando+"_"+Ct.guid++;return this[e]=!0,e}}),S.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Vt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Vt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Vt,"$1"+r):!1!==e.jsonp&&(e.url+=(Et.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||S.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?S(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Xt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),v.createHTMLDocument=((Ut=E.implementation.createHTMLDocument("").body).innerHTML="
",2===Ut.childNodes.length),S.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(v.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=N.exec(e))?[t.createElement(i[1])]:(i=xe([e],t,o),o&&o.length&&S(o).remove(),S.merge([],i.childNodes)));var r,i,o},S.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(S.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},S.expr.pseudos.animated=function(t){return S.grep(S.timers,function(e){return t===e.elem}).length},S.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=S.css(e,"position"),c=S(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=S.css(e,"top"),u=S.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,S.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},S.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){S.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===S.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===S.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=S(e).offset()).top+=S.css(e,"borderTopWidth",!0),i.left+=S.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-S.css(r,"marginTop",!0),left:t.left-i.left-S.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===S.css(e,"position"))e=e.offsetParent;return e||re})}}),S.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;S.fn[t]=function(e){return B(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),S.each(["top","left"],function(e,n){S.cssHooks[n]=_e(v.pixelPosition,function(e,t){if(t)return t=Be(e,n),Pe.test(t)?S(e).position()[n]+"px":t})}),S.each({Height:"height",Width:"width"},function(a,s){S.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){S.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return B(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?S.css(e,t,i):S.style(e,t,n,i)},s,n?e:void 0,n)}})}),S.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){S.fn[t]=function(e){return this.on(t,e)}}),S.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),S.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){S.fn[n]=function(e,t){return 0",options:{classes:{},disabled:!1,create:null},_createWidget:function(t,e){e=x(e||this.defaultElement||this)[0],this.element=x(e),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=x(),this.hoverable=x(),this.focusable=x(),this.classesElementLookup={},e!==this&&(x.data(e,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===e&&this.destroy()}}),this.document=x(e.style?e.ownerDocument:e.document||e),this.window=x(this.document[0].defaultView||this.document[0].parentWindow)),this.options=x.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:x.noop,_create:x.noop,_init:x.noop,destroy:function(){var i=this;this._destroy(),x.each(this.classesElementLookup,function(t,e){i._removeClass(e,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:x.noop,widget:function(){return this.element},option:function(t,e){var i,s,n,o=t;if(0===arguments.length)return x.widget.extend({},this.options);if("string"==typeof t)if(o={},t=(i=t.split(".")).shift(),i.length){for(s=o[t]=x.widget.extend({},this.options[t]),n=0;n
"),i=e.children()[0];return x("body").append(e),t=i.offsetWidth,e.css("overflow","scroll"),t===(i=i.offsetWidth)&&(i=e[0].clientWidth),e.remove(),s=t-i},getScrollInfo:function(t){var e=t.isWindow||t.isDocument?"":t.element.css("overflow-x"),i=t.isWindow||t.isDocument?"":t.element.css("overflow-y"),e="scroll"===e||"auto"===e&&t.widthC(E(s),E(n))?o.important="horizontal":o.important="vertical",c.using.call(this,t,o)}),l.offset(x.extend(u,{using:t}))})},x.ui.position={fit:{left:function(t,e){var i=e.within,s=i.isWindow?i.scrollLeft:i.offset.left,n=i.width,o=t.left-e.collisionPosition.marginLeft,l=s-o,a=o+e.collisionWidth-n-s;e.collisionWidth>n?0n?0",delay:300,options:{icons:{submenu:"ui-icon-caret-1-e"},items:"> *",menus:"ul",position:{my:"left top",at:"right top"},role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element,this.mouseHandled=!1,this.lastMousePosition={x:null,y:null},this.element.uniqueId().attr({role:this.options.role,tabIndex:0}),this._addClass("ui-menu","ui-widget ui-widget-content"),this._on({"mousedown .ui-menu-item":function(t){t.preventDefault(),this._activateItem(t)},"click .ui-menu-item":function(t){var e=x(t.target),i=x(x.ui.safeActiveElement(this.document[0]));!this.mouseHandled&&e.not(".ui-state-disabled").length&&(this.select(t),t.isPropagationStopped()||(this.mouseHandled=!0),e.has(".ui-menu").length?this.expand(t):!this.element.is(":focus")&&i.closest(".ui-menu").length&&(this.element.trigger("focus",[!0]),this.active&&1===this.active.parents(".ui-menu").length&&clearTimeout(this.timer)))},"mouseenter .ui-menu-item":"_activateItem","mousemove .ui-menu-item":"_activateItem",mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(t,e){var i=this.active||this._menuItems().first();e||this.focus(t,i)},blur:function(t){this._delay(function(){x.contains(this.element[0],x.ui.safeActiveElement(this.document[0]))||this.collapseAll(t)})},keydown:"_keydown"}),this.refresh(),this._on(this.document,{click:function(t){this._closeOnDocumentClick(t)&&this.collapseAll(t,!0),this.mouseHandled=!1}})},_activateItem:function(t){var e,i;this.previousFilter||t.clientX===this.lastMousePosition.x&&t.clientY===this.lastMousePosition.y||(this.lastMousePosition={x:t.clientX,y:t.clientY},e=x(t.target).closest(".ui-menu-item"),i=x(t.currentTarget),e[0]===i[0]&&(i.is(".ui-state-active")||(this._removeClass(i.siblings().children(".ui-state-active"),null,"ui-state-active"),this.focus(t,i))))},_destroy:function(){var t=this.element.find(".ui-menu-item").removeAttr("role aria-disabled").children(".ui-menu-item-wrapper").removeUniqueId().removeAttr("tabIndex role aria-haspopup");this.element.removeAttr("aria-activedescendant").find(".ui-menu").addBack().removeAttr("role aria-labelledby aria-expanded aria-hidden aria-disabled tabIndex").removeUniqueId().show(),t.children().each(function(){var t=x(this);t.data("ui-menu-submenu-caret")&&t.remove()})},_keydown:function(t){var e,i,s,n=!0;switch(t.keyCode){case x.ui.keyCode.PAGE_UP:this.previousPage(t);break;case x.ui.keyCode.PAGE_DOWN:this.nextPage(t);break;case x.ui.keyCode.HOME:this._move("first","first",t);break;case x.ui.keyCode.END:this._move("last","last",t);break;case x.ui.keyCode.UP:this.previous(t);break;case x.ui.keyCode.DOWN:this.next(t);break;case x.ui.keyCode.LEFT:this.collapse(t);break;case x.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(t);break;case x.ui.keyCode.ENTER:case x.ui.keyCode.SPACE:this._activate(t);break;case x.ui.keyCode.ESCAPE:this.collapse(t);break;default:e=this.previousFilter||"",s=n=!1,i=96<=t.keyCode&&t.keyCode<=105?(t.keyCode-96).toString():String.fromCharCode(t.keyCode),clearTimeout(this.filterTimer),i===e?s=!0:i=e+i,e=this._filterMenuItems(i),(e=s&&-1!==e.index(this.active.next())?this.active.nextAll(".ui-menu-item"):e).length||(i=String.fromCharCode(t.keyCode),e=this._filterMenuItems(i)),e.length?(this.focus(t,e),this.previousFilter=i,this.filterTimer=this._delay(function(){delete this.previousFilter},1e3)):delete this.previousFilter}n&&t.preventDefault()},_activate:function(t){this.active&&!this.active.is(".ui-state-disabled")&&(this.active.children("[aria-haspopup='true']").length?this.expand(t):this.select(t))},refresh:function(){var t,e,s=this,n=this.options.icons.submenu,i=this.element.find(this.options.menus);this._toggleClass("ui-menu-icons",null,!!this.element.find(".ui-icon").length),e=i.filter(":not(.ui-menu)").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"}).each(function(){var t=x(this),e=t.prev(),i=x("").data("ui-menu-submenu-caret",!0);s._addClass(i,"ui-menu-icon","ui-icon "+n),e.attr("aria-haspopup","true").prepend(i),t.attr("aria-labelledby",e.attr("id"))}),this._addClass(e,"ui-menu","ui-widget ui-widget-content ui-front"),(t=i.add(this.element).find(this.options.items)).not(".ui-menu-item").each(function(){var t=x(this);s._isDivider(t)&&s._addClass(t,"ui-menu-divider","ui-widget-content")}),i=(e=t.not(".ui-menu-item, .ui-menu-divider")).children().not(".ui-menu").uniqueId().attr({tabIndex:-1,role:this._itemRole()}),this._addClass(e,"ui-menu-item")._addClass(i,"ui-menu-item-wrapper"),t.filter(".ui-state-disabled").attr("aria-disabled","true"),this.active&&!x.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},_setOption:function(t,e){var i;"icons"===t&&(i=this.element.find(".ui-menu-icon"),this._removeClass(i,null,this.options.icons.submenu)._addClass(i,null,e.submenu)),this._super(t,e)},_setOptionDisabled:function(t){this._super(t),this.element.attr("aria-disabled",String(t)),this._toggleClass(null,"ui-state-disabled",!!t)},focus:function(t,e){var i;this.blur(t,t&&"focus"===t.type),this._scrollIntoView(e),this.active=e.first(),i=this.active.children(".ui-menu-item-wrapper"),this._addClass(i,null,"ui-state-active"),this.options.role&&this.element.attr("aria-activedescendant",i.attr("id")),i=this.active.parent().closest(".ui-menu-item").children(".ui-menu-item-wrapper"),this._addClass(i,null,"ui-state-active"),t&&"keydown"===t.type?this._close():this.timer=this._delay(function(){this._close()},this.delay),(i=e.children(".ui-menu")).length&&t&&/^mouse/.test(t.type)&&this._startOpening(i),this.activeMenu=e.parent(),this._trigger("focus",t,{item:e})},_scrollIntoView:function(t){var e,i,s;this._hasScroll()&&(i=parseFloat(x.css(this.activeMenu[0],"borderTopWidth"))||0,s=parseFloat(x.css(this.activeMenu[0],"paddingTop"))||0,e=t.offset().top-this.activeMenu.offset().top-i-s,i=this.activeMenu.scrollTop(),s=this.activeMenu.height(),t=t.outerHeight(),e<0?this.activeMenu.scrollTop(i+e):s",options:{appendTo:null,autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},requestIndex:0,pending:0,liveRegionTimer:null,_create:function(){var i,s,n,t=this.element[0].nodeName.toLowerCase(),e="textarea"===t,t="input"===t;this.isMultiLine=e||!t&&this._isContentEditable(this.element),this.valueMethod=this.element[e||t?"val":"text"],this.isNewMenu=!0,this._addClass("ui-autocomplete-input"),this.element.attr("autocomplete","off"),this._on(this.element,{keydown:function(t){if(this.element.prop("readOnly"))s=n=i=!0;else{s=n=i=!1;var e=x.ui.keyCode;switch(t.keyCode){case e.PAGE_UP:i=!0,this._move("previousPage",t);break;case e.PAGE_DOWN:i=!0,this._move("nextPage",t);break;case e.UP:i=!0,this._keyEvent("previous",t);break;case e.DOWN:i=!0,this._keyEvent("next",t);break;case e.ENTER:this.menu.active&&(i=!0,t.preventDefault(),this.menu.select(t));break;case e.TAB:this.menu.active&&this.menu.select(t);break;case e.ESCAPE:this.menu.element.is(":visible")&&(this.isMultiLine||this._value(this.term),this.close(t),t.preventDefault());break;default:s=!0,this._searchTimeout(t)}}},keypress:function(t){if(i)return i=!1,void(this.isMultiLine&&!this.menu.element.is(":visible")||t.preventDefault());if(!s){var e=x.ui.keyCode;switch(t.keyCode){case e.PAGE_UP:this._move("previousPage",t);break;case e.PAGE_DOWN:this._move("nextPage",t);break;case e.UP:this._keyEvent("previous",t);break;case e.DOWN:this._keyEvent("next",t)}}},input:function(t){if(n)return n=!1,void t.preventDefault();this._searchTimeout(t)},focus:function(){this.selectedItem=null,this.previous=this._value()},blur:function(t){clearTimeout(this.searching),this.close(t),this._change(t)}}),this._initSource(),this.menu=x("
    ").appendTo(this._appendTo()).menu({role:null}).hide().attr({unselectable:"on"}).menu("instance"),this._addClass(this.menu.element,"ui-autocomplete","ui-front"),this._on(this.menu.element,{mousedown:function(t){t.preventDefault()},menufocus:function(t,e){var i,s;if(this.isNewMenu&&(this.isNewMenu=!1,t.originalEvent&&/^mouse/.test(t.originalEvent.type)))return this.menu.blur(),void this.document.one("mousemove",function(){x(t.target).trigger(t.originalEvent)});s=e.item.data("ui-autocomplete-item"),!1!==this._trigger("focus",t,{item:s})&&t.originalEvent&&/^key/.test(t.originalEvent.type)&&this._value(s.value),(i=e.item.attr("aria-label")||s.value)&&String.prototype.trim.call(i).length&&(clearTimeout(this.liveRegionTimer),this.liveRegionTimer=this._delay(function(){this.liveRegion.html(x("
    ").text(i))},100))},menuselect:function(t,e){var i=e.item.data("ui-autocomplete-item"),s=this.previous;this.element[0]!==x.ui.safeActiveElement(this.document[0])&&(this.element.trigger("focus"),this.previous=s,this._delay(function(){this.previous=s,this.selectedItem=i})),!1!==this._trigger("select",t,{item:i})&&this._value(i.value),this.term=this._value(),this.close(t),this.selectedItem=i}}),this.liveRegion=x("
    ",{role:"status","aria-live":"assertive","aria-relevant":"additions"}).appendTo(this.document[0].body),this._addClass(this.liveRegion,null,"ui-helper-hidden-accessible"),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_destroy:function(){clearTimeout(this.searching),this.element.removeAttr("autocomplete"),this.menu.element.remove(),this.liveRegion.remove()},_setOption:function(t,e){this._super(t,e),"source"===t&&this._initSource(),"appendTo"===t&&this.menu.element.appendTo(this._appendTo()),"disabled"===t&&e&&this.xhr&&this.xhr.abort()},_isEventTargetInWidget:function(t){var e=this.menu.element[0];return t.target===this.element[0]||t.target===e||x.contains(e,t.target)},_closeOnClickOutside:function(t){this._isEventTargetInWidget(t)||this.close()},_appendTo:function(){var t=this.options.appendTo;return t=!(t=!(t=t&&(t.jquery||t.nodeType?x(t):this.document.find(t).eq(0)))||!t[0]?this.element.closest(".ui-front, dialog"):t).length?this.document[0].body:t},_initSource:function(){var i,s,n=this;Array.isArray(this.options.source)?(i=this.options.source,this.source=function(t,e){e(x.ui.autocomplete.filter(i,t.term))}):"string"==typeof this.options.source?(s=this.options.source,this.source=function(t,e){n.xhr&&n.xhr.abort(),n.xhr=x.ajax({url:s,data:t,dataType:"json",success:function(t){e(t)},error:function(){e([])}})}):this.source=this.options.source},_searchTimeout:function(s){clearTimeout(this.searching),this.searching=this._delay(function(){var t=this.term===this._value(),e=this.menu.element.is(":visible"),i=s.altKey||s.ctrlKey||s.metaKey||s.shiftKey;t&&(e||i)||(this.selectedItem=null,this.search(null,s))},this.options.delay)},search:function(t,e){return t=null!=t?t:this._value(),this.term=this._value(),t.length").append(x("
    ").text(e.label)).appendTo(t)},_move:function(t,e){if(this.menu.element.is(":visible"))return this.menu.isFirstItem()&&/^previous/.test(t)||this.menu.isLastItem()&&/^next/.test(t)?(this.isMultiLine||this._value(this.term),void this.menu.blur()):void this.menu[t](e);this.search(null,e)},widget:function(){return this.menu.element},_value:function(){return this.valueMethod.apply(this.element,arguments)},_keyEvent:function(t,e){this.isMultiLine&&!this.menu.element.is(":visible")||(this._move(t,e),e.preventDefault())},_isContentEditable:function(t){if(!t.length)return!1;var e=t.prop("contentEditable");return"inherit"===e?this._isContentEditable(t.parent()):"true"===e}}),x.extend(x.ui.autocomplete,{escapeRegex:function(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},filter:function(t,e){var i=new RegExp(x.ui.autocomplete.escapeRegex(e),"i");return x.grep(t,function(t){return i.test(t.label||t.value||t)})}}),x.widget("ui.autocomplete",x.ui.autocomplete,{options:{messages:{noResults:"No search results.",results:function(t){return t+(1").text(e))},100))}});x.ui.autocomplete}); \ No newline at end of file diff --git a/cffu/1.0.0-Alpha22/script.js b/cffu/1.0.0-Alpha22/script.js new file mode 100644 index 0000000..bb9c8a2 --- /dev/null +++ b/cffu/1.0.0-Alpha22/script.js @@ -0,0 +1,253 @@ +/* + * Copyright (c) 2013, 2023, Oracle and/or its affiliates. All rights reserved. + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * This code is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 2 only, as + * published by the Free Software Foundation. Oracle designates this + * particular file as subject to the "Classpath" exception as provided + * by Oracle in the LICENSE file that accompanied this code. + * + * This code is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * version 2 for more details (a copy is included in the LICENSE file that + * accompanied this code). + * + * You should have received a copy of the GNU General Public License version + * 2 along with this work; if not, write to the Free Software Foundation, + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA + * or visit www.oracle.com if you need additional information or have any + * questions. + */ + +var moduleSearchIndex; +var packageSearchIndex; +var typeSearchIndex; +var memberSearchIndex; +var tagSearchIndex; + +var oddRowColor = "odd-row-color"; +var evenRowColor = "even-row-color"; +var sortAsc = "sort-asc"; +var sortDesc = "sort-desc"; +var tableTab = "table-tab"; +var activeTableTab = "active-table-tab"; + +function loadScripts(doc, tag) { + createElem(doc, tag, 'search.js'); + + createElem(doc, tag, 'module-search-index.js'); + createElem(doc, tag, 'package-search-index.js'); + createElem(doc, tag, 'type-search-index.js'); + createElem(doc, tag, 'member-search-index.js'); + createElem(doc, tag, 'tag-search-index.js'); +} + +function createElem(doc, tag, path) { + var script = doc.createElement(tag); + var scriptElement = doc.getElementsByTagName(tag)[0]; + script.src = pathtoroot + path; + scriptElement.parentNode.insertBefore(script, scriptElement); +} + +// Helper for making content containing release names comparable lexicographically +function makeComparable(s) { + return s.toLowerCase().replace(/(\d+)/g, + function(n, m) { + return ("000" + m).slice(-4); + }); +} + +// Switches between two styles depending on a condition +function toggleStyle(classList, condition, trueStyle, falseStyle) { + if (condition) { + classList.remove(falseStyle); + classList.add(trueStyle); + } else { + classList.remove(trueStyle); + classList.add(falseStyle); + } +} + +// Sorts the rows in a table lexicographically by the content of a specific column +function sortTable(header, columnIndex, columns) { + var container = header.parentElement; + var descending = header.classList.contains(sortAsc); + container.querySelectorAll("div.table-header").forEach( + function(header) { + header.classList.remove(sortAsc); + header.classList.remove(sortDesc); + } + ) + var cells = container.children; + var rows = []; + for (var i = columns; i < cells.length; i += columns) { + rows.push(Array.prototype.slice.call(cells, i, i + columns)); + } + var comparator = function(a, b) { + var ka = makeComparable(a[columnIndex].textContent); + var kb = makeComparable(b[columnIndex].textContent); + if (ka < kb) + return descending ? 1 : -1; + if (ka > kb) + return descending ? -1 : 1; + return 0; + }; + var sorted = rows.sort(comparator); + var visible = 0; + sorted.forEach(function(row) { + if (row[0].style.display !== 'none') { + var isEvenRow = visible++ % 2 === 0; + } + row.forEach(function(cell) { + toggleStyle(cell.classList, isEvenRow, evenRowColor, oddRowColor); + container.appendChild(cell); + }) + }); + toggleStyle(header.classList, descending, sortDesc, sortAsc); +} + +// Toggles the visibility of a table category in all tables in a page +function toggleGlobal(checkbox, selected, columns) { + var display = checkbox.checked ? '' : 'none'; + document.querySelectorAll("div.table-tabs").forEach(function(t) { + var id = t.parentElement.getAttribute("id"); + var selectedClass = id + "-tab" + selected; + // if selected is empty string it selects all uncategorized entries + var selectUncategorized = !Boolean(selected); + var visible = 0; + document.querySelectorAll('div.' + id) + .forEach(function(elem) { + if (selectUncategorized) { + if (elem.className.indexOf(selectedClass) === -1) { + elem.style.display = display; + } + } else if (elem.classList.contains(selectedClass)) { + elem.style.display = display; + } + if (elem.style.display === '') { + var isEvenRow = visible++ % (columns * 2) < columns; + toggleStyle(elem.classList, isEvenRow, evenRowColor, oddRowColor); + } + }); + var displaySection = visible === 0 ? 'none' : ''; + t.parentElement.style.display = displaySection; + document.querySelector("li#contents-" + id).style.display = displaySection; + }) +} + +// Shows the elements of a table belonging to a specific category +function show(tableId, selected, columns) { + if (tableId !== selected) { + document.querySelectorAll('div.' + tableId + ':not(.' + selected + ')') + .forEach(function(elem) { + elem.style.display = 'none'; + }); + } + document.querySelectorAll('div.' + selected) + .forEach(function(elem, index) { + elem.style.display = ''; + var isEvenRow = index % (columns * 2) < columns; + toggleStyle(elem.classList, isEvenRow, evenRowColor, oddRowColor); + }); + updateTabs(tableId, selected); +} + +function updateTabs(tableId, selected) { + document.getElementById(tableId + '.tabpanel') + .setAttribute('aria-labelledby', selected); + document.querySelectorAll('button[id^="' + tableId + '"]') + .forEach(function(tab, index) { + if (selected === tab.id || (tableId === selected && index === 0)) { + tab.className = activeTableTab; + tab.setAttribute('aria-selected', true); + tab.setAttribute('tabindex',0); + } else { + tab.className = tableTab; + tab.setAttribute('aria-selected', false); + tab.setAttribute('tabindex',-1); + } + }); +} + +function switchTab(e) { + var selected = document.querySelector('[aria-selected=true]'); + if (selected) { + if ((e.keyCode === 37 || e.keyCode === 38) && selected.previousSibling) { + // left or up arrow key pressed: move focus to previous tab + selected.previousSibling.click(); + selected.previousSibling.focus(); + e.preventDefault(); + } else if ((e.keyCode === 39 || e.keyCode === 40) && selected.nextSibling) { + // right or down arrow key pressed: move focus to next tab + selected.nextSibling.click(); + selected.nextSibling.focus(); + e.preventDefault(); + } + } +} + +var updateSearchResults = function() {}; + +function indexFilesLoaded() { + return moduleSearchIndex + && packageSearchIndex + && typeSearchIndex + && memberSearchIndex + && tagSearchIndex; +} +// Copy the contents of the local snippet to the clipboard +function copySnippet(button) { + copyToClipboard(button.nextElementSibling.innerText); + switchCopyLabel(button, button.firstElementChild); +} +function copyToClipboard(content) { + var textarea = document.createElement("textarea"); + textarea.style.height = 0; + document.body.appendChild(textarea); + textarea.value = content; + textarea.select(); + document.execCommand("copy"); + document.body.removeChild(textarea); +} +function switchCopyLabel(button, span) { + var copied = span.getAttribute("data-copied"); + button.classList.add("visible"); + var initialLabel = span.innerHTML; + span.innerHTML = copied; + setTimeout(function() { + button.classList.remove("visible"); + setTimeout(function() { + if (initialLabel !== copied) { + span.innerHTML = initialLabel; + } + }, 100); + }, 1900); +} +// Workaround for scroll position not being included in browser history (8249133) +document.addEventListener("DOMContentLoaded", function(e) { + var contentDiv = document.querySelector("div.flex-content"); + window.addEventListener("popstate", function(e) { + if (e.state !== null) { + contentDiv.scrollTop = e.state; + } + }); + window.addEventListener("hashchange", function(e) { + history.replaceState(contentDiv.scrollTop, document.title); + }); + var timeoutId; + contentDiv.addEventListener("scroll", function(e) { + if (timeoutId) { + clearTimeout(timeoutId); + } + timeoutId = setTimeout(function() { + history.replaceState(contentDiv.scrollTop, document.title); + }, 100); + }); + if (!location.hash) { + history.replaceState(contentDiv.scrollTop, document.title); + } +}); diff --git a/cffu/1.0.0-Alpha22/search-page.js b/cffu/1.0.0-Alpha22/search-page.js new file mode 100644 index 0000000..540c90f --- /dev/null +++ b/cffu/1.0.0-Alpha22/search-page.js @@ -0,0 +1,284 @@ +/* + * Copyright (c) 2022, 2023, Oracle and/or its affiliates. All rights reserved. + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * This code is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 2 only, as + * published by the Free Software Foundation. Oracle designates this + * particular file as subject to the "Classpath" exception as provided + * by Oracle in the LICENSE file that accompanied this code. + * + * This code is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * version 2 for more details (a copy is included in the LICENSE file that + * accompanied this code). + * + * You should have received a copy of the GNU General Public License version + * 2 along with this work; if not, write to the Free Software Foundation, + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA + * or visit www.oracle.com if you need additional information or have any + * questions. + */ + +"use strict"; +$(function() { + var copy = $("#page-search-copy"); + var expand = $("#page-search-expand"); + var searchLink = $("span#page-search-link"); + var redirect = $("input#search-redirect"); + function setSearchUrlTemplate() { + var href = document.location.href.split(/[#?]/)[0]; + href += "?q=" + "%s"; + if (redirect.is(":checked")) { + href += "&r=1"; + } + searchLink.html(href); + copy[0].onmouseenter(); + } + function copyLink(e) { + copyToClipboard(this.previousSibling.innerText); + switchCopyLabel(this, this.lastElementChild); + } + copy.click(copyLink); + copy[0].onmouseenter = function() {}; + redirect.click(setSearchUrlTemplate); + setSearchUrlTemplate(); + copy.prop("disabled", false); + redirect.prop("disabled", false); + expand.click(function (e) { + var searchInfo = $("div.page-search-info"); + if(this.parentElement.hasAttribute("open")) { + searchInfo.attr("style", "border-width: 0;"); + } else { + searchInfo.attr("style", "border-width: 1px;").height(searchInfo.prop("scrollHeight")); + } + }); +}); +$(window).on("load", function() { + var input = $("#page-search-input"); + var reset = $("#page-search-reset"); + var notify = $("#page-search-notify"); + var resultSection = $("div#result-section"); + var resultContainer = $("div#result-container"); + var searchTerm = ""; + var activeTab = ""; + var fixedTab = false; + var visibleTabs = []; + var feelingLucky = false; + function renderResults(result) { + if (!result.length) { + notify.html(messages.noResult); + } else if (result.length === 1) { + notify.html(messages.oneResult); + } else { + notify.html(messages.manyResults.replace("{0}", result.length)); + } + resultContainer.empty(); + var r = { + "types": [], + "members": [], + "packages": [], + "modules": [], + "searchTags": [] + }; + for (var i in result) { + var item = result[i]; + var arr = r[item.category]; + arr.push(item); + } + if (!activeTab || r[activeTab].length === 0 || !fixedTab) { + Object.keys(r).reduce(function(prev, curr) { + if (r[curr].length > 0 && r[curr][0].score > prev) { + activeTab = curr; + return r[curr][0].score; + } + return prev; + }, 0); + } + if (feelingLucky && activeTab) { + notify.html(messages.redirecting) + var firstItem = r[activeTab][0]; + window.location = getURL(firstItem.indexItem, firstItem.category); + return; + } + if (result.length > 20) { + if (searchTerm[searchTerm.length - 1] === ".") { + if (activeTab === "types" && r["members"].length > r["types"].length) { + activeTab = "members"; + } else if (activeTab === "packages" && r["types"].length > r["packages"].length) { + activeTab = "types"; + } + } + } + var categoryCount = Object.keys(r).reduce(function(prev, curr) { + return prev + (r[curr].length > 0 ? 1 : 0); + }, 0); + visibleTabs = []; + var tabContainer = $("
    ").appendTo(resultContainer); + for (var key in r) { + var id = "#result-tab-" + key.replace("searchTags", "search_tags"); + if (r[key].length) { + var count = r[key].length >= 1000 ? "999+" : r[key].length; + if (result.length > 20 && categoryCount > 1) { + var button = $("").appendTo(tabContainer); + button.click(key, function(e) { + fixedTab = true; + renderResult(e.data, $(this)); + }); + visibleTabs.push(key); + } else { + $("" + categories[key] + + " (" + count + ")").appendTo(tabContainer); + renderTable(key, r[key]).appendTo(resultContainer); + tabContainer = $("
    ").appendTo(resultContainer); + + } + } + } + if (activeTab && result.length > 20 && categoryCount > 1) { + $("button#result-tab-" + activeTab).addClass("active-table-tab"); + renderTable(activeTab, r[activeTab]).appendTo(resultContainer); + } + resultSection.show(); + function renderResult(category, button) { + activeTab = category; + setSearchUrl(); + resultContainer.find("div.summary-table").remove(); + renderTable(activeTab, r[activeTab]).appendTo(resultContainer); + button.siblings().removeClass("active-table-tab"); + button.addClass("active-table-tab"); + } + } + function selectTab(category) { + $("button#result-tab-" + category).click(); + } + function renderTable(category, items) { + var table = $("
    ") + .addClass(category === "modules" + ? "one-column-search-results" + : "two-column-search-results"); + var col1, col2; + if (category === "modules") { + col1 = "Module"; + } else if (category === "packages") { + col1 = "Module"; + col2 = "Package"; + } else if (category === "types") { + col1 = "Package"; + col2 = "Class" + } else if (category === "members") { + col1 = "Class"; + col2 = "Member"; + } else if (category === "searchTags") { + col1 = "Location"; + col2 = "Name"; + } + $("
    " + col1 + "
    ").appendTo(table); + if (category !== "modules") { + $("
    " + col2 + "
    ").appendTo(table); + } + $.each(items, function(index, item) { + var rowColor = index % 2 ? "odd-row-color" : "even-row-color"; + renderItem(item, table, rowColor); + }); + return table; + } + function renderItem(item, table, rowColor) { + var label = getHighlightedText(item.input, item.boundaries, item.prefix.length, item.input.length); + var link = $("") + .attr("href", getURL(item.indexItem, item.category)) + .attr("tabindex", "0") + .addClass("search-result-link") + .html(label); + var container = getHighlightedText(item.input, item.boundaries, 0, item.prefix.length - 1); + if (item.category === "searchTags") { + container = item.indexItem.h || ""; + } + if (item.category !== "modules") { + $("
    ").html(container).addClass("col-plain").addClass(rowColor).appendTo(table); + } + $("
    ").html(link).addClass("col-last").addClass(rowColor).appendTo(table); + } + var timeout; + function schedulePageSearch() { + if (timeout) { + clearTimeout(timeout); + } + timeout = setTimeout(function () { + doPageSearch() + }, 100); + } + function doPageSearch() { + setSearchUrl(); + var term = searchTerm = input.val().trim(); + if (term === "") { + notify.html(messages.enterTerm); + activeTab = ""; + fixedTab = false; + resultContainer.empty(); + resultSection.hide(); + } else { + notify.html(messages.searching); + doSearch({ term: term, maxResults: 1200 }, renderResults); + } + } + function setSearchUrl() { + var query = input.val().trim(); + var url = document.location.pathname; + if (query) { + url += "?q=" + encodeURI(query); + if (activeTab && fixedTab) { + url += "&c=" + activeTab; + } + } + history.replaceState({query: query}, "", url); + } + input.on("input", function(e) { + feelingLucky = false; + schedulePageSearch(); + }); + $(document).keydown(function(e) { + if ((e.ctrlKey || e.metaKey) && (e.key === "ArrowLeft" || e.key === "ArrowRight")) { + if (activeTab && visibleTabs.length > 1) { + var idx = visibleTabs.indexOf(activeTab); + idx += e.key === "ArrowLeft" ? visibleTabs.length - 1 : 1; + selectTab(visibleTabs[idx % visibleTabs.length]); + return false; + } + } + }); + reset.click(function() { + notify.html(messages.enterTerm); + resultSection.hide(); + activeTab = ""; + fixedTab = false; + resultContainer.empty(); + input.val('').focus(); + setSearchUrl(); + }); + input.prop("disabled", false); + reset.prop("disabled", false); + + var urlParams = new URLSearchParams(window.location.search); + if (urlParams.has("q")) { + input.val(urlParams.get("q")) + } + if (urlParams.has("c")) { + activeTab = urlParams.get("c"); + fixedTab = true; + } + if (urlParams.get("r")) { + feelingLucky = true; + } + if (input.val()) { + doPageSearch(); + } else { + notify.html(messages.enterTerm); + } + input.select().focus(); +}); diff --git a/cffu/1.0.0-Alpha22/search.html b/cffu/1.0.0-Alpha22/search.html new file mode 100644 index 0000000..0d7399d --- /dev/null +++ b/cffu/1.0.0-Alpha22/search.html @@ -0,0 +1,77 @@ + + + + +Search (CompletableFuture-Fu(cffu) 1.0.0-Alpha22 API) + + + + + + + + + + + + + + +
    + +
    +
    +

    Search

    +
    + + +
    +Additional resources +
    +
    +
    +

    The help page provides an introduction to the scope and syntax of JavaDoc search.

    +

    You can use the <ctrl> or <cmd> keys in combination with the left and right arrow keys to switch between result tabs in this page.

    +

    The URL template below may be used to configure this page as a search engine in browsers that support this feature. It has been tested to work in Google Chrome and Mozilla Firefox. Note that other browsers may not support this feature or require a different URL format.

    +link +

    + +

    +
    +

    Loading search index...

    + +
    +
    +
    + +
    +
    +
    + + diff --git a/cffu/1.0.0-Alpha22/search.js b/cffu/1.0.0-Alpha22/search.js new file mode 100644 index 0000000..7673397 --- /dev/null +++ b/cffu/1.0.0-Alpha22/search.js @@ -0,0 +1,458 @@ +/* + * Copyright (c) 2015, 2023, Oracle and/or its affiliates. All rights reserved. + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * This code is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 2 only, as + * published by the Free Software Foundation. Oracle designates this + * particular file as subject to the "Classpath" exception as provided + * by Oracle in the LICENSE file that accompanied this code. + * + * This code is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * version 2 for more details (a copy is included in the LICENSE file that + * accompanied this code). + * + * You should have received a copy of the GNU General Public License version + * 2 along with this work; if not, write to the Free Software Foundation, + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA + * or visit www.oracle.com if you need additional information or have any + * questions. + */ +"use strict"; +const messages = { + enterTerm: "Enter a search term", + noResult: "No results found", + oneResult: "Found one result", + manyResults: "Found {0} results", + loading: "Loading search index...", + searching: "Searching...", + redirecting: "Redirecting to first result...", + linkIcon: "Link icon", + linkToSection: "Link to this section" +} +const categories = { + modules: "Modules", + packages: "Packages", + types: "Types", + members: "Members", + searchTags: "Search Tags" +}; +const highlight = "$&"; +const NO_MATCH = {}; +const MAX_RESULTS = 300; +function checkUnnamed(name, separator) { + return name === "" || !name ? "" : name + separator; +} +function escapeHtml(str) { + return str.replace(//g, ">"); +} +function getHighlightedText(str, boundaries, from, to) { + var start = from; + var text = ""; + for (var i = 0; i < boundaries.length; i += 2) { + var b0 = boundaries[i]; + var b1 = boundaries[i + 1]; + if (b0 >= to || b1 <= from) { + continue; + } + text += escapeHtml(str.slice(start, Math.max(start, b0))); + text += ""; + text += escapeHtml(str.slice(Math.max(start, b0), Math.min(to, b1))); + text += ""; + start = Math.min(to, b1); + } + text += escapeHtml(str.slice(start, to)); + return text; +} +function getURLPrefix(item, category) { + var urlPrefix = ""; + var slash = "/"; + if (category === "modules") { + return item.l + slash; + } else if (category === "packages" && item.m) { + return item.m + slash; + } else if (category === "types" || category === "members") { + if (item.m) { + urlPrefix = item.m + slash; + } else { + $.each(packageSearchIndex, function(index, it) { + if (it.m && item.p === it.l) { + urlPrefix = it.m + slash; + } + }); + } + } + return urlPrefix; +} +function getURL(item, category) { + if (item.url) { + return item.url; + } + var url = getURLPrefix(item, category); + if (category === "modules") { + url += "module-summary.html"; + } else if (category === "packages") { + if (item.u) { + url = item.u; + } else { + url += item.l.replace(/\./g, '/') + "/package-summary.html"; + } + } else if (category === "types") { + if (item.u) { + url = item.u; + } else { + url += checkUnnamed(item.p, "/").replace(/\./g, '/') + item.l + ".html"; + } + } else if (category === "members") { + url += checkUnnamed(item.p, "/").replace(/\./g, '/') + item.c + ".html" + "#"; + if (item.u) { + url += item.u; + } else { + url += item.l; + } + } else if (category === "searchTags") { + url += item.u; + } + item.url = url; + return url; +} +function createMatcher(term, camelCase) { + if (camelCase && !isUpperCase(term)) { + return null; // no need for camel-case matcher for lower case query + } + var pattern = ""; + var upperCase = []; + term.trim().split(/\s+/).forEach(function(w, index, array) { + var tokens = w.split(/(?=[A-Z,.()<>?[\/])/); + for (var i = 0; i < tokens.length; i++) { + var s = tokens[i]; + // ',' and '?' are the only delimiters commonly followed by space in java signatures + pattern += "(" + $.ui.autocomplete.escapeRegex(s).replace(/[,?]/g, "$&\\s*?") + ")"; + upperCase.push(false); + var isWordToken = /\w$/.test(s); + if (isWordToken) { + if (i === tokens.length - 1 && index < array.length - 1) { + // space in query string matches all delimiters + pattern += "(.*?)"; + upperCase.push(isUpperCase(s[0])); + } else { + if (!camelCase && isUpperCase(s) && s.length === 1) { + pattern += "()"; + } else { + pattern += "([a-z0-9$<>?[\\]]*?)"; + } + upperCase.push(isUpperCase(s[0])); + } + } else { + pattern += "()"; + upperCase.push(false); + } + } + }); + var re = new RegExp(pattern, "gi"); + re.upperCase = upperCase; + return re; +} +function findMatch(matcher, input, startOfName, endOfName) { + var from = startOfName; + matcher.lastIndex = from; + var match = matcher.exec(input); + // Expand search area until we get a valid result or reach the beginning of the string + while (!match || match.index + match[0].length < startOfName || endOfName < match.index) { + if (from === 0) { + return NO_MATCH; + } + from = input.lastIndexOf(".", from - 2) + 1; + matcher.lastIndex = from; + match = matcher.exec(input); + } + var boundaries = []; + var matchEnd = match.index + match[0].length; + var score = 5; + var start = match.index; + var prevEnd = -1; + for (var i = 1; i < match.length; i += 2) { + var isUpper = isUpperCase(input[start]); + var isMatcherUpper = matcher.upperCase[i]; + // capturing groups come in pairs, match and non-match + boundaries.push(start, start + match[i].length); + // make sure groups are anchored on a left word boundary + var prevChar = input[start - 1] || ""; + var nextChar = input[start + 1] || ""; + if (start !== 0 && !/[\W_]/.test(prevChar) && !/[\W_]/.test(input[start])) { + if (isUpper && (isLowerCase(prevChar) || isLowerCase(nextChar))) { + score -= 0.1; + } else if (isMatcherUpper && start === prevEnd) { + score -= isUpper ? 0.1 : 1.0; + } else { + return NO_MATCH; + } + } + prevEnd = start + match[i].length; + start += match[i].length + match[i + 1].length; + + // lower score for parts of the name that are missing + if (match[i + 1] && prevEnd < endOfName) { + score -= rateNoise(match[i + 1]); + } + } + // lower score if a type name contains unmatched camel-case parts + if (input[matchEnd - 1] !== "." && endOfName > matchEnd) + score -= rateNoise(input.slice(matchEnd, endOfName)); + score -= rateNoise(input.slice(0, Math.max(startOfName, match.index))); + + if (score <= 0) { + return NO_MATCH; + } + return { + input: input, + score: score, + boundaries: boundaries + }; +} +function isUpperCase(s) { + return s !== s.toLowerCase(); +} +function isLowerCase(s) { + return s !== s.toUpperCase(); +} +function rateNoise(str) { + return (str.match(/([.(])/g) || []).length / 5 + + (str.match(/([A-Z]+)/g) || []).length / 10 + + str.length / 20; +} +function doSearch(request, response) { + var term = request.term.trim(); + var maxResults = request.maxResults || MAX_RESULTS; + if (term.length === 0) { + return this.close(); + } + var matcher = { + plainMatcher: createMatcher(term, false), + camelCaseMatcher: createMatcher(term, true) + } + var indexLoaded = indexFilesLoaded(); + + function getPrefix(item, category) { + switch (category) { + case "packages": + return checkUnnamed(item.m, "/"); + case "types": + return checkUnnamed(item.p, "."); + case "members": + return checkUnnamed(item.p, ".") + item.c + "."; + default: + return ""; + } + } + function useQualifiedName(category) { + switch (category) { + case "packages": + return /[\s/]/.test(term); + case "types": + case "members": + return /[\s.]/.test(term); + default: + return false; + } + } + function searchIndex(indexArray, category) { + var matches = []; + if (!indexArray) { + if (!indexLoaded) { + matches.push({ l: messages.loading, category: category }); + } + return matches; + } + $.each(indexArray, function (i, item) { + var prefix = getPrefix(item, category); + var simpleName = item.l; + var qualifiedName = prefix + simpleName; + var useQualified = useQualifiedName(category); + var input = useQualified ? qualifiedName : simpleName; + var startOfName = useQualified ? prefix.length : 0; + var endOfName = category === "members" && input.indexOf("(", startOfName) > -1 + ? input.indexOf("(", startOfName) : input.length; + var m = findMatch(matcher.plainMatcher, input, startOfName, endOfName); + if (m === NO_MATCH && matcher.camelCaseMatcher) { + m = findMatch(matcher.camelCaseMatcher, input, startOfName, endOfName); + } + if (m !== NO_MATCH) { + m.indexItem = item; + m.prefix = prefix; + m.category = category; + if (!useQualified) { + m.input = qualifiedName; + m.boundaries = m.boundaries.map(function(b) { + return b + prefix.length; + }); + } + matches.push(m); + } + return true; + }); + return matches.sort(function(e1, e2) { + return e2.score - e1.score; + }).slice(0, maxResults); + } + + var result = searchIndex(moduleSearchIndex, "modules") + .concat(searchIndex(packageSearchIndex, "packages")) + .concat(searchIndex(typeSearchIndex, "types")) + .concat(searchIndex(memberSearchIndex, "members")) + .concat(searchIndex(tagSearchIndex, "searchTags")); + + if (!indexLoaded) { + updateSearchResults = function() { + doSearch(request, response); + } + } else { + updateSearchResults = function() {}; + } + response(result); +} +// JQuery search menu implementation +$.widget("custom.catcomplete", $.ui.autocomplete, { + _create: function() { + this._super(); + this.widget().menu("option", "items", "> .result-item"); + // workaround for search result scrolling + this.menu._scrollIntoView = function _scrollIntoView( item ) { + var borderTop, paddingTop, offset, scroll, elementHeight, itemHeight; + if ( this._hasScroll() ) { + borderTop = parseFloat( $.css( this.activeMenu[ 0 ], "borderTopWidth" ) ) || 0; + paddingTop = parseFloat( $.css( this.activeMenu[ 0 ], "paddingTop" ) ) || 0; + offset = item.offset().top - this.activeMenu.offset().top - borderTop - paddingTop; + scroll = this.activeMenu.scrollTop(); + elementHeight = this.activeMenu.height() - 26; + itemHeight = item.outerHeight(); + + if ( offset < 0 ) { + this.activeMenu.scrollTop( scroll + offset ); + } else if ( offset + itemHeight > elementHeight ) { + this.activeMenu.scrollTop( scroll + offset - elementHeight + itemHeight ); + } + } + }; + }, + _renderMenu: function(ul, items) { + var currentCategory = ""; + var widget = this; + widget.menu.bindings = $(); + $.each(items, function(index, item) { + if (item.category && item.category !== currentCategory) { + ul.append("
  • " + categories[item.category] + "
  • "); + currentCategory = item.category; + } + var li = widget._renderItemData(ul, item); + if (item.category) { + li.attr("aria-label", categories[item.category] + " : " + item.l); + } else { + li.attr("aria-label", item.l); + } + li.attr("class", "result-item"); + }); + ul.append(""); + }, + _renderItem: function(ul, item) { + var li = $("
  • ").appendTo(ul); + var div = $("
    ").appendTo(li); + var label = item.l + ? item.l + : getHighlightedText(item.input, item.boundaries, 0, item.input.length); + var idx = item.indexItem; + if (item.category === "searchTags" && idx && idx.h) { + if (idx.d) { + div.html(label + " (" + idx.h + ")
    " + + idx.d + "
    "); + } else { + div.html(label + " (" + idx.h + ")"); + } + } else { + div.html(label); + } + return li; + } +}); +$(function() { + var expanded = false; + var windowWidth; + function collapse() { + if (expanded) { + $("div#navbar-top").removeAttr("style"); + $("button#navbar-toggle-button") + .removeClass("expanded") + .attr("aria-expanded", "false"); + expanded = false; + } + } + $("button#navbar-toggle-button").click(function (e) { + if (expanded) { + collapse(); + } else { + var navbar = $("div#navbar-top"); + navbar.height(navbar.prop("scrollHeight")); + $("button#navbar-toggle-button") + .addClass("expanded") + .attr("aria-expanded", "true"); + expanded = true; + windowWidth = window.innerWidth; + } + }); + $("ul.sub-nav-list-small li a").click(collapse); + $("input#search-input").focus(collapse); + $("main").click(collapse); + $("section[id] > :header, :header[id], :header:has(a[id])").each(function(idx, el) { + // Create anchor links for headers with an associated id attribute + var hdr = $(el); + var id = hdr.attr("id") || hdr.parent("section").attr("id") || hdr.children("a").attr("id"); + if (id) { + hdr.append(" " + messages.linkIcon +""); + } + }); + $(window).on("orientationchange", collapse).on("resize", function(e) { + if (expanded && windowWidth !== window.innerWidth) collapse(); + }); + var search = $("#search-input"); + var reset = $("#reset-button"); + search.catcomplete({ + minLength: 1, + delay: 200, + source: doSearch, + response: function(event, ui) { + if (!ui.content.length) { + ui.content.push({ l: messages.noResult }); + } else { + $("#search-input").empty(); + } + }, + autoFocus: true, + focus: function(event, ui) { + return false; + }, + position: { + collision: "flip" + }, + select: function(event, ui) { + if (ui.item.indexItem) { + var url = getURL(ui.item.indexItem, ui.item.category); + window.location.href = pathtoroot + url; + $("#search-input").focus(); + } + } + }); + search.val(''); + search.prop("disabled", false); + reset.prop("disabled", false); + reset.click(function() { + search.val('').focus(); + }); + search.focus(); +}); diff --git a/cffu/1.0.0-Alpha22/serialized-form.html b/cffu/1.0.0-Alpha22/serialized-form.html new file mode 100644 index 0000000..07bcf8e --- /dev/null +++ b/cffu/1.0.0-Alpha22/serialized-form.html @@ -0,0 +1,81 @@ + + + + +Serialized Form (CompletableFuture-Fu(cffu) 1.0.0-Alpha22 API) + + + + + + + + + + + + + + +
    + +
    +
    +
    +

    Serialized Form

    +
    + +
    +
    +
    + +
    +
    +
    + + diff --git a/cffu/1.0.0-Alpha22/stylesheet.css b/cffu/1.0.0-Alpha22/stylesheet.css new file mode 100644 index 0000000..f71489f --- /dev/null +++ b/cffu/1.0.0-Alpha22/stylesheet.css @@ -0,0 +1,1272 @@ +/* + * Javadoc style sheet + */ + +@import url('resources/fonts/dejavu.css'); + +/* + * These CSS custom properties (variables) define the core color and font + * properties used in this stylesheet. + */ +:root { + /* body, block and code fonts */ + --body-font-family: 'DejaVu Sans', Arial, Helvetica, sans-serif; + --block-font-family: 'DejaVu Serif', Georgia, "Times New Roman", Times, serif; + --code-font-family: 'DejaVu Sans Mono', monospace; + /* Base font sizes for body and code elements */ + --body-font-size: 14px; + --code-font-size: 14px; + /* Text colors for body and block elements */ + --body-text-color: #353833; + --block-text-color: #474747; + /* Background colors for various structural elements */ + --body-background-color: #ffffff; + --section-background-color: #f8f8f8; + --detail-background-color: #ffffff; + /* Colors for navigation bar and table captions */ + --navbar-background-color: #4D7A97; + --navbar-text-color: #ffffff; + /* Background color for subnavigation and various headers */ + --subnav-background-color: #dee3e9; + /* Background and text colors for selected tabs and navigation items */ + --selected-background-color: #f8981d; + --selected-text-color: #253441; + --selected-link-color: #1f389c; + /* Background colors for generated tables */ + --even-row-color: #ffffff; + --odd-row-color: #eeeeef; + /* Text color for page title */ + --title-color: #2c4557; + /* Text colors for links */ + --link-color: #4A6782; + --link-color-active: #bb7a2a; + /* Snippet colors */ + --snippet-background-color: #ebecee; + --snippet-text-color: var(--block-text-color); + --snippet-highlight-color: #f7c590; + /* Border colors for structural elements and user defined tables */ + --border-color: #ededed; + --table-border-color: #000000; + /* Search input colors */ + --search-input-background-color: #ffffff; + --search-input-text-color: #000000; + --search-input-placeholder-color: #909090; + /* Highlight color for active search tag target */ + --search-tag-highlight-color: #ffff00; + /* Adjustments for icon and active background colors of copy-to-clipboard buttons */ + --copy-icon-brightness: 100%; + --copy-button-background-color-active: rgba(168, 168, 176, 0.3); + /* Colors for invalid tag notifications */ + --invalid-tag-background-color: #ffe6e6; + --invalid-tag-text-color: #000000; +} +/* + * Styles for individual HTML elements. + * + * These are styles that are specific to individual HTML elements. Changing them affects the style of a particular + * HTML element throughout the page. + */ +body { + background-color:var(--body-background-color); + color:var(--body-text-color); + font-family:var(--body-font-family); + font-size:var(--body-font-size); + margin:0; + padding:0; + height:100%; + width:100%; +} +iframe { + margin:0; + padding:0; + height:100%; + width:100%; + overflow-y:scroll; + border:none; +} +a:link, a:visited { + text-decoration:none; + color:var(--link-color); +} +a[href]:hover, a[href]:focus { + text-decoration:none; + color:var(--link-color-active); +} +pre { + font-family:var(--code-font-family); + font-size:1em; +} +h1 { + font-size:1.428em; +} +h2 { + font-size:1.285em; +} +h3 { + font-size:1.14em; +} +h4 { + font-size:1.072em; +} +h5 { + font-size:1.001em; +} +h6 { + font-size:0.93em; +} +/* Disable font boosting for selected elements */ +h1, h2, h3, h4, h5, h6, div.member-signature { + max-height: 1000em; +} +ul { + list-style-type:disc; +} +code, tt { + font-family:var(--code-font-family); +} +:not(h1, h2, h3, h4, h5, h6) > code, +:not(h1, h2, h3, h4, h5, h6) > tt { + font-size:var(--code-font-size); + padding-top:4px; + margin-top:8px; + line-height:1.4em; +} +dt code { + font-family:var(--code-font-family); + font-size:1em; + padding-top:4px; +} +.summary-table dt code { + font-family:var(--code-font-family); + font-size:1em; + vertical-align:top; + padding-top:4px; +} +sup { + font-size:8px; +} +button { + font-family: var(--body-font-family); + font-size: 1em; +} +/* + * Styles for HTML generated by javadoc. + * + * These are style classes that are used by the standard doclet to generate HTML documentation. + */ + +/* + * Styles for document title and copyright. + */ +.about-language { + float:right; + padding:0 21px 8px 8px; + font-size:0.915em; + margin-top:-9px; + height:2.9em; +} +.legal-copy { + margin-left:.5em; +} +/* + * Styles for navigation bar. + */ +@media screen { + div.flex-box { + position:fixed; + display:flex; + flex-direction:column; + height: 100%; + width: 100%; + } + header.flex-header { + flex: 0 0 auto; + } + div.flex-content { + flex: 1 1 auto; + overflow-y: auto; + } +} +.top-nav { + background-color:var(--navbar-background-color); + color:var(--navbar-text-color); + float:left; + width:100%; + clear:right; + min-height:2.8em; + padding:10px 0 0 0; + overflow:hidden; + font-size:0.857em; +} +button#navbar-toggle-button { + display:none; +} +ul.sub-nav-list-small { + display: none; +} +.sub-nav { + background-color:var(--subnav-background-color); + float:left; + width:100%; + overflow:hidden; + font-size:0.857em; +} +.sub-nav div { + clear:left; + float:left; + padding:6px; + text-transform:uppercase; +} +.sub-nav .sub-nav-list { + padding-top:4px; +} +ul.nav-list { + display:block; + margin:0 25px 0 0; + padding:0; +} +ul.sub-nav-list { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.nav-list li { + list-style:none; + float:left; + padding: 5px 6px; + text-transform:uppercase; +} +.sub-nav .nav-list-search { + float:right; + margin:0; + padding:6px; + clear:none; + text-align:right; + position:relative; +} +ul.sub-nav-list li { + list-style:none; + float:left; +} +.top-nav a:link, .top-nav a:active, .top-nav a:visited { + color:var(--navbar-text-color); + text-decoration:none; + text-transform:uppercase; +} +.top-nav a:hover { + color:var(--link-color-active); +} +.nav-bar-cell1-rev { + background-color:var(--selected-background-color); + color:var(--selected-text-color); + margin: auto 5px; +} +.skip-nav { + position:absolute; + top:auto; + left:-9999px; + overflow:hidden; +} +/* + * Hide navigation links and search box in print layout + */ +@media print { + ul.nav-list, div.sub-nav { + display:none; + } +} +/* + * Styles for page header. + */ +.title { + color:var(--title-color); + margin:10px 0; +} +.sub-title { + margin:5px 0 0 0; +} +ul.contents-list { + margin: 0 0 15px 0; + padding: 0; + list-style: none; +} +ul.contents-list li { + font-size:0.93em; +} +/* + * Styles for headings. + */ +body.class-declaration-page .summary h2, +body.class-declaration-page .details h2, +body.class-use-page h2, +body.module-declaration-page .block-list h2 { + font-style: italic; + padding:0; + margin:15px 0; +} +body.class-declaration-page .summary h3, +body.class-declaration-page .details h3, +body.class-declaration-page .summary .inherited-list h2 { + background-color:var(--subnav-background-color); + border:1px solid var(--border-color); + margin:0 0 6px -8px; + padding:7px 5px; +} +/* + * Styles for page layout containers. + */ +main { + clear:both; + padding:10px 20px; + position:relative; +} +dl.notes > dt { + font-family: var(--body-font-family); + font-size:0.856em; + font-weight:bold; + margin:10px 0 0 0; + color:var(--body-text-color); +} +dl.notes > dd { + margin:5px 10px 10px 0; + font-size:1em; + font-family:var(--block-font-family) +} +dl.name-value > dt { + margin-left:1px; + font-size:1.1em; + display:inline; + font-weight:bold; +} +dl.name-value > dd { + margin:0 0 0 1px; + font-size:1.1em; + display:inline; +} +/* + * Styles for lists. + */ +li.circle { + list-style:circle; +} +ul.horizontal li { + display:inline; + font-size:0.9em; +} +div.inheritance { + margin:0; + padding:0; +} +div.inheritance div.inheritance { + margin-left:2em; +} +ul.block-list, +ul.details-list, +ul.member-list, +ul.summary-list { + margin:10px 0 10px 0; + padding:0; +} +ul.block-list > li, +ul.details-list > li, +ul.member-list > li, +ul.summary-list > li { + list-style:none; + margin-bottom:15px; + line-height:1.4; +} +ul.ref-list { + padding:0; + margin:0; +} +ul.ref-list > li { + list-style:none; +} +.summary-table dl, .summary-table dl dt, .summary-table dl dd { + margin-top:0; + margin-bottom:1px; +} +ul.tag-list, ul.tag-list-long { + padding-left: 0; + list-style: none; +} +ul.tag-list li { + display: inline; +} +ul.tag-list li:not(:last-child):after, +ul.tag-list-long li:not(:last-child):after +{ + content: ", "; + white-space: pre-wrap; +} +ul.preview-feature-list { + list-style: none; + margin:0; + padding:0.1em; + line-height: 1.6em; +} +/* + * Styles for tables. + */ +.summary-table, .details-table { + width:100%; + border-spacing:0; + border:1px solid var(--border-color); + border-top:0; + padding:0; +} +.caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:var(--selected-text-color); + clear:none; + overflow:hidden; + padding: 10px 0 0 1px; + margin:0; +} +.caption a:link, .caption a:visited { + color:var(--selected-link-color); +} +.caption a:hover, +.caption a:active { + color:var(--navbar-text-color); +} +.caption span { + font-weight:bold; + white-space:nowrap; + padding:5px 12px 7px 12px; + display:inline-block; + float:left; + background-color:var(--selected-background-color); + border: none; + height:16px; +} +div.table-tabs { + padding:10px 0 0 1px; + margin:10px 0 0 0; +} +div.table-tabs > button { + border: none; + cursor: pointer; + padding: 5px 12px 7px 12px; + font-weight: bold; + margin-right: 8px; +} +div.table-tabs > .active-table-tab { + background: var(--selected-background-color); + color: var(--selected-text-color); +} +div.table-tabs > button.table-tab { + background: var(--navbar-background-color); + color: var(--navbar-text-color); +} +.two-column-search-results { + display: grid; + grid-template-columns: minmax(400px, max-content) minmax(400px, auto); +} +div.checkboxes { + line-height: 2em; +} +div.checkboxes > span { + margin-left: 10px; +} +div.checkboxes > label { + margin-left: 8px; + white-space: nowrap; +} +div.checkboxes > label > input { + margin: 0 2px; +} +.two-column-summary { + display: grid; + grid-template-columns: minmax(25%, max-content) minmax(25%, auto); +} +.three-column-summary { + display: grid; + grid-template-columns: minmax(15%, max-content) minmax(20%, max-content) minmax(20%, auto); +} +.three-column-release-summary { + display: grid; + grid-template-columns: minmax(40%, max-content) minmax(10%, max-content) minmax(40%, auto); +} +.four-column-summary { + display: grid; + grid-template-columns: minmax(10%, max-content) minmax(15%, max-content) minmax(15%, max-content) minmax(15%, auto); +} +@media screen and (max-width: 1000px) { + .four-column-summary { + display: grid; + grid-template-columns: minmax(15%, max-content) minmax(15%, auto); + } +} +@media screen and (max-width: 800px) { + .two-column-search-results { + display: grid; + grid-template-columns: minmax(40%, max-content) minmax(40%, auto); + } + .three-column-summary { + display: grid; + grid-template-columns: minmax(10%, max-content) minmax(25%, auto); + } + .three-column-release-summary { + display: grid; + grid-template-columns: minmax(70%, max-content) minmax(30%, max-content) + } + .three-column-summary .col-last, + .three-column-release-summary .col-last{ + grid-column-end: span 2; + } +} +@media screen and (max-width: 600px) { + .two-column-summary { + display: grid; + grid-template-columns: 1fr; + } +} +.summary-table > div, .details-table > div { + text-align:left; + padding: 8px 3px 3px 7px; + overflow-x: auto; + scrollbar-width: thin; +} +.col-first, .col-second, .col-last, .col-constructor-name, .col-summary-item-name { + vertical-align:top; + padding-right:0; + padding-top:8px; + padding-bottom:3px; +} +.table-header { + background:var(--subnav-background-color); + font-weight: bold; +} +/* Sortable table columns */ +.table-header[onclick] { + cursor: pointer; +} +.table-header[onclick]::after { + content:""; + display:inline-block; + background-image:url('data:image/svg+xml; utf8, \ + \ + '); + background-size:100% 100%; + width:9px; + height:14px; + margin-left:4px; + margin-bottom:-3px; +} +.table-header[onclick].sort-asc::after { + background-image:url('data:image/svg+xml; utf8, \ + \ + \ + '); + +} +.table-header[onclick].sort-desc::after { + background-image:url('data:image/svg+xml; utf8, \ + \ + \ + '); +} +.col-first, .col-first { + font-size:0.93em; +} +.col-second, .col-second, .col-last, .col-constructor-name, .col-summary-item-name, .col-last { + font-size:0.93em; +} +.col-first, .col-second, .col-constructor-name { + vertical-align:top; + overflow: auto; +} +.col-last { + white-space:normal; +} +.col-first a:link, .col-first a:visited, +.col-second a:link, .col-second a:visited, +.col-first a:link, .col-first a:visited, +.col-second a:link, .col-second a:visited, +.col-constructor-name a:link, .col-constructor-name a:visited, +.col-summary-item-name a:link, .col-summary-item-name a:visited { + font-weight:bold; +} +.even-row-color, .even-row-color .table-header { + background-color:var(--even-row-color); +} +.odd-row-color, .odd-row-color .table-header { + background-color:var(--odd-row-color); +} +/* + * Styles for contents. + */ +div.block { + font-size:var(--body-font-size); + font-family:var(--block-font-family); +} +.col-last div { + padding-top:0; +} +.col-last a { + padding-bottom:3px; +} +.module-signature, +.package-signature, +.type-signature, +.member-signature { + font-family:var(--code-font-family); + font-size:1em; + margin:14px 0; + white-space: pre-wrap; +} +.module-signature, +.package-signature, +.type-signature { + margin-top: 0; +} +.member-signature .type-parameters-long, +.member-signature .parameters, +.member-signature .exceptions { + display: inline-block; + vertical-align: top; + white-space: pre; +} +.member-signature .type-parameters { + white-space: normal; +} +/* + * Styles for formatting effect. + */ +.source-line-no { + /* Color of line numbers in source pages can be set via custom property below */ + color:var(--source-linenumber-color, green); + padding:0 30px 0 0; +} +.block { + display:block; + margin:0 10px 5px 0; + color:var(--block-text-color); +} +.deprecated-label, .description-from-type-label, .implementation-label, .member-name-link, +.module-label-in-package, .module-label-in-type, .package-label-in-type, +.package-hierarchy-label, .type-name-label, .type-name-link, .search-tag-link, .preview-label { + font-weight:bold; +} +.deprecation-comment, .help-footnote, .preview-comment { + font-style:italic; +} +.deprecation-block { + font-size:1em; + font-family:var(--block-font-family); + border-style:solid; + border-width:thin; + border-radius:10px; + padding:10px; + margin-bottom:10px; + margin-right:10px; + display:inline-block; +} +.preview-block { + font-size:1em; + font-family:var(--block-font-family); + border-style:solid; + border-width:thin; + border-radius:10px; + padding:10px; + margin-bottom:10px; + margin-right:10px; + display:inline-block; +} +div.block div.deprecation-comment { + font-style:normal; +} +details.invalid-tag, span.invalid-tag { + font-size:1em; + font-family:var(--block-font-family); + color: var(--invalid-tag-text-color); + background: var(--invalid-tag-background-color); + border: thin solid var(--table-border-color); + border-radius:2px; + padding: 2px 4px; + display:inline-block; +} +details summary { + cursor: pointer; +} +/* + * Styles specific to HTML5 elements. + */ +main, nav, header, footer, section { + display:block; +} +/* + * Styles for javadoc search. + */ +.ui-state-active { + /* Overrides the color of selection used in jQuery UI */ + background: var(--selected-background-color); + border: 1px solid var(--selected-background-color); + color: var(--selected-text-color); +} +.ui-autocomplete-category { + font-weight:bold; + font-size:15px; + padding:7px 0 7px 3px; + background-color:var(--navbar-background-color); + color:var(--navbar-text-color); +} +.ui-autocomplete { + max-height:85%; + max-width:65%; + overflow-y:auto; + overflow-x:auto; + scrollbar-width: thin; + white-space:nowrap; + box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23); +} +ul.ui-autocomplete { + position:fixed; + z-index:1; + background-color: var(--body-background-color); +} +ul.ui-autocomplete li { + float:left; + clear:both; + min-width:100%; +} +ul.ui-autocomplete li.ui-static-link { + position:sticky; + bottom:0; + left:0; + background: var(--subnav-background-color); + padding: 5px 0; + font-family: var(--body-font-family); + font-size: 0.93em; + font-weight: bolder; + z-index: 2; +} +li.ui-static-link a, li.ui-static-link a:visited { + text-decoration:none; + color:var(--link-color); + float:right; + margin-right:20px; +} +.ui-autocomplete .result-item { + font-size: inherit; +} +.ui-autocomplete .result-highlight { + font-weight:bold; +} +#search-input, #page-search-input { + background-image:url('resources/glass.png'); + background-size:13px; + background-repeat:no-repeat; + background-position:2px 3px; + background-color: var(--search-input-background-color); + color: var(--search-input-text-color); + border-color: var(--border-color); + padding-left:20px; + width: 250px; + margin: 0; +} +#search-input { + margin-left: 4px; +} +#reset-button { + background-color: transparent; + background-image:url('resources/x.png'); + background-repeat:no-repeat; + background-size:contain; + border:0; + border-radius:0; + width:12px; + height:12px; + position:absolute; + right:12px; + top:10px; + font-size:0; +} +::placeholder { + color:var(--search-input-placeholder-color); + opacity: 1; +} +.search-tag-desc-result { + font-style:italic; + font-size:11px; +} +.search-tag-holder-result { + font-style:italic; + font-size:12px; +} +.search-tag-result:target { + background-color:var(--search-tag-highlight-color); +} +details.page-search-details { + display: inline-block; +} +div#result-container { + font-size: 1em; +} +div#result-container a.search-result-link { + padding: 0; + margin: 4px 0; + width: 100%; +} +#result-container .result-highlight { + font-weight:bolder; +} +.page-search-info { + background-color: var(--subnav-background-color); + border-radius: 3px; + border: 0 solid var(--border-color); + padding: 0 8px; + overflow: hidden; + height: 0; + transition: all 0.2s ease; +} +div.table-tabs > button.table-tab { + background: var(--navbar-background-color); + color: var(--navbar-text-color); +} +.page-search-header { + padding: 5px 12px 7px 12px; + font-weight: bold; + margin-right: 3px; + background-color:var(--navbar-background-color); + color:var(--navbar-text-color); + display: inline-block; +} +button.page-search-header { + border: none; + cursor: pointer; +} +span#page-search-link { + text-decoration: underline; +} +.module-graph span, .sealed-graph span { + display:none; + position:absolute; +} +.module-graph:hover span, .sealed-graph:hover span { + display:block; + margin: -100px 0 0 100px; + z-index: 1; +} +.inherited-list { + margin: 10px 0 10px 0; +} +section.class-description { + line-height: 1.4; +} +.summary section[class$="-summary"], .details section[class$="-details"], +.class-uses .detail, .serialized-class-details { + padding: 0 20px 5px 10px; + border: 1px solid var(--border-color); + background-color: var(--section-background-color); +} +.inherited-list, section[class$="-details"] .detail { + padding:0 0 5px 8px; + background-color:var(--detail-background-color); + border:none; +} +.vertical-separator { + padding: 0 5px; +} +ul.help-section-list { + margin: 0; +} +ul.help-subtoc > li { + display: inline-block; + padding-right: 5px; + font-size: smaller; +} +ul.help-subtoc > li::before { + content: "\2022" ; + padding-right:2px; +} +.help-note { + font-style: italic; +} +/* + * Indicator icon for external links. + */ +main a[href*="://"]::after { + content:""; + display:inline-block; + background-image:url('data:image/svg+xml; utf8, \ + \ + \ + '); + background-size:100% 100%; + width:7px; + height:7px; + margin-left:2px; + margin-bottom:4px; +} +main a[href*="://"]:hover::after, +main a[href*="://"]:focus::after { + background-image:url('data:image/svg+xml; utf8, \ + \ + \ + '); +} +/* + * Styles for header/section anchor links + */ +a.anchor-link { + opacity: 0; + transition: opacity 0.1s; +} +:hover > a.anchor-link { + opacity: 80%; +} +a.anchor-link:hover, +a.anchor-link:focus-visible, +a.anchor-link.visible { + opacity: 100%; +} +a.anchor-link > img { + width: 0.9em; + height: 0.9em; +} +/* + * Styles for copy-to-clipboard buttons + */ +button.copy { + opacity: 70%; + border: none; + border-radius: 3px; + position: relative; + background:none; + transition: opacity 0.3s; + cursor: pointer; +} +:hover > button.copy { + opacity: 80%; +} +button.copy:hover, +button.copy:active, +button.copy:focus-visible, +button.copy.visible { + opacity: 100%; +} +button.copy img { + position: relative; + background: none; + filter: brightness(var(--copy-icon-brightness)); +} +button.copy:active { + background-color: var(--copy-button-background-color-active); +} +button.copy span { + color: var(--body-text-color); + position: relative; + top: -0.1em; + transition: all 0.1s; + font-size: 0.76rem; + line-height: 1.2em; + opacity: 0; +} +button.copy:hover span, +button.copy:focus-visible span, +button.copy.visible span { + opacity: 100%; +} +/* search page copy button */ +button#page-search-copy { + margin-left: 0.4em; + padding:0.3em; + top:0.13em; +} +button#page-search-copy img { + width: 1.2em; + height: 1.2em; + padding: 0.01em 0; + top: 0.15em; +} +button#page-search-copy span { + color: var(--body-text-color); + line-height: 1.2em; + padding: 0.2em; + top: -0.18em; +} +div.page-search-info:hover button#page-search-copy span { + opacity: 100%; +} +/* snippet copy button */ +button.snippet-copy { + position: absolute; + top: 6px; + right: 6px; + height: 1.7em; + padding: 2px; +} +button.snippet-copy img { + width: 18px; + height: 18px; + padding: 0.05em 0; +} +button.snippet-copy span { + line-height: 1.2em; + padding: 0.2em; + position: relative; + top: -0.5em; +} +div.snippet-container:hover button.snippet-copy span { + opacity: 100%; +} +/* + * Styles for user-provided tables. + * + * borderless: + * No borders, vertical margins, styled caption. + * This style is provided for use with existing doc comments. + * In general, borderless tables should not be used for layout purposes. + * + * plain: + * Plain borders around table and cells, vertical margins, styled caption. + * Best for small tables or for complex tables for tables with cells that span + * rows and columns, when the "striped" style does not work well. + * + * striped: + * Borders around the table and vertical borders between cells, striped rows, + * vertical margins, styled caption. + * Best for tables that have a header row, and a body containing a series of simple rows. + */ + +table.borderless, +table.plain, +table.striped { + margin-top: 10px; + margin-bottom: 10px; +} +table.borderless > caption, +table.plain > caption, +table.striped > caption { + font-weight: bold; + font-size: smaller; +} +table.borderless th, table.borderless td, +table.plain th, table.plain td, +table.striped th, table.striped td { + padding: 2px 5px; +} +table.borderless, +table.borderless > thead > tr > th, table.borderless > tbody > tr > th, table.borderless > tr > th, +table.borderless > thead > tr > td, table.borderless > tbody > tr > td, table.borderless > tr > td { + border: none; +} +table.borderless > thead > tr, table.borderless > tbody > tr, table.borderless > tr { + background-color: transparent; +} +table.plain { + border-collapse: collapse; + border: 1px solid var(--table-border-color); +} +table.plain > thead > tr, table.plain > tbody tr, table.plain > tr { + background-color: transparent; +} +table.plain > thead > tr > th, table.plain > tbody > tr > th, table.plain > tr > th, +table.plain > thead > tr > td, table.plain > tbody > tr > td, table.plain > tr > td { + border: 1px solid var(--table-border-color); +} +table.striped { + border-collapse: collapse; + border: 1px solid var(--table-border-color); +} +table.striped > thead { + background-color: var(--subnav-background-color); +} +table.striped > thead > tr > th, table.striped > thead > tr > td { + border: 1px solid var(--table-border-color); +} +table.striped > tbody > tr:nth-child(even) { + background-color: var(--odd-row-color) +} +table.striped > tbody > tr:nth-child(odd) { + background-color: var(--even-row-color) +} +table.striped > tbody > tr > th, table.striped > tbody > tr > td { + border-left: 1px solid var(--table-border-color); + border-right: 1px solid var(--table-border-color); +} +table.striped > tbody > tr > th { + font-weight: normal; +} +/** + * Tweak style for small screens. + */ +@media screen and (max-width: 920px) { + header.flex-header { + max-height: 100vh; + overflow-y: auto; + } + div#navbar-top { + height: 2.8em; + transition: height 0.35s ease; + } + ul.nav-list { + display: block; + width: 40%; + float:left; + clear: left; + margin: 10px 0 0 0; + padding: 0; + } + ul.nav-list li { + float: none; + padding: 6px; + margin-left: 10px; + margin-top: 2px; + } + ul.sub-nav-list-small { + display:block; + height: 100%; + width: 50%; + float: right; + clear: right; + background-color: var(--subnav-background-color); + color: var(--body-text-color); + margin: 6px 0 0 0; + padding: 0; + } + ul.sub-nav-list-small ul { + padding-left: 20px; + } + ul.sub-nav-list-small a:link, ul.sub-nav-list-small a:visited { + color:var(--link-color); + } + ul.sub-nav-list-small a:hover { + color:var(--link-color-active); + } + ul.sub-nav-list-small li { + list-style:none; + float:none; + padding: 6px; + margin-top: 1px; + text-transform:uppercase; + } + ul.sub-nav-list-small > li { + margin-left: 10px; + } + ul.sub-nav-list-small li p { + margin: 5px 0; + } + div#navbar-sub-list { + display: none; + } + .top-nav a:link, .top-nav a:active, .top-nav a:visited { + display: block; + } + button#navbar-toggle-button { + width: 3.4em; + height: 2.8em; + background-color: transparent; + display: block; + float: left; + border: 0; + margin: 0 10px; + cursor: pointer; + font-size: 10px; + } + button#navbar-toggle-button .nav-bar-toggle-icon { + display: block; + width: 24px; + height: 3px; + margin: 1px 0 4px 0; + border-radius: 2px; + transition: all 0.1s; + background-color: var(--navbar-text-color); + } + button#navbar-toggle-button.expanded span.nav-bar-toggle-icon:nth-child(1) { + transform: rotate(45deg); + transform-origin: 10% 10%; + width: 26px; + } + button#navbar-toggle-button.expanded span.nav-bar-toggle-icon:nth-child(2) { + opacity: 0; + } + button#navbar-toggle-button.expanded span.nav-bar-toggle-icon:nth-child(3) { + transform: rotate(-45deg); + transform-origin: 10% 90%; + width: 26px; + } +} +@media screen and (max-width: 800px) { + .about-language { + padding-right: 16px; + } + ul.nav-list li { + margin-left: 5px; + } + ul.sub-nav-list-small > li { + margin-left: 5px; + } + main { + padding: 10px; + } + .summary section[class$="-summary"], .details section[class$="-details"], + .class-uses .detail, .serialized-class-details { + padding: 0 8px 5px 8px; + } + body { + -webkit-text-size-adjust: none; + } +} +@media screen and (max-width: 400px) { + .about-language { + font-size: 10px; + padding-right: 12px; + } +} +@media screen and (max-width: 400px) { + .nav-list-search { + width: 94%; + } + #search-input, #page-search-input { + width: 70%; + } +} +@media screen and (max-width: 320px) { + .nav-list-search > label { + display: none; + } + .nav-list-search { + width: 90%; + } + #search-input, #page-search-input { + width: 80%; + } +} + +pre.snippet { + background-color: var(--snippet-background-color); + color: var(--snippet-text-color); + padding: 10px; + margin: 12px 0; + overflow: auto; + white-space: pre; +} +div.snippet-container { + position: relative; +} +@media screen and (max-width: 800px) { + pre.snippet { + padding-top: 26px; + } + button.snippet-copy { + top: 4px; + right: 4px; + } +} +pre.snippet .italic { + font-style: italic; +} +pre.snippet .bold { + font-weight: bold; +} +pre.snippet .highlighted { + background-color: var(--snippet-highlight-color); + border-radius: 10%; +} diff --git a/cffu/1.0.0-Alpha22/tag-search-index.js b/cffu/1.0.0-Alpha22/tag-search-index.js new file mode 100644 index 0000000..f38b3cb --- /dev/null +++ b/cffu/1.0.0-Alpha22/tag-search-index.js @@ -0,0 +1 @@ +tagSearchIndex = [{"l":"Serialized Form","h":"","u":"serialized-form.html"}];updateSearchResults(); \ No newline at end of file diff --git a/cffu/1.0.0-Alpha22/type-search-index.js b/cffu/1.0.0-Alpha22/type-search-index.js new file mode 100644 index 0000000..d440752 --- /dev/null +++ b/cffu/1.0.0-Alpha22/type-search-index.js @@ -0,0 +1 @@ +typeSearchIndex = [{"l":"All Classes and Interfaces","u":"allclasses-index.html"},{"p":"io.foldright.cffu","l":"Cffu"},{"p":"io.foldright.cffu","l":"CffuFactory"},{"p":"io.foldright.cffu","l":"CffuFactoryBuilder"},{"p":"io.foldright.cffu","l":"CffuState"},{"p":"io.foldright.cffu.ttl","l":"CffuTtlExecutorWrapperProvider"},{"p":"io.foldright.cffu","l":"CompletableFutureUtils"},{"p":"io.foldright.cffu.spi","l":"ExecutorWrapperProvider"},{"p":"io.foldright.cffu","l":"ListenableFutureUtils"},{"p":"io.foldright.cffu","l":"NoCfsProvidedException"},{"p":"io.foldright.cffu.tuple","l":"Tuple2"},{"p":"io.foldright.cffu.tuple","l":"Tuple3"},{"p":"io.foldright.cffu.tuple","l":"Tuple4"},{"p":"io.foldright.cffu.tuple","l":"Tuple5"}];updateSearchResults(); \ No newline at end of file diff --git a/cffu/index.html b/cffu/index.html index afd639c..7ab1b64 100644 --- a/cffu/index.html +++ b/cffu/index.html @@ -1,7 +1,7 @@