public abstract class ForwardingListeningExecutorService extends ForwardingExecutorService implements ListeningExecutorService
| Modifier | Constructor and Description |
|---|---|
protected |
ForwardingListeningExecutorService()
Constructor for use by subclasses.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract ListeningExecutorService |
delegate()
Returns the backing delegate instance that methods are forwarded to.
|
<T> ListenableFuture<T> |
submit(java.util.concurrent.Callable<T> task) |
ListenableFuture<?> |
submit(java.lang.Runnable task) |
<T> ListenableFuture<T> |
submit(java.lang.Runnable task,
T result) |
awaitTermination, execute, invokeAll, invokeAll, invokeAny, invokeAny, isShutdown, isTerminated, shutdown, shutdownNowtoStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitinvokeAll, invokeAllprotected ForwardingListeningExecutorService()
protected abstract ListeningExecutorService delegate()
ForwardingObjectForwardingSet.delegate(). Concrete subclasses override this method to supply
the instance being decorated.delegate in class ForwardingExecutorServicepublic <T> ListenableFuture<T> submit(java.util.concurrent.Callable<T> task)
submit in interface ListeningExecutorServicesubmit in interface java.util.concurrent.ExecutorServicesubmit in class ForwardingExecutorServiceListenableFuture representing pending completion of the taskpublic ListenableFuture<?> submit(java.lang.Runnable task)
submit in interface ListeningExecutorServicesubmit in interface java.util.concurrent.ExecutorServicesubmit in class ForwardingExecutorServiceListenableFuture representing pending completion of the taskpublic <T> ListenableFuture<T> submit(java.lang.Runnable task, T result)
submit in interface ListeningExecutorServicesubmit in interface java.util.concurrent.ExecutorServicesubmit in class ForwardingExecutorServiceListenableFuture representing pending completion of the task