All Methods Static Methods Concrete Methods
Modifier and Type |
Method and Description |
static <V> void |
addCallback(ApiFuture<V> future,
ApiFutureCallback<? super V> callback) |
static <V> ApiFuture<List<V>> |
allAsList(Iterable<? extends ApiFuture<? extends V>> futures) |
static <V,X extends Throwable> ApiFuture<V> |
catching(ApiFuture<? extends V> input,
Class<X> exceptionType,
ApiFunction<? super X,? extends V> callback) |
static <V> ApiFuture<V> |
immediateFailedFuture(Throwable throwable) |
static <V> ApiFuture<V> |
immediateFuture(V value) |
static <V,X> ApiFuture<X> |
transform(ApiFuture<? extends V> input,
ApiFunction<? super V,? extends X> function) |
static <I,O> ApiFuture<O> |
transformAsync(ApiFuture<I> input,
ApiAsyncFunction<I,O> function) |