public class CountMetric extends Object implements IMetric
| Constructor and Description |
|---|
CountMetric() |
| Modifier and Type | Method and Description |
|---|---|
Object |
getValueAndReset() |
void |
incr() |
void |
incrBy(long incrementBy) |
public void incr()
public void incrBy(long incrementBy)
public Object getValueAndReset()
getValueAndReset in interface IMetricCopyright © 2019 The Apache Software Foundation. All Rights Reserved.