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, wait
getMetricType
public void inc()
Counter
public void inc(long n)
Counter
public void dec()
Counter
public void dec(long n)
Counter
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.