Interface MetricsUserAggregateSource
- All Superinterfaces:
BaseSource
- All Known Implementing Classes:
MetricsUserAggregateSourceImpl
This interface will be implemented by a MetricsSource that will export metrics from multiple
users 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 metricsstatic final String
static final String
Fields inherited from interface org.apache.hadoop.hbase.metrics.BaseSource
HBASE_METRICS_SYSTEM_NAME
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deregister
(MetricsUserSource toRemove) getOrCreateMetricsUser
(String user) Returns a MetricsUserSource if already exists, or creates and registers one for this userMethods 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:
-
NUM_USERS
- See Also:
-
NUMBER_OF_USERS_DESC
- See Also:
-
-
Method Details
-
getOrCreateMetricsUser
Returns a MetricsUserSource if already exists, or creates and registers one for this user- Parameters:
user
- the user name- Returns:
- a metrics user source
-
deregister
-
getUserSources
-