Package org.apache.flink.metrics
Class SimpleCounter
- java.lang.Object
-
- org.apache.flink.metrics.SimpleCounter
-
-
Constructor Summary
Constructors Constructor Description SimpleCounter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.flink.metrics.Counter
getMetricType
-
-