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,
com.gigaspaces.metrics.MetricTagsSnapshot tags) |
void |
report(List<MetricRegistrySnapshot> snapshots) |
protected void |
report(MetricRegistrySnapshot snapshot) |
protected void |
report(MetricRegistrySnapshot snapshot,
com.gigaspaces.metrics.MetricTagsSnapshot tags,
MetricGroupSnapshot group) |
protected void |
report(MetricRegistrySnapshot snapshot,
com.gigaspaces.metrics.MetricTagsSnapshot tags,
String key,
Object value) |
protected String |
toReportMetricName(String metricName,
com.gigaspaces.metrics.MetricTagsSnapshot tags) |
protected MetricReporter(MetricReporterFactory factory)
public void report(List<MetricRegistrySnapshot> snapshots)
protected void report(MetricRegistrySnapshot snapshot)
protected void report(MetricRegistrySnapshot snapshot, com.gigaspaces.metrics.MetricTagsSnapshot tags, MetricGroupSnapshot group)
protected void report(MetricRegistrySnapshot snapshot, com.gigaspaces.metrics.MetricTagsSnapshot tags, String key, Object value)
public void close()
close
in interface Closeable
close
in interface AutoCloseable
public String getMetricNameForReport(String metricName, com.gigaspaces.metrics.MetricTagsSnapshot tags)
Copyright © GigaSpaces.