类 JettyServerThreadPoolMetricsBinder
- java.lang.Object
- org.springframework.boot.actuate.metrics.web.jetty.JettyServerThreadPoolMetricsBinder
- 所有已实现的接口:
EventListener
,org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationStartedEvent>
public class JettyServerThreadPoolMetricsBinder extends Object implements org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationStartedEvent>
BindsJettyServerThreadPoolMetrics
in response to theApplicationStartedEvent
.- 从以下版本开始:
- 2.1.0
构造器概要
构造器 构造器 说明 JettyServerThreadPoolMetricsBinder(io.micrometer.core.instrument.MeterRegistry meterRegistry)
JettyServerThreadPoolMetricsBinder(io.micrometer.core.instrument.MeterRegistry meterRegistry, Iterable<io.micrometer.core.instrument.Tag> tags)
构造器详细资料
JettyServerThreadPoolMetricsBinder
public JettyServerThreadPoolMetricsBinder(io.micrometer.core.instrument.MeterRegistry meterRegistry)
JettyServerThreadPoolMetricsBinder
public JettyServerThreadPoolMetricsBinder(io.micrometer.core.instrument.MeterRegistry meterRegistry, Iterable<io.micrometer.core.instrument.Tag> tags)
方法详细资料
onApplicationEvent
public void onApplicationEvent(org.springframework.boot.context.event.ApplicationStartedEvent event)
- 指定者:
onApplicationEvent
在接口中org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationStartedEvent>