@InterfaceAudience.Private public class MetricsBalancerSourceImpl extends BaseSourceImpl implements MetricsBalancerSource
Modifier and Type | Field and Description |
---|---|
private MetricHistogram |
blanceClusterHisto |
private MutableFastCounter |
miscCount |
metricsAdapter, metricsContext, metricsDescription, metricsJmxContext, metricsName, metricsRegistry, registry
BALANCE_CLUSTER, METRICS_CONTEXT, METRICS_DESCRIPTION, METRICS_JMX_CONTEXT, METRICS_NAME, MISC_INVOATION_COUNT
HBASE_METRICS_SYSTEM_NAME
Constructor and Description |
---|
MetricsBalancerSourceImpl() |
MetricsBalancerSourceImpl(String metricsName,
String metricsDescription,
String metricsContext,
String metricsJmxContext) |
Modifier and Type | Method and Description |
---|---|
void |
incrMiscInvocations() |
void |
init()
Clear out the metrics and re-prepare the source.
|
void |
updateBalanceCluster(long time) |
decGauge, getMetrics, getMetricsContext, getMetricsDescription, getMetricsJmxContext, getMetricsName, getMetricsRegistry, incCounters, incGauge, removeMetric, setGauge, updateHistogram
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
decGauge, getMetricRegistryInfo, getMetricsContext, getMetricsDescription, getMetricsJmxContext, getMetricsName, incCounters, incGauge, removeMetric, setGauge, updateHistogram
private MetricHistogram blanceClusterHisto
private MutableFastCounter miscCount
public MetricsBalancerSourceImpl()
public MetricsBalancerSourceImpl(String metricsName, String metricsDescription, String metricsContext, String metricsJmxContext)
public void init()
BaseSource
init
in interface BaseSource
init
in class BaseSourceImpl
public void updateBalanceCluster(long time)
updateBalanceCluster
in interface MetricsBalancerSource
public void incrMiscInvocations()
incrMiscInvocations
in interface MetricsBalancerSource
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.