Class AbstractListeningExecutorService

java.lang.Object
java.util.concurrent.AbstractExecutorService
dev.mccue.guava.concurrent.AbstractListeningExecutorService
All Implemented Interfaces:
ListeningExecutorService, Executor, ExecutorService

@CheckReturnValue public abstract class AbstractListeningExecutorService extends AbstractExecutorService implements ListeningExecutorService
Abstract ListeningExecutorService implementation that creates ListenableFuture instances for each Runnable and Callable submitted to it. These tasks are run with the abstract execute(Runnable) method.

In addition to Executor.execute(java.lang.Runnable), subclasses must implement all methods related to shutdown and termination.

Since:
14.0
Author:
Chris Povirk