Interface MetricsRegionAggregateSource
- All Superinterfaces:
BaseSource
- All Known Implementing Classes:
MetricsRegionAggregateSourceImpl
This interface will be implemented by a MetricsSource that will export metrics from multiple
regions into the hadoop metrics system.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The name of the metrics context that metrics will be under.static final String
Descriptionstatic final String
The name of the metrics context that metrics will be under in jmxstatic final String
The name of the metricsFields inherited from interface org.apache.hadoop.hbase.metrics.BaseSource
HBASE_METRICS_SYSTEM_NAME
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deregister
(MetricsRegionSource source) Remove a region's source.void
register
(MetricsRegionSource source) Register a MetricsRegionSource as being open.Methods inherited from interface org.apache.hadoop.hbase.metrics.BaseSource
decGauge, getMetricRegistryInfo, getMetricsContext, getMetricsDescription, getMetricsJmxContext, getMetricsName, incCounters, incGauge, init, removeMetric, setGauge, updateHistogram
-
Field Details
-
METRICS_NAME
The name of the metrics- See Also:
-
METRICS_CONTEXT
The name of the metrics context that metrics will be under.- See Also:
-
METRICS_DESCRIPTION
Description- See Also:
-
METRICS_JMX_CONTEXT
The name of the metrics context that metrics will be under in jmx- See Also:
-
-
Method Details
-
register
Register a MetricsRegionSource as being open.- Parameters:
source
- the source for the region being opened.
-
deregister
Remove a region's source. This is called when a region is closed.- Parameters:
source
- The region to remove.
-