Constructor and Description |
---|
SimpleCounter() |
Modifier and Type | Method and Description |
---|---|
void |
dec()
Decrement the current count by 1.
|
void |
dec(long n)
Decrement the current count by the given value.
|
long |
getCount()
Returns the current count.
|
void |
inc()
Increment the current count by 1.
|
void |
inc(long n)
Increment the current count by the given value.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMetricType
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.