| 限定符和类型 | 方法和说明 |
|---|---|
MetricsCollector |
addMetric(MetricName name,
MetricName suffix,
Object value,
long timestamp,
MetricObject.MetricType type,
int interval) |
MetricsCollector |
addMetric(MetricName fullName,
Object value,
long timestamp,
MetricObject.MetricType type,
int interval) |
MetricsCollector |
addMetric(MetricName name,
String suffix,
Object value,
long timestamp) |
MetricsCollector |
addMetric(MetricName name,
String suffix,
Object value,
long timestamp,
MetricObject.MetricType type) |
MetricsCollector |
addMetric(MetricName name,
String suffix,
Object value,
long timestamp,
MetricObject.MetricType type,
int interval) |
MetricsCollector |
addMetric(MetricObject object) |
List<MetricObject> |
build() |
void |
clear()
clear all the metrics
|
void |
collect(MetricName name,
ClusterHistogram clusterHistogram,
long timestamp) |
void |
collect(MetricName name,
FastCompass fastCompass,
long timestamp) |
void |
setMetricsCollectPeriodConfig(MetricsCollectPeriodConfig metricsCollectPeriodConfig) |
public MetricsCollector addMetric(MetricName name, String suffix, Object value, long timestamp)
public MetricsCollector addMetric(MetricName name, String suffix, Object value, long timestamp, MetricObject.MetricType type)
public MetricsCollector addMetric(MetricName name, String suffix, Object value, long timestamp, MetricObject.MetricType type, int interval)
public MetricsCollector addMetric(MetricObject object)
public MetricsCollector addMetric(MetricName name, MetricName suffix, Object value, long timestamp, MetricObject.MetricType type, int interval)
public MetricsCollector addMetric(MetricName fullName, Object value, long timestamp, MetricObject.MetricType type, int interval)
public List<MetricObject> build()
public void clear()
public void collect(MetricName name, FastCompass fastCompass, long timestamp)
public void collect(MetricName name, ClusterHistogram clusterHistogram, long timestamp)
public void setMetricsCollectPeriodConfig(MetricsCollectPeriodConfig metricsCollectPeriodConfig)
Copyright © 2019. All rights reserved.