Package org.eclipse.microprofile.metrics
Interface Counter
An incrementing counter metric.
-
Method Summary
-
Method Details
-
inc
void inc()Increment the counter by one. -
inc
void inc(long n) Increment the counter byn
.- Parameters:
n
- the amount by which the counter will be increased
-
getCount
long getCount()Returns the counter's current value.
-