public class SimplePerfStatsReporter extends Object implements PerfStatsReporter
Simple implementation of PerfStatsReporter that writes stats to stdout
.
Constructor and Description |
---|
SimplePerfStatsReporter() |
Modifier and Type | Method and Description |
---|---|
void |
register() |
void |
report(Metadata metadata,
Collection<Metric> metrics)
Report performance stats.
|
public void report(Metadata metadata, Collection<Metric> metrics)
PerfStatsReporter
Report performance stats.
report
in interface PerfStatsReporter
metadata
- metadata about this set of metrics.metrics
- the metrics.public void register()