public class ExecutorServiceMetrics extends java.lang.Object implements MeterBinder
ExecutorService,
as this requires the instance to be wrapped. Timings are provided separately by wrapping the executor service
with TimedExecutorService.| Constructor and Description |
|---|
ExecutorServiceMetrics(java.util.concurrent.ExecutorService executorService,
java.lang.String name,
java.lang.Iterable<Tag> tags) |
| Modifier and Type | Method and Description |
|---|---|
void |
bindTo(MeterRegistry registry) |
public ExecutorServiceMetrics(java.util.concurrent.ExecutorService executorService,
java.lang.String name,
java.lang.Iterable<Tag> tags)
public void bindTo(MeterRegistry registry)
bindTo in interface MeterBinder