public interface Counter extends Metric
Metric that measures a count.void inc()
void inc(long n)
n - value to increment the current count byvoid dec()
void dec(long n)
n - value to decrement the current count bylong getCount()
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.