@InterfaceAudience.Private public interface MetricsUserAggregateSource extends BaseSource
| Modifier and Type | Field and Description | 
|---|---|
| static String | METRICS_CONTEXTThe name of the metrics context that metrics will be under. | 
| static String | METRICS_DESCRIPTIONDescription | 
| static String | METRICS_JMX_CONTEXTThe name of the metrics context that metrics will be under in jmx | 
| static String | METRICS_NAMEThe 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, updateHistogramstatic 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–2021 The Apache Software Foundation. All rights reserved.