Class TimedExecutor
java.lang.Object
io.micrometer.core.instrument.internal.TimedExecutor
- All Implemented Interfaces:
java.util.concurrent.Executor
public class TimedExecutor
extends java.lang.Object
implements java.util.concurrent.Executor
An
Executor
that is timed. This class is for internal use.- See Also:
ExecutorServiceMetrics
-
Constructor Summary
Constructors Constructor Description TimedExecutor(MeterRegistry registry, java.util.concurrent.Executor delegate, java.lang.String executorName, java.lang.String metricPrefix, java.lang.Iterable<Tag> tags)
-
Method Summary
Modifier and Type Method Description void
execute(java.lang.Runnable command)
-
Constructor Details
-
TimedExecutor
public TimedExecutor(MeterRegistry registry, java.util.concurrent.Executor delegate, java.lang.String executorName, java.lang.String metricPrefix, java.lang.Iterable<Tag> tags)
-
-
Method Details
-
execute
public void execute(java.lang.Runnable command)- Specified by:
execute
in interfacejava.util.concurrent.Executor
-