Class TimedScheduledExecutorService
java.lang.Object
io.micrometer.core.instrument.internal.TimedExecutorService
org.apache.camel.component.micrometer.spi.TimedScheduledExecutorService
- All Implemented Interfaces:
Executor
,ExecutorService
,ScheduledExecutorService
public class TimedScheduledExecutorService
extends io.micrometer.core.instrument.internal.TimedExecutorService
implements ScheduledExecutorService
-
Constructor Summary
ConstructorDescriptionTimedScheduledExecutorService
(io.micrometer.core.instrument.MeterRegistry registry, ScheduledExecutorService delegate, String executorServiceName, Iterable<io.micrometer.core.instrument.Tag> tags) -
Method Summary
Modifier and TypeMethodDescription<V> ScheduledFuture<V>
scheduleAtFixedRate
(Runnable command, long initialDelay, long period, TimeUnit unit) scheduleWithFixedDelay
(Runnable command, long initialDelay, long delay, TimeUnit unit) Methods inherited from class io.micrometer.core.instrument.internal.TimedExecutorService
awaitTermination, execute, invokeAll, invokeAll, invokeAny, invokeAny, isShutdown, isTerminated, shutdown, shutdownNow, submit, submit, submit
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.concurrent.ExecutorService
awaitTermination, invokeAll, invokeAll, invokeAny, invokeAny, isShutdown, isTerminated, shutdown, shutdownNow, submit, submit, submit
-
Constructor Details
-
TimedScheduledExecutorService
public TimedScheduledExecutorService(io.micrometer.core.instrument.MeterRegistry registry, ScheduledExecutorService delegate, String executorServiceName, Iterable<io.micrometer.core.instrument.Tag> tags)
-
-
Method Details
-
schedule
- Specified by:
schedule
in interfaceScheduledExecutorService
-
schedule
- Specified by:
schedule
in interfaceScheduledExecutorService
-
scheduleAtFixedRate
public ScheduledFuture<?> scheduleAtFixedRate(Runnable command, long initialDelay, long period, TimeUnit unit) - Specified by:
scheduleAtFixedRate
in interfaceScheduledExecutorService
-
scheduleWithFixedDelay
public ScheduledFuture<?> scheduleWithFixedDelay(Runnable command, long initialDelay, long delay, TimeUnit unit) - Specified by:
scheduleWithFixedDelay
in interfaceScheduledExecutorService
-