@InterfaceAudience.LimitedPrivate(value="Coprocesssor") @InterfaceStability.Evolving public interface Counter extends Metric
void increment()
this
by 1.void increment(long n)
this
by n
.n
- The amount to increment.void decrement()
this
by 1.void decrement(long n)
this
by n
.n
- The amount to decrement.long getCount()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.