Package org.apache.beam.sdk.metrics
Interface Counter
-
- All Superinterfaces:
Metric
,java.io.Serializable
- All Known Implementing Classes:
DelegatingCounter
@Experimental(METRICS) public interface Counter extends Metric
A metric that reports a single long value and can be incremented or decremented.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
dec()
void
dec(long n)
void
inc()
Increment the counter.void
inc(long n)
Increment the counter by the given amount.
-