Package com.spotify.futures
package com.spotify.futures
-
ClassDescriptionA helper for retrying asynchronous calls.A ConcurrencyLimiter can be used for efficiently queueing up asynchronous work to only run up to a specific limit of work concurrently.Static utility methods pertaining to the
ListenableFutureinterface.FuturesExtra.AsyncFunction2<Z,A, B> Implementations of this interface is used inĀFuturesExtra.syncTransform2(com.google.common.util.concurrent.ListenableFuture<A>, com.google.common.util.concurrent.ListenableFuture<B>, com.spotify.futures.FuturesExtra.Function2<Z, ? super A, ? super B>)to asynchronously transform two values into a return value.FuturesExtra.AsyncFunction3<Z,A, B, C> FuturesExtra.AsyncFunction4<Z,A, B, C, D> FuturesExtra.AsyncFunction5<Z,A, B, C, D, E> FuturesExtra.AsyncFunction6<Z,A, B, C, D, E, F> Represents an operation that accepts a single input argument and returns no result.FuturesExtra.Function2<Z,A, B> Implementations of this interface is used to synchronously transform the input values into an output value.FuturesExtra.Function3<Z,A, B, C> Implementations of this interface is used to synchronously transform the input values into an output value.FuturesExtra.Function4<Z,A, B, C, D> Implementations of this interface is used to synchronously transform the input values into an output value.FuturesExtra.Function5<Z,A, B, C, D, E> Implementations of this interface is used to synchronously transform the input values into an output value.FuturesExtra.Function6<Z,A, B, C, D, E, F> Implementations of this interface is used to synchronously transform the input values into an output value.Contains references to a set of joined future values.Validator<T>Validate a value, throw an exception on invalid values.