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