| Package | Description | 
|---|---|
| com.google.common.util.concurrent | Concurrency utilities. | 
| Modifier and Type | Method and Description | 
|---|---|
| static <V,X extends Throwable> | Futures. catchingAsync(ListenableFuture<? extends V> input,
             Class<X> exceptionType,
             AsyncFunction<? super X,? extends V> fallback)Returns a  Futurewhose result is taken from the given primaryinputor, if the
 primary input fails with the givenexceptionType, from the result provided by thefallback. | 
| static <V,X extends Throwable> | Futures. catchingAsync(ListenableFuture<? extends V> input,
             Class<X> exceptionType,
             AsyncFunction<? super X,? extends V> fallback,
             Executor executor)Returns a  Futurewhose result is taken from the given primaryinputor, if the
 primary input fails with the givenexceptionType, from the result provided by thefallback. | 
| static <I,O> ListenableFuture<O> | Futures. transformAsync(ListenableFuture<I> input,
              AsyncFunction<? super I,? extends O> function)Returns a new  Futurewhose result is asynchronously derived from the result of the
 givenFuture. | 
| static <I,O> ListenableFuture<O> | Futures. transformAsync(ListenableFuture<I> input,
              AsyncFunction<? super I,? extends O> function,
              Executor executor)Returns a new  Futurewhose result is asynchronously derived from the result of the
 givenFuture. | 
Copyright © 2010-2017. All Rights Reserved.