public interface InstrumentedScheduledExecutorService extends InstrumentedExecutorService, java.util.concurrent.ScheduledExecutorService
ScheduledExecutorService
that has been instrumented.Modifier and Type | Method and Description |
---|---|
java.util.concurrent.ScheduledExecutorService |
getTarget()
Implementors can override to specify the target
ExecutorService . |
default <V> java.util.concurrent.ScheduledFuture<V> |
schedule(java.util.concurrent.Callable<V> callable,
long delay,
java.util.concurrent.TimeUnit unit) |
default java.util.concurrent.ScheduledFuture<?> |
schedule(java.lang.Runnable command,
long delay,
java.util.concurrent.TimeUnit unit) |
default java.util.concurrent.ScheduledFuture<?> |
scheduleAtFixedRate(java.lang.Runnable command,
long initialDelay,
long period,
java.util.concurrent.TimeUnit unit) |
default java.util.concurrent.ScheduledFuture<?> |
scheduleWithFixedDelay(java.lang.Runnable command,
long initialDelay,
long delay,
java.util.concurrent.TimeUnit unit) |
awaitTermination, instrument, invokeAll, invokeAll, invokeAny, invokeAny, isShutdown, isTerminated, shutdown, shutdownNow, submit, submit, submit
execute
instrument
java.util.concurrent.ScheduledExecutorService getTarget()
InstrumentedExecutorService
ExecutorService
.getTarget
in interface InstrumentedExecutor
getTarget
in interface InstrumentedExecutorService
ExecutorService
default java.util.concurrent.ScheduledFuture<?> schedule(@NonNull java.lang.Runnable command, long delay, @NonNull java.util.concurrent.TimeUnit unit)
schedule
in interface java.util.concurrent.ScheduledExecutorService
default <V> java.util.concurrent.ScheduledFuture<V> schedule(@NonNull java.util.concurrent.Callable<V> callable, long delay, @NonNull java.util.concurrent.TimeUnit unit)
schedule
in interface java.util.concurrent.ScheduledExecutorService
default java.util.concurrent.ScheduledFuture<?> scheduleAtFixedRate(@NonNull java.lang.Runnable command, long initialDelay, long period, @NonNull java.util.concurrent.TimeUnit unit)
scheduleAtFixedRate
in interface java.util.concurrent.ScheduledExecutorService
default java.util.concurrent.ScheduledFuture<?> scheduleWithFixedDelay(@NonNull java.lang.Runnable command, long initialDelay, long delay, @NonNull java.util.concurrent.TimeUnit unit)
scheduleWithFixedDelay
in interface java.util.concurrent.ScheduledExecutorService