Package org.apache.beam.sdk.metrics
Interface Counter
- All Superinterfaces:
Metric
,Serializable
- All Known Implementing Classes:
CounterImpl
,DelegatingCounter
,NoOpCounter
A metric that reports a single long value and can be incremented or decremented.
-
Method Summary
-
Method Details
-
inc
void inc()Increment the counter. -
inc
void inc(long n) Increment the counter by the given amount. -
dec
void dec() -
dec
void dec(long n)
-