public interface CounterWriter
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 increment(Delta<?> delta)
delta
- the amount to increment byvoid reset(String metricName)
metricName
- the name to resetCopyright © 2015 Pivotal Software, Inc.. All rights reserved.