public class LoggingMetricsPersister extends Object implements MetricValuesPersister
Logger.info(String) method.| Constructor and Description |
|---|
LoggingMetricsPersister() |
| Modifier and Type | Method and Description |
|---|---|
void |
persist(Map<ControlledMetric<?,?>,Number> metricValues,
long timeMillis)
Persists the metrics parameters to disk or some repository.
|
public void persist(Map<ControlledMetric<?,?>,Number> metricValues, long timeMillis)
MetricValuesPersisterpersist in interface MetricValuesPersistermetricValues - The collection of metric and metric-values we are persisting.timeMillis - 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.