Class AbstractListeningExecutorService
java.lang.Object
java.util.concurrent.AbstractExecutorService
com.google.common.util.concurrent.AbstractListeningExecutorService
- All Implemented Interfaces:
ListeningExecutorService,AutoCloseable,Executor,ExecutorService
@Beta
@Deprecated(since="2022-12-01")
public abstract class AbstractListeningExecutorService
extends AbstractExecutorService
implements ListeningExecutorService
Deprecated.
The Google Guava Core Libraries are deprecated and will not be part of the AEM SDK after April 2023
Abstract
ListeningExecutorService implementation that creates
ListenableFutureTask 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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.<T> ListenableFuture<T> Deprecated.<T> ListenableFuture<T> Deprecated.Methods inherited from class java.util.concurrent.AbstractExecutorService
invokeAll, invokeAll, invokeAny, invokeAnyMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, 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
-
Constructor Details
-
AbstractListeningExecutorService
public AbstractListeningExecutorService()Deprecated.
-
-
Method Details
-
submit
Deprecated.- Specified by:
submitin interfaceExecutorService- Specified by:
submitin interfaceListeningExecutorService- Overrides:
submitin classAbstractExecutorService- Returns:
- a
ListenableFuturerepresenting pending completion of the task
-
submit
Deprecated.- Specified by:
submitin interfaceExecutorService- Specified by:
submitin interfaceListeningExecutorService- Overrides:
submitin classAbstractExecutorService- Returns:
- a
ListenableFuturerepresenting pending completion of the task
-
submit
Deprecated.- Specified by:
submitin interfaceExecutorService- Specified by:
submitin interfaceListeningExecutorService- Overrides:
submitin classAbstractExecutorService- Returns:
- a
ListenableFuturerepresenting pending completion of the task
-