Package | Description |
---|---|
com.google.common.util.concurrent |
Concurrency utilities.
|
Modifier and Type | Class and Description |
---|---|
private static class |
Futures.CombinerFuture<V> |
Modifier and Type | Method and Description |
---|---|
static <V> ListenableFutureTask<V> |
ListenableFutureTask.create(java.util.concurrent.Callable<V> callable)
Creates a
ListenableFutureTask that will upon running, execute the
given Callable . |
static <V> ListenableFutureTask<V> |
ListenableFutureTask.create(java.lang.Runnable runnable,
V result)
Creates a
ListenableFutureTask that will upon running, execute the
given Runnable , and arrange that get will return the
given result on successful completion. |
protected <T> ListenableFutureTask<T> |
AbstractListeningExecutorService.newTaskFor(java.util.concurrent.Callable<T> callable) |
protected <T> ListenableFutureTask<T> |
AbstractListeningExecutorService.newTaskFor(java.lang.Runnable runnable,
T value) |