<X extends Throwable> FluentFuture<V> |
FluentFuture.catching(Class<X> exceptionType,
Function<? super X,? extends V> fallback,
Executor executor) |
Returns a Future whose result is taken from this Future or, if this
Future fails with the given exceptionType , from the result provided by the
fallback .
|
<X extends Throwable> FluentFuture<V> |
FluentFuture.catchingAsync(Class<X> exceptionType,
AsyncFunction<? super X,? extends V> fallback,
Executor executor) |
Returns a Future whose result is taken from this Future or, if this
Future fails with the given exceptionType , from the result provided by the
fallback .
|
FluentFuture<V> |
ClosingFuture.finishToFuture() |
Marks this step as the last step in the ClosingFuture pipeline.
|
static <V> FluentFuture<V> |
FluentFuture.from(FluentFuture<V> future) |
Deprecated.
|
static <V> FluentFuture<V> |
FluentFuture.from(ListenableFuture<V> future) |
Converts the given ListenableFuture to an equivalent FluentFuture .
|
<T> FluentFuture<T> |
FluentFuture.transform(Function<? super V,T> function,
Executor executor) |
Returns a new Future whose result is derived from the result of this Future .
|
<T> FluentFuture<T> |
FluentFuture.transformAsync(AsyncFunction<? super V,T> function,
Executor executor) |
Returns a new Future whose result is asynchronously derived from the result of this
Future .
|
FluentFuture<V> |
FluentFuture.withTimeout(long timeout,
TimeUnit unit,
ScheduledExecutorService scheduledExecutor) |
|
FluentFuture<V> |
FluentFuture.withTimeout(Duration timeout,
ScheduledExecutorService scheduledExecutor) |
|