Package com.spotify.futures
@ParametersAreNonnullByDefault
package com.spotify.futures
Extends the
Java completable future
API. The main
entry point of this package is the CompletableFutures
class, that
contains useful static utility methods.
This package uses the convention that all method parameters are non-null by default, i.e.
unless indicated by a @Nullable
annotation.
- Since:
- 0.1.0
-
ClassDescriptionA collection of static utility methods that extend the
Java completable future
API.ConcurrencyReducer
is used to queue tasks which will be executed in a manner reducing the number of concurrent tasks.Function3<A,B, C, R> Represents a function that accepts three arguments and produces a result.Function4<A,B, C, D, R> Represents a function that accepts four arguments and produces a result.Function5<A,B, C, D, E, R> Represents a function that accepts five arguments and produces a result.Function6<A,B, C, D, E, F, R> Represents a function that accepts six arguments and produces a result.