public abstract class MetricReporter extends Object implements Closeable
Modifier | Constructor and Description |
---|---|
protected |
MetricReporter(MetricReporterFactory factory) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
String |
getMetricNameForReport(String metricName,
MetricTagsSnapshot tags) |
void |
report(List<MetricRegistrySnapshot> snapshots) |
protected void |
report(MetricRegistrySnapshot snapshot) |
protected void |
report(MetricRegistrySnapshot snapshot,
MetricTagsSnapshot tags,
MetricGroupSnapshot group) |
protected void |
report(MetricRegistrySnapshot snapshot,
MetricTagsSnapshot tags,
String key,
Object value) |
protected String |
toReportMetricName(String metricName,
MetricTagsSnapshot tags) |
protected MetricReporter(MetricReporterFactory factory)
public void report(List<MetricRegistrySnapshot> snapshots)
protected void report(MetricRegistrySnapshot snapshot)
protected void report(MetricRegistrySnapshot snapshot, MetricTagsSnapshot tags, MetricGroupSnapshot group)
protected void report(MetricRegistrySnapshot snapshot, MetricTagsSnapshot tags, String key, Object value)
public void close()
close
in interface Closeable
close
in interface AutoCloseable
public String getMetricNameForReport(String metricName, MetricTagsSnapshot tags)
protected String toReportMetricName(String metricName, MetricTagsSnapshot tags)
Copyright © GigaSpaces.