Uses of Interface
dev.mccue.guava.concurrent.ListeningExecutorService
-
Uses of ListeningExecutorService in dev.mccue.guava.concurrent
Subinterfaces of ListeningExecutorService in dev.mccue.guava.concurrentModifier and TypeInterfaceDescriptioninterfaceAScheduledExecutorServicethat returnsListenableFutureinstances from itsExecutorServicemethods.Classes in dev.mccue.guava.concurrent that implement ListeningExecutorServiceModifier and TypeClassDescriptionclassAbstractListeningExecutorServiceimplementation that createsListenableFutureinstances for eachRunnableandCallablesubmitted to it.classA listening executor service which forwards all its method calls to another listening executor service.Methods in dev.mccue.guava.concurrent that return ListeningExecutorServiceModifier and TypeMethodDescriptionprotected abstract ListeningExecutorServiceForwardingListeningExecutorService.delegate()static ListeningExecutorServiceMoreExecutors.listeningDecorator(ExecutorService delegate) Creates anExecutorServicewhosesubmitandinvokeAllmethods submitListenableFutureTaskinstances to the given delegate executor.static ListeningExecutorServiceMoreExecutors.newDirectExecutorService()Creates an executor service that runs each task in the thread that invokesexecute/submit, as inThreadPoolExecutor.CallerRunsPolicy.Methods in dev.mccue.guava.concurrent with parameters of type ListeningExecutorServiceModifier and TypeMethodDescriptionstatic <T extends @Nullable Object>
AsyncCallable<T>Callables.asAsyncCallable(Callable<T> callable, ListeningExecutorService listeningExecutorService) Creates anAsyncCallablefrom aCallable.