@InterfaceAudience.Private public interface MetricsUserAggregateSource extends BaseSource
Modifier and Type | Field and Description |
---|---|
static String |
METRICS_CONTEXT
The name of the metrics context that metrics will be under.
|
static String |
METRICS_DESCRIPTION
Description
|
static String |
METRICS_JMX_CONTEXT
The name of the metrics context that metrics will be under in jmx
|
static String |
METRICS_NAME
The name of the metrics
|
static String |
NUM_USERS |
static String |
NUMBER_OF_USERS_DESC |
HBASE_METRICS_SYSTEM_NAME
Modifier and Type | Method and Description |
---|---|
void |
deregister(MetricsUserSource toRemove) |
MetricsUserSource |
getOrCreateMetricsUser(String user)
Returns a MetricsUserSource if already exists, or creates and registers one for this user
|
Map<String,MetricsUserSource> |
getUserSources() |
decGauge, getMetricRegistryInfo, getMetricsContext, getMetricsDescription, getMetricsJmxContext, getMetricsName, incCounters, incGauge, init, removeMetric, setGauge, updateHistogram
static final String METRICS_NAME
static final String METRICS_CONTEXT
static final String METRICS_DESCRIPTION
static final String METRICS_JMX_CONTEXT
static final String NUM_USERS
static final String NUMBER_OF_USERS_DESC
MetricsUserSource getOrCreateMetricsUser(String user)
user
- the user namevoid deregister(MetricsUserSource toRemove)
Map<String,MetricsUserSource> getUserSources()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.