- failedFuture
Creates a new CompletableFuture that is failed with the given exception.
- await
Waits for the provided future to be complete, and returns true if it was
successful, false if it fai
- allOf
Similar implementation to CompletableFuture.allOf(vararg) but that works on a
Collection.
- allOfWithResults
Similar to CompletableFuture.allOf(varargs), but that works on a Map and that
returns another Map wh
- delayedFuture
Executes the asynchronous task after the specified delay.
- loop
Executes a loop using CompletableFutures, without invoking join()/get() on any
of them or exclusivel
- exceptionListener
Registers an exception listener to the given CompletableFuture.
- getAndHandleExceptions
Calls get on the provided future, handling interrupted, and transforming the
executionException into
- isSuccessful
Returns true if the future is done and successful.
- completeAfter
Given a Supplier returning a Future, completes another future either with the
result of the first fu
- exceptionallyExpecting
Same as CompletableFuture.exceptionally(), except that it allows certain
exceptions, as defined by t
- exceptionallyCompose
Same as CompletableFuture.exceptionally(), except that it allows returning a
CompletableFuture inste