Package org.apache.flink.metrics
Class ThreadSafeSimpleCounter
- java.lang.Object
-
- org.apache.flink.metrics.ThreadSafeSimpleCounter
-
-
Constructor Summary
Constructors Constructor Description ThreadSafeSimpleCounter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddec()Decrement the current count by 1.voiddec(long n)Decrement the current count by the given value.longgetCount()Returns the current count.voidinc()Increment the current count by 1.voidinc(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
-
-