Uses of Interface
org.docx4j.com.google.common.util.concurrent.ListeningExecutorService
Packages that use ListeningExecutorService
-
Uses of ListeningExecutorService in org.docx4j.com.google.common.util.concurrent
Subinterfaces of ListeningExecutorService in org.docx4j.com.google.common.util.concurrentModifier and TypeInterfaceDescriptioninterfaceAScheduledExecutorServicethat returnsListenableFutureinstances from itsExecutorServicemethods.Classes in org.docx4j.com.google.common.util.concurrent that implement ListeningExecutorServiceModifier and TypeClassDescriptionclassAbstractListeningExecutorServiceimplementation that createsListenableFutureinstances for eachRunnableandCallablesubmitted to it.private static final classMethods in org.docx4j.com.google.common.util.concurrent that return ListeningExecutorServiceModifier and TypeMethodDescriptionstatic ListeningExecutorServiceMoreExecutors.newDirectExecutorService()Creates an executor service that runs each task in the thread that invokesexecute/submit, as inThreadPoolExecutor.CallerRunsPolicyThis applies both to individually submitted tasks and to collections of tasks submitted viainvokeAllorinvokeAny.Methods in org.docx4j.com.google.common.util.concurrent with parameters of type ListeningExecutorServiceModifier and TypeMethodDescriptionprivate static <T> ListenableFuture<T>MoreExecutors.submitAndAddQueueListener(ListeningExecutorService executorService, Callable<T> task, BlockingQueue<Future<T>> queue) Submits the task and adds a listener that adds the future toqueuewhen it completes.