Class AbstractJettyMetricsBinder
java.lang.Object
org.springframework.boot.actuate.metrics.web.jetty.AbstractJettyMetricsBinder
- All Implemented Interfaces:
EventListener
,org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationStartedEvent>
- Direct Known Subclasses:
JettyConnectionMetricsBinder
,JettyServerThreadPoolMetricsBinder
,JettySslHandshakeMetricsBinder
public abstract class AbstractJettyMetricsBinder
extends Object
implements org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationStartedEvent>
Base class for binding Jetty metrics in response to an
ApplicationStartedEvent
.- Since:
- 2.6.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract void
bindMetrics
(org.eclipse.jetty.server.Server server) void
onApplicationEvent
(org.springframework.boot.context.event.ApplicationStartedEvent event)
-
Constructor Details
-
AbstractJettyMetricsBinder
public AbstractJettyMetricsBinder()
-
-
Method Details
-
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>
-
bindMetrics
protected abstract void bindMetrics(org.eclipse.jetty.server.Server server)
-