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
ConstructorsConstructorDescriptionTimedScheduledExecutorService(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, submitMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
schedulein interfaceScheduledExecutorService
-
schedule
- Specified by:
schedulein interfaceScheduledExecutorService
-
scheduleAtFixedRate
public ScheduledFuture<?> scheduleAtFixedRate(Runnable command, long initialDelay, long period, TimeUnit unit) - Specified by:
scheduleAtFixedRatein interfaceScheduledExecutorService
-
scheduleWithFixedDelay
public ScheduledFuture<?> scheduleWithFixedDelay(Runnable command, long initialDelay, long delay, TimeUnit unit) - Specified by:
scheduleWithFixedDelayin interfaceScheduledExecutorService
-