<C extends @Nullable java.lang.Object> ListenableFuture<C> |
Futures.FutureCombiner.callAsync(AsyncCallable<C> combiner,
java.util.concurrent.Executor executor) |
Creates the ListenableFuture which will return the result of calling call() in combiner when all futures complete, using the specified
executor .
|
static <O extends @Nullable java.lang.Object> ListenableFuture<O> |
Futures.scheduleAsync(AsyncCallable<O> callable,
long delay,
java.util.concurrent.TimeUnit timeUnit,
java.util.concurrent.ScheduledExecutorService executorService) |
Schedules callable on the specified executor , returning a Future .
|
<T extends @Nullable java.lang.Object> ListenableFuture<T> |
ExecutionSequencer.submitAsync(AsyncCallable<T> callable,
java.util.concurrent.Executor executor) |
Enqueues a task to run when the previous task (if any) completes.
|
static <O extends @Nullable java.lang.Object> ListenableFuture<O> |
Futures.submitAsync(AsyncCallable<O> callable,
java.util.concurrent.Executor executor) |
Executes callable on the specified executor , returning a Future .
|