Interface ListeningExecutorService

All Superinterfaces:
AutoCloseable, Executor, ExecutorService
All Known Subinterfaces:
ListeningScheduledExecutorService
All Known Implementing Classes:
AbstractListeningExecutorService, ForwardingListeningExecutorService

@DoNotMock("Use TestingExecutors.sameThreadScheduledExecutor, or wrap a real Executor from java.util.concurrent.Executors with MoreExecutors.listeningDecorator") @GwtIncompatible public interface ListeningExecutorService extends ExecutorService
An ExecutorService that returns ListenableFuture instances. To create an instance from an existing ExecutorService, call MoreExecutors.listeningDecorator(ExecutorService).
Since:
10.0
Author:
Chris Povirk