@InterfaceAudience.Private public class MetricsBalancerSourceImpl extends BaseSourceImpl implements MetricsBalancerSource
metricsAdapter, metricsContext, metricsDescription, metricsJmxContext, metricsName, metricsRegistry, registryBALANCE_CLUSTER, BALANCER_STATUS, METRICS_CONTEXT, METRICS_DESCRIPTION, METRICS_JMX_CONTEXT, METRICS_NAME, MISC_INVOATION_COUNTHBASE_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, updateHistogramclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdecGauge, getMetricRegistryInfo, getMetricsContext, getMetricsDescription, getMetricsJmxContext, getMetricsName, incCounters, incGauge, removeMetric, setGauge, updateHistogrampublic void init()
BaseSourceinit in interface BaseSourceinit in class BaseSourceImplpublic void updateBalanceCluster(long time)
updateBalanceCluster in interface MetricsBalancerSourcepublic void incrMiscInvocations()
incrMiscInvocations in interface MetricsBalancerSourcepublic void updateBalancerStatus(boolean status)
updateBalancerStatus in interface MetricsBalancerSourceCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.