Uses of Interface
com.google.common.util.concurrent.ListeningExecutorService
-
Packages that use ListeningExecutorService Package Description com.google.common.util.concurrent Concurrency utilities. -
-
Uses of ListeningExecutorService in com.google.common.util.concurrent
Subinterfaces of ListeningExecutorService in com.google.common.util.concurrent Modifier and Type Interface Description interface
ListeningScheduledExecutorService
AScheduledExecutorService
that returnsListenableFuture
instances from itsExecutorService
methods.Classes in com.google.common.util.concurrent that implement ListeningExecutorService Modifier and Type Class Description class
AbstractListeningExecutorService
AbstractListeningExecutorService
implementation that createsListenableFuture
instances for eachRunnable
andCallable
submitted to it.class
ForwardingListeningExecutorService
A listening executor service which forwards all its method calls to another listening executor service.Methods in com.google.common.util.concurrent that return ListeningExecutorService Modifier and Type Method Description protected abstract ListeningExecutorService
ForwardingListeningExecutorService. delegate()
static ListeningExecutorService
MoreExecutors. listeningDecorator(java.util.concurrent.ExecutorService delegate)
Creates anExecutorService
whosesubmit
andinvokeAll
methods submitListenableFutureTask
instances to the given delegate executor.static ListeningExecutorService
MoreExecutors. newDirectExecutorService()
Creates an executor service that runs each task in the thread that invokesexecute/submit
, as inThreadPoolExecutor.CallerRunsPolicy
.Methods in com.google.common.util.concurrent with parameters of type ListeningExecutorService Modifier and Type Method Description static <T extends @Nullable java.lang.Object>
AsyncCallable<T>Callables. asAsyncCallable(java.util.concurrent.Callable<T> callable, ListeningExecutorService listeningExecutorService)
Creates anAsyncCallable
from aCallable
.
-