@InterfaceAudience.Private public class MetricsBalancerSourceImpl extends BaseSourceImpl implements MetricsBalancerSource
metricsAdapter, metricsContext, metricsDescription, metricsJmxContext, metricsName, metricsRegistry, registry
BALANCE_CLUSTER, BALANCER_STATUS, 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) |
void |
updateBalancerStatus(boolean status) |
decGauge, getMetricRegistryInfo, 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
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
public void updateBalancerStatus(boolean status)
updateBalancerStatus
in interface MetricsBalancerSource
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.