@InterfaceAudience.Private public class MetricsRegionAggregateSourceImpl extends BaseSourceImpl implements MetricsRegionAggregateSource
metricsContext, metricsDescription, metricsJmxContext, metricsName, metricsRegistry
METRICS_CONTEXT, METRICS_DESCRIPTION, METRICS_JMX_CONTEXT, METRICS_NAME
HBASE_METRICS_SYSTEM_NAME
Constructor and Description |
---|
MetricsRegionAggregateSourceImpl() |
MetricsRegionAggregateSourceImpl(String metricsName,
String metricsDescription,
String metricsContext,
String metricsJmxContext) |
Modifier and Type | Method and Description |
---|---|
void |
deregister(MetricsRegionSource source)
Remove a region's source.
|
void |
getMetrics(MetricsCollector collector,
boolean all)
Yes this is a get function that doesn't return anything.
|
void |
register(MetricsRegionSource source)
Register a MetricsRegionSource as being open.
|
decGauge, getMetricsContext, getMetricsDescription, getMetricsJmxContext, getMetricsName, getMetricsRegistry, incCounters, incGauge, init, removeMetric, setGauge, updateHistogram, updateQuantile
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
decGauge, getMetricsContext, getMetricsDescription, getMetricsJmxContext, getMetricsName, incCounters, incGauge, init, removeMetric, setGauge, updateHistogram, updateQuantile
public void register(MetricsRegionSource source)
MetricsRegionAggregateSource
register
in interface MetricsRegionAggregateSource
source
- the source for the region being opened.public void deregister(MetricsRegionSource source)
MetricsRegionAggregateSource
deregister
in interface MetricsRegionAggregateSource
source
- The region to remove.public void getMetrics(MetricsCollector collector, boolean all)
getMetrics
in class BaseSourceImpl
collector
- the collectorall
- get all the metrics regardless of when they last changed.