Class ForwardingListeningExecutorService
java.lang.Object
com.google.common.collect.ForwardingObject
com.google.common.util.concurrent.ForwardingExecutorService
com.google.common.util.concurrent.ForwardingListeningExecutorService
- All Implemented Interfaces:
ListeningExecutorService,AutoCloseable,Executor,ExecutorService
@Deprecated(since="2022-12-01")
public abstract class ForwardingListeningExecutorService
extends ForwardingExecutorService
implements ListeningExecutorService
Deprecated.
The Google Guava Core Libraries are deprecated and will not be part of the AEM SDK after April 2023
A listening executor service which forwards all its method calls to another
listening executor service. Subclasses should override one or more methods to
modify the behavior of the backing executor service as desired per the decorator pattern.
- Since:
- 10.0
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.<T> ListenableFuture<T> Deprecated.<T> ListenableFuture<T> Deprecated.Methods inherited from class com.google.common.util.concurrent.ForwardingExecutorService
awaitTermination, execute, invokeAll, invokeAll, invokeAny, invokeAny, isShutdown, isTerminated, shutdown, shutdownNowMethods inherited from class com.google.common.collect.ForwardingObject
toStringMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.concurrent.ExecutorService
awaitTermination, close, invokeAny, invokeAny, isShutdown, isTerminated, shutdown, shutdownNowMethods inherited from interface com.google.common.util.concurrent.ListeningExecutorService
invokeAll, invokeAll
-
Method Details
-
submit
Deprecated.- Specified by:
submitin interfaceExecutorService- Specified by:
submitin interfaceListeningExecutorService- Overrides:
submitin classForwardingExecutorService- Returns:
- a
ListenableFuturerepresenting pending completion of the task
-
submit
Deprecated.- Specified by:
submitin interfaceExecutorService- Specified by:
submitin interfaceListeningExecutorService- Overrides:
submitin classForwardingExecutorService- Returns:
- a
ListenableFuturerepresenting pending completion of the task
-
submit
Deprecated.- Specified by:
submitin interfaceExecutorService- Specified by:
submitin interfaceListeningExecutorService- Overrides:
submitin classForwardingExecutorService- Returns:
- a
ListenableFuturerepresenting pending completion of the task
-