Interface ListeningScheduledExecutorService
- All Superinterfaces:
AutoCloseable,Executor,ExecutorService,ListeningExecutorService,ScheduledExecutorService
@Beta
@Deprecated(since="2022-12-01")
public interface ListeningScheduledExecutorService
extends ScheduledExecutorService, ListeningExecutorService
Deprecated.
The Google Guava Core Libraries are deprecated and will not be part of the AEM SDK after April 2023
A
ScheduledExecutorService that returns ListenableFuture
instances from its ExecutorService methods. To create an instance
from an existing ScheduledExecutorService, call
MoreExecutors.listeningDecorator(ScheduledExecutorService).- Since:
- 10.0
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.<V> ListenableScheduledFuture<V> Deprecated.scheduleAtFixedRate(Runnable command, long initialDelay, long period, TimeUnit unit) Deprecated.scheduleWithFixedDelay(Runnable command, long initialDelay, long delay, TimeUnit unit) Deprecated.Methods inherited from interface java.util.concurrent.ExecutorService
awaitTermination, close, invokeAny, invokeAny, isShutdown, isTerminated, shutdown, shutdownNow
-
Method Details
-
schedule
Deprecated.- Specified by:
schedulein interfaceScheduledExecutorService- Since:
- 15.0 (previously returned ScheduledFuture)
-
schedule
Deprecated.- Specified by:
schedulein interfaceScheduledExecutorService- Since:
- 15.0 (previously returned ScheduledFuture)
-
scheduleAtFixedRate
ListenableScheduledFuture<?> scheduleAtFixedRate(Runnable command, long initialDelay, long period, TimeUnit unit) Deprecated.- Specified by:
scheduleAtFixedRatein interfaceScheduledExecutorService- Since:
- 15.0 (previously returned ScheduledFuture)
-
scheduleWithFixedDelay
ListenableScheduledFuture<?> scheduleWithFixedDelay(Runnable command, long initialDelay, long delay, TimeUnit unit) Deprecated.- Specified by:
scheduleWithFixedDelayin interfaceScheduledExecutorService- Since:
- 15.0 (previously returned ScheduledFuture)
-