@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
-
Interface Summary Interface Description 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. -
Class Summary Class Description CombinedFutures CompletableFutures A collection of static utility methods that extend theJava completable futureAPI.ConcurrencyReducer<T> ConcurrencyReduceris used to queue tasks which will be executed in a manner reducing the number of concurrent tasks. -
Exception Summary Exception Description ConcurrencyReducer.CapacityReachedException