Package | Description |
---|---|
com.google.common.util.concurrent |
Concurrency utilities.
|
Modifier and Type | Method and Description |
---|---|
(package private) static <V> TrustedListenableFutureTask<V> |
TrustedListenableFutureTask.create(AsyncCallable<V> callable) |
(package private) static <V> TrustedListenableFutureTask<V> |
TrustedListenableFutureTask.create(java.util.concurrent.Callable<V> callable) |
(package private) static <V> TrustedListenableFutureTask<V> |
TrustedListenableFutureTask.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. |