| Constructor and Description |
|---|
FlinkCounter(org.apache.flink.metrics.Counter wrapped) |
| 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, waitgetMetricTypepublic void inc()
Counterpublic void inc(long n)
Counterpublic void dec()
Counterpublic void dec(long n)
CounterCopyright © 2023–2024 The Apache Software Foundation. All rights reserved.