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
,java.util.concurrent.Executor
,java.util.concurrent.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 2023A 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
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ListenableFuture<?>
submit(java.lang.Runnable task)
Deprecated.<T> ListenableFuture<T>
submit(java.lang.Runnable task, T result)
Deprecated.<T> ListenableFuture<T>
submit(java.util.concurrent.Callable<T> task)
Deprecated.-
Methods inherited from class com.google.common.util.concurrent.ForwardingExecutorService
awaitTermination, execute, invokeAll, invokeAll, invokeAny, invokeAny, isShutdown, isTerminated, shutdown, shutdownNow
-
Methods inherited from class com.google.common.collect.ForwardingObject
toString
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.concurrent.ExecutorService
awaitTermination, invokeAny, invokeAny, isShutdown, isTerminated, shutdown, shutdownNow
-
Methods inherited from interface com.google.common.util.concurrent.ListeningExecutorService
invokeAll, invokeAll
-
-
-
-
Method Detail
-
submit
public <T> ListenableFuture<T> submit(java.util.concurrent.Callable<T> task)
Deprecated.- Specified by:
submit
in interfacejava.util.concurrent.ExecutorService
- Specified by:
submit
in interfaceListeningExecutorService
- Overrides:
submit
in classForwardingExecutorService
- Returns:
- a
ListenableFuture
representing pending completion of the task
-
submit
public ListenableFuture<?> submit(java.lang.Runnable task)
Deprecated.- Specified by:
submit
in interfacejava.util.concurrent.ExecutorService
- Specified by:
submit
in interfaceListeningExecutorService
- Overrides:
submit
in classForwardingExecutorService
- Returns:
- a
ListenableFuture
representing pending completion of the task
-
submit
public <T> ListenableFuture<T> submit(java.lang.Runnable task, T result)
Deprecated.- Specified by:
submit
in interfacejava.util.concurrent.ExecutorService
- Specified by:
submit
in interfaceListeningExecutorService
- Overrides:
submit
in classForwardingExecutorService
- Returns:
- a
ListenableFuture
representing pending completion of the task
-
-