public class ExecutorMetric extends AbstractExecutionMetric
name| Constructor and Description |
|---|
ExecutorMetric(org.springframework.boot.actuate.metrics.GaugeService gaugeService,
org.springframework.boot.actuate.metrics.CounterService counterService,
java.lang.String name) |
ExecutorMetric(org.springframework.boot.actuate.metrics.GaugeService gaugeService,
org.springframework.boot.actuate.metrics.CounterService counterService,
java.lang.String name,
org.slf4j.Logger logger,
org.springframework.boot.logging.LogLevel logLevel) |
| Modifier and Type | Method and Description |
|---|---|
void |
measure(java.lang.Runnable runnable) |
finish, start, submitpublic ExecutorMetric(org.springframework.boot.actuate.metrics.GaugeService gaugeService,
org.springframework.boot.actuate.metrics.CounterService counterService,
java.lang.String name)
public ExecutorMetric(org.springframework.boot.actuate.metrics.GaugeService gaugeService,
org.springframework.boot.actuate.metrics.CounterService counterService,
java.lang.String name,
org.slf4j.Logger logger,
org.springframework.boot.logging.LogLevel logLevel)