@InterfaceAudience.Private public class MetricsStochasticBalancerSourceImpl extends MetricsBalancerSourceImpl implements org.apache.hadoop.hbase.master.balancer.MetricsStochasticBalancerSource
metricsAdapter, metricsContext, metricsDescription, metricsJmxContext, metricsName, metricsRegistry, registry| Constructor and Description |
|---|
MetricsStochasticBalancerSourceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
getMetrics(org.apache.hadoop.metrics2.MetricsCollector metricsCollector,
boolean all) |
void |
updateMetricsSize(int size) |
void |
updateStochasticCost(String tableName,
String costFunctionName,
String functionDesc,
Double cost)
Reports stochastic load balancer costs to JMX
|
incrMiscInvocations, init, updateBalanceCluster, updateBalancerStatusdecGauge, getMetricsContext, getMetricsDescription, getMetricsJmxContext, getMetricsName, getMetricsRegistry, incCounters, incGauge, removeMetric, setGauge, updateHistogramclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic void updateMetricsSize(int size)
updateMetricsSize in interface org.apache.hadoop.hbase.master.balancer.MetricsStochasticBalancerSourcepublic void updateStochasticCost(String tableName, String costFunctionName, String functionDesc, Double cost)
updateStochasticCost in interface org.apache.hadoop.hbase.master.balancer.MetricsStochasticBalancerSourcepublic void getMetrics(org.apache.hadoop.metrics2.MetricsCollector metricsCollector,
boolean all)
getMetrics in interface org.apache.hadoop.metrics2.MetricsSourcegetMetrics in class BaseSourceImplCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.