Class MetricReporter
- java.lang.Object
-
- org.apache.sling.discovery.impl.support.MetricReporter
-
- All Implemented Interfaces:
org.apache.sling.discovery.TopologyEventListener
public class MetricReporter extends Object implements org.apache.sling.discovery.TopologyEventListener
MetricReporter is in charge of listening to TopologyEvents (by virtue of being a TopologyEventListener) and exposing metrics (via dropwizard).
-
-
Constructor Summary
Constructors Constructor Description MetricReporter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
activate()
protected void
deactivate()
void
handleTopologyEvent(org.apache.sling.discovery.TopologyEvent event)
-