public class TomcatMetricsBinder
extends java.lang.Object
implements org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationStartedEvent>, org.springframework.beans.factory.DisposableBean
TomcatMetrics in response to the ApplicationStartedEvent.| 构造器和说明 |
|---|
TomcatMetricsBinder(io.micrometer.core.instrument.MeterRegistry meterRegistry) |
TomcatMetricsBinder(io.micrometer.core.instrument.MeterRegistry meterRegistry,
java.lang.Iterable<io.micrometer.core.instrument.Tag> tags) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
destroy() |
void |
onApplicationEvent(org.springframework.boot.context.event.ApplicationStartedEvent event) |
public TomcatMetricsBinder(io.micrometer.core.instrument.MeterRegistry meterRegistry)
public TomcatMetricsBinder(io.micrometer.core.instrument.MeterRegistry meterRegistry,
java.lang.Iterable<io.micrometer.core.instrument.Tag> tags)
public void onApplicationEvent(org.springframework.boot.context.event.ApplicationStartedEvent event)
onApplicationEvent 在接口中 org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationStartedEvent>public void destroy()
destroy 在接口中 org.springframework.beans.factory.DisposableBean