Constructor and Description |
---|
CountMetric() |
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
getValueAndReset() |
void |
incr() |
void |
incrBy(long incrementBy) |
public void incr()
public void incrBy(long incrementBy)
public java.lang.Long getValueAndReset()
getValueAndReset
in interface IMetric<java.lang.Long>