public interface CounterService
Modifier and Type | Method and Description |
---|---|
void |
decrement(String metricName)
Decrement the specified counter by 1.
|
void |
increment(String metricName)
Increment the specified counter by 1.
|
void |
reset(String metricName)
Reset the specified counter.
|
void increment(String metricName)
metricName
- the name of the countervoid decrement(String metricName)
metricName
- the name of the countervoid reset(String metricName)
metricName
- the name of the counterCopyright © 2019 Pivotal Software, Inc.. All rights reserved.