Package com.zendesk.maxwell.monitoring
Class NoOpMetrics
- java.lang.Object
-
- com.zendesk.maxwell.monitoring.NoOpMetrics
-
-
Field Summary
Fields Modifier and Type Field Description com.codahale.metrics.health.HealthCheckRegistry
healthCheckRegistry
com.codahale.metrics.MetricRegistry
metricRegistry
-
Constructor Summary
Constructors Constructor Description NoOpMetrics()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.codahale.metrics.MetricRegistry
getRegistry()
String
metricName(String... names)
<T extends com.codahale.metrics.Metric>
voidregister(String name, T metric)
-
-
-
Method Detail
-
metricName
public String metricName(String... names)
- Specified by:
metricName
in interfaceMetrics
-
getRegistry
public com.codahale.metrics.MetricRegistry getRegistry()
- Specified by:
getRegistry
in interfaceMetrics
-
register
public <T extends com.codahale.metrics.Metric> void register(String name, T metric) throws IllegalArgumentException
- Specified by:
register
in interfaceMetrics
- Throws:
IllegalArgumentException
-
-