All Methods Static Methods Concrete Methods
Modifier and Type |
Method and Description |
static <T> void |
copyResults(CompletableFuture<T> source,
CompletableFuture<T> target) |
static <T,U> CompletableFuture<List<U>> |
each(Iterable<T> list,
BiFunction<T,Integer,CompletableFuture<U>> cfFactory) |
static <U> CompletableFuture<List<U>> |
each(List<CompletableFuture<U>> futures) |
static <T,U> CompletableFuture<List<U>> |
eachSequentially(Iterable<T> list,
Async.CFFactory<T,U> cfFactory) |
static <T> CompletableFuture<T> |
exceptionallyCompletedFuture(Throwable exception) |
static <U,T> CompletableFuture<List<U>> |
flatMap(List<T> inputs,
Function<T,CompletableFuture<U>> mapper) |
static <U,T> CompletableFuture<List<U>> |
map(CompletableFuture<List<T>> values,
Function<T,U> mapper) |
static <U,T> List<CompletableFuture<U>> |
map(List<CompletableFuture<T>> values,
Function<T,U> mapper) |
static <U,T> List<CompletableFuture<U>> |
mapCompose(List<CompletableFuture<T>> values,
Function<T,CompletableFuture<U>> mapper) |
static <U,T> CompletableFuture<U> |
reduce(CompletableFuture<List<T>> values,
U initialValue,
BiFunction<U,T,U> aggregator) |
static <U,T> CompletableFuture<U> |
reduce(List<CompletableFuture<T>> values,
U initialValue,
BiFunction<U,T,U> aggregator) |
static <T> CompletableFuture<T> |
toCompletableFuture(T t)
Turns an object T into a CompletableFuture if its not already
|
static <T> CompletableFuture<T> |
tryCatch(Supplier<CompletableFuture<T>> supplier) |