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
- void reset(String metricName)
metricName
- the name to resetCopyright © 2014. All rights reserved.