public class SystemOutMetricsPersister extends Object implements MetricValuesPersister
System.out
. This is more here as a implementation
example than anything else.Constructor and Description |
---|
SystemOutMetricsPersister() |
Modifier and Type | Method and Description |
---|---|
void |
persist(Map<ControlledMetric<?,?>,Number> metricValues,
long timeCollectedMillis)
Persists the metrics parameters to disk or some repository.
|
public void persist(Map<ControlledMetric<?,?>,Number> metricValues, long timeCollectedMillis)
MetricValuesPersister
persist
in interface MetricValuesPersister
metricValues
- The collection of metric and metric-values we are persisting.timeCollectedMillis
- The time in millis when the metrics were collected.This content is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.