@InterfaceAudience.Private public class MetricsStochasticBalancerSourceImpl extends MetricsBalancerSourceImpl implements MetricsStochasticBalancerSource
metricsContext, metricsDescription, metricsJmxContext, metricsName, metricsRegistryBALANCE_CLUSTER, 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)
Updates the number of metrics reported to JMX
|
void |
updateStochasticCost(java.lang.String tableName,
java.lang.String costFunctionName,
java.lang.String functionDesc,
java.lang.Double cost)
Reports stochastic load balancer costs to JMX
|
incrMiscInvocations, init, updateBalanceClusterdecGauge, getMetricsContext, getMetricsDescription, getMetricsJmxContext, getMetricsName, getMetricsRegistry, incCounters, incGauge, removeMetric, setGauge, updateHistogramclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitincrMiscInvocations, updateBalanceClusterdecGauge, getMetricsContext, getMetricsDescription, getMetricsJmxContext, getMetricsName, incCounters, incGauge, init, removeMetric, setGauge, updateHistogrampublic void updateMetricsSize(int size)
MetricsStochasticBalancerSourceupdateMetricsSize in interface MetricsStochasticBalancerSourcepublic void updateStochasticCost(java.lang.String tableName,
java.lang.String costFunctionName,
java.lang.String functionDesc,
java.lang.Double cost)
updateStochasticCost in interface MetricsStochasticBalancerSourcepublic void getMetrics(MetricsCollector metricsCollector,
boolean all)
getMetrics in class BaseSourceImpl