Uses of Interface
com.spotify.futures.Validator
-
-
Uses of Validator in com.spotify.futures
Methods in com.spotify.futures with parameters of type Validator Modifier and Type Method Description 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, java.util.concurrent.Executor executor)This takes two futures of typeFuturesExtraandFuturesExtraand works like a valve onFuturesExtra, with validation executed onFuturesExtra.
-