| 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. transform(ListenableFuture<I> input,
                  AsyncFunction<? super I,? extends O> function)Deprecated. 
 These  AsyncFunctionoverloads oftransformare
     being renamed totransformAsync. (TheFunctionoverloads are keeping the "transform" name.) This method will be removed in Guava release
     20.0. | 
| static <I,O> ListenableFuture<O> | Futures. transform(ListenableFuture<I> input,
                  AsyncFunction<? super I,? extends O> function,
                  Executor executor)Deprecated. 
 These  AsyncFunctionoverloads oftransformare
     being renamed totransformAsync. (TheFunctionoverloads are keeping the "transform" name.) This method will be removed in Guava release
     20.0. | 
| static <I,O> ListenableFuture<O> | Futures. transformAsync(ListenableFuture<I> input,
                            AsyncFunction<? super I,? extends O> function)Returns a new  ListenableFuturewhose 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  ListenableFuturewhose result is asynchronously derived from the result
 of the givenFuture. | 
Copyright © 2010-2015. All Rights Reserved.