@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| 构造器和说明 |
|---|
MetricsStochasticBalancerSourceImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
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)
public void updateStochasticCost(String tableName, String costFunctionName, String functionDesc, Double cost)
public void getMetrics(MetricsCollector metricsCollector, boolean all)
getMetrics 在接口中 MetricsSourcegetMetrics 在类中 BaseSourceImplCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.