| Modifier and Type | Method and 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)
This takes two futures of type
A and B and works like
a valve on A, with validation executed on B. |
Copyright © 2015 Spotify AB. All Rights Reserved.