Interface ListeningScheduledExecutorService
-
- All Superinterfaces:
java.util.concurrent.Executor
,java.util.concurrent.ExecutorService
,ListeningExecutorService
,java.util.concurrent.ScheduledExecutorService
@Beta @Deprecated(since="2022-12-01") public interface ListeningScheduledExecutorService extends java.util.concurrent.ScheduledExecutorService, ListeningExecutorService
Deprecated.The Google Guava Core Libraries are deprecated and will not be part of the AEM SDK after April 2023AScheduledExecutorService
that returnsListenableFuture
instances from itsExecutorService
methods. To create an instance from an existingScheduledExecutorService
, callMoreExecutors.listeningDecorator(ScheduledExecutorService)
.- Since:
- 10.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description ListenableScheduledFuture<?>
schedule(java.lang.Runnable command, long delay, java.util.concurrent.TimeUnit unit)
Deprecated.<V> ListenableScheduledFuture<V>
schedule(java.util.concurrent.Callable<V> callable, long delay, java.util.concurrent.TimeUnit unit)
Deprecated.ListenableScheduledFuture<?>
scheduleAtFixedRate(java.lang.Runnable command, long initialDelay, long period, java.util.concurrent.TimeUnit unit)
Deprecated.ListenableScheduledFuture<?>
scheduleWithFixedDelay(java.lang.Runnable command, long initialDelay, long delay, java.util.concurrent.TimeUnit unit)
Deprecated.
-
-
-
Method Detail
-
schedule
ListenableScheduledFuture<?> schedule(java.lang.Runnable command, long delay, java.util.concurrent.TimeUnit unit)
Deprecated.- Specified by:
schedule
in interfacejava.util.concurrent.ScheduledExecutorService
- Since:
- 15.0 (previously returned ScheduledFuture)
-
schedule
<V> ListenableScheduledFuture<V> schedule(java.util.concurrent.Callable<V> callable, long delay, java.util.concurrent.TimeUnit unit)
Deprecated.- Specified by:
schedule
in interfacejava.util.concurrent.ScheduledExecutorService
- Since:
- 15.0 (previously returned ScheduledFuture)
-
scheduleAtFixedRate
ListenableScheduledFuture<?> scheduleAtFixedRate(java.lang.Runnable command, long initialDelay, long period, java.util.concurrent.TimeUnit unit)
Deprecated.- Specified by:
scheduleAtFixedRate
in interfacejava.util.concurrent.ScheduledExecutorService
- Since:
- 15.0 (previously returned ScheduledFuture)
-
scheduleWithFixedDelay
ListenableScheduledFuture<?> scheduleWithFixedDelay(java.lang.Runnable command, long initialDelay, long delay, java.util.concurrent.TimeUnit unit)
Deprecated.- Specified by:
scheduleWithFixedDelay
in interfacejava.util.concurrent.ScheduledExecutorService
- Since:
- 15.0 (previously returned ScheduledFuture)
-
-