@InterfaceAudience.Private public class MetricsStochasticBalancerSourceImpl extends MetricsBalancerSourceImpl implements MetricsStochasticBalancerSource
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 |
|---|
MetricsStochasticBalancerSourceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
getMetrics(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, waitincrMiscInvocations, updateBalanceCluster, updateBalancerStatusdecGauge, getMetricRegistryInfo, getMetricsContext, getMetricsDescription, getMetricsJmxContext, getMetricsName, incCounters, incGauge, init, removeMetric, setGauge, updateHistogrampublic void updateMetricsSize(int size)
updateMetricsSize in interface MetricsStochasticBalancerSourcepublic void updateStochasticCost(String tableName, String costFunctionName, String functionDesc, Double cost)
updateStochasticCost in interface MetricsStochasticBalancerSourcepublic void getMetrics(MetricsCollector metricsCollector, boolean all)
getMetrics in interface MetricsSourcegetMetrics in class BaseSourceImplCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.