Uses of Interface
com.spotify.futures.Validator
-
Uses of Validator in com.spotify.futures
Methods in com.spotify.futures with parameters of type ValidatorModifier and TypeMethodDescriptionstatic <A,B> com.google.common.util.concurrent.ListenableFuture<A> FuturesExtra.fastFail(com.google.common.util.concurrent.ListenableFuture<B> conditionValue, com.google.common.util.concurrent.ListenableFuture<A> future, Validator<B> validator) This takes two futures of typeFuturesExtraandFuturesExtraand works like a valve onFuturesExtra, with validation executed onFuturesExtra.static <A,B> com.google.common.util.concurrent.ListenableFuture<A> FuturesExtra.fastFail(com.google.common.util.concurrent.ListenableFuture<B> conditionValue, com.google.common.util.concurrent.ListenableFuture<A> future, Validator<B> validator, Executor executor) This takes two futures of typeFuturesExtraandFuturesExtraand works like a valve onFuturesExtra, with validation executed onFuturesExtra.