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