Class JettyServerThreadPoolMetricsBinder
- java.lang.Object
- org.springframework.boot.actuate.metrics.web.jetty.JettyServerThreadPoolMetricsBinder
- All Implemented Interfaces:
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
.- Since:
- 2.1.0
Constructor Summary
Constructors Constructor Description JettyServerThreadPoolMetricsBinder(io.micrometer.core.instrument.MeterRegistry meterRegistry)
JettyServerThreadPoolMetricsBinder(io.micrometer.core.instrument.MeterRegistry meterRegistry, Iterable<io.micrometer.core.instrument.Tag> tags)
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onApplicationEvent(org.springframework.boot.context.event.ApplicationStartedEvent event)
Constructor Detail
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)
Method Detail
onApplicationEvent
public void onApplicationEvent(org.springframework.boot.context.event.ApplicationStartedEvent event)
- Specified by:
onApplicationEvent
in interfaceorg.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationStartedEvent>