Package | Description |
---|---|
com.google.common.util.concurrent |
Concurrency utilities.
|
Modifier and Type | Method and Description |
---|---|
static <V> ListenableFuture<V> |
Futures.withFallback(ListenableFuture<? extends V> input,
FutureFallback<? extends V> fallback)
Deprecated.
Use
catchingAsync(input, Throwable.class,
fallbackImplementedAsAnAsyncFunction) , usually replacing Throwable.class with the specific type you want to handle. This method
will be removed in Guava release 20.0. |
static <V> ListenableFuture<V> |
Futures.withFallback(ListenableFuture<? extends V> input,
FutureFallback<? extends V> fallback,
Executor executor)
Deprecated.
Use
catchingAsync(input, Throwable.class,
fallbackImplementedAsAnAsyncFunction, executor) , usually replacing
Throwable.class with the specific type you want to handle. This method
will be removed in Guava release 20.0. |
Copyright © 2010-2015. All Rights Reserved.