| Package | Description |
|---|---|
| tech.mlsql.common.utils.concurrent |
| Modifier and Type | Method and Description |
|---|---|
static <V> ListenableFuture<V> |
Futures.withFallback(ListenableFuture<? extends V> input,
FutureFallback<? extends V> fallback)
Returns a
Future whose result is taken from the given primary
input or, if the primary input fails, from the Future
provided by the fallback. |
static <V> ListenableFuture<V> |
Futures.withFallback(ListenableFuture<? extends V> input,
FutureFallback<? extends V> fallback,
Executor executor)
Returns a
Future whose result is taken from the given primary
input or, if the primary input fails, from the Future
provided by the fallback. |
Copyright © 2020. All rights reserved.