Uses of Class
com.google.common.util.concurrent.ListenableFutureTask
-
Packages that use ListenableFutureTask Package Description com.google.common.util.concurrent Concurrency utilities. -
-
Uses of ListenableFutureTask in com.google.common.util.concurrent
Methods in com.google.common.util.concurrent that return ListenableFutureTask Modifier and Type Method Description static <V extends @Nullable java.lang.Object>
ListenableFutureTask<V>ListenableFutureTask. create(java.lang.Runnable runnable, V result)
Creates aListenableFutureTask
that will upon running, execute the givenRunnable
, and arrange thatget
will return the given result on successful completion.static <V extends @Nullable java.lang.Object>
ListenableFutureTask<V>ListenableFutureTask. create(java.util.concurrent.Callable<V> callable)
Creates aListenableFutureTask
that will upon running, execute the givenCallable
.
-