public interface MetricWriter
Metric data.| Modifier and Type | Method and Description |
|---|---|
void |
increment(Delta<?> delta)
Increment the value of a metric (or decrement if the delta is negative).
|
void |
reset(String metricName)
Reset the value of a metric, usually to zero value.
|
void |
set(Metric<?> value)
Set the value of a metric.
|
void increment(Delta<?> delta)
delta - the amount to increment byvoid set(Metric<?> value)
value - the valuevoid reset(String metricName)
metricName - the name to resetCopyright © 2015 Pivotal Software, Inc.. All rights reserved.