@InterfaceAudience.Private public class MetricsBalancerSourceImpl extends BaseSourceImpl implements MetricsBalancerSource
metricsContext, metricsDescription, metricsJmxContext, metricsName, metricsRegistry
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, updateQuantile
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
decGauge, getMetricsContext, getMetricsDescription, getMetricsJmxContext, getMetricsName, incCounters, incGauge, removeMetric, setGauge, updateHistogram, updateQuantile
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-2016 The Apache Software Foundation. All Rights Reserved.