Removed Methods |
void addCallback(ListenableFuture<V>, FutureCallback<?, super, V>)
|
Registers separate success and failure callbacks to be run when the {@code Future}'s
computation is java.util.concurrent.Future#isDone() complete or, if the
computation is already complete, immediately. |
ListenableFuture<V> catching(ListenableFuture<?, extends, V>, Class<X>, Function<?, super, X, ?, extends, V>)
|
Returns a {@code Future} whose result is taken from the given primary {@code input} or, if the
primary input fails with the given {@code exceptionType}, from the result provided by the
{@code fallback}. |
ListenableFuture<V> catchingAsync(ListenableFuture<?, extends, V>, Class<X>, AsyncFunction<?, super, X, ?, extends, V>)
|
Returns a {@code Future} whose result is taken from the given primary {@code input} or, if the
primary input fails with the given {@code exceptionType}, from the result provided by the
{@code fallback}. |
ListenableFuture<O> transform(ListenableFuture<I>, Function<?, super, I, ?, extends, O>)
|
Returns a new {@code Future} whose result is derived from the result of the given {@code
Future}. |
ListenableFuture<O> transformAsync(ListenableFuture<I>, AsyncFunction<?, super, I, ?, extends, O>)
|
Returns a new {@code Future} whose result is asynchronously derived from the result of the
given {@code Future}. |