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