public abstract class MetricsConfigurerAdapter extends Object implements MetricsConfigurer
MetricsConfigurer
with empty methods allowing
sub-classes to override only the methods they're interested in.EnableMetrics
,
MetricsConfigurer
Constructor and Description |
---|
MetricsConfigurerAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
configureReporters(com.codahale.metrics.MetricRegistry metricRegistry)
Configure reporters.
|
com.codahale.metrics.health.HealthCheckRegistry |
getHealthCheckRegistry()
Override this method to provide a custom
HealthCheckRegistry . |
com.codahale.metrics.MetricRegistry |
getMetricRegistry()
Override this method to provide a custom
MetricRegistry . |
public void configureReporters(com.codahale.metrics.MetricRegistry metricRegistry)
This implementation is empty.
configureReporters
in interface MetricsConfigurer
public com.codahale.metrics.MetricRegistry getMetricRegistry()
MetricRegistry
.
This implementation returns null
.
getMetricRegistry
in interface MetricsConfigurer
public com.codahale.metrics.health.HealthCheckRegistry getHealthCheckRegistry()
HealthCheckRegistry
.
This implementation returns null
.
getHealthCheckRegistry
in interface MetricsConfigurer
Copyright © 2012-2013. All Rights Reserved.