Package org.apache.iceberg.metrics
Interface MetricsContext.Counter<T extends Number>
- Enclosing interface:
MetricsContext
Deprecated.
-
Method Summary
Modifier and TypeMethodDescriptioncount()
Deprecated.Usevalue()
void
Deprecated.Increment the counter by a single whole number value (i.e.void
Deprecated.Increment the counter by the provided amount.default MetricsContext.Unit
unit()
Deprecated.The unit of the counter.default T
value()
Deprecated.Reports the current count.
-
Method Details
-
increment
void increment()Deprecated.Increment the counter by a single whole number value (i.e. 1). -
increment
Deprecated.Increment the counter by the provided amount.- Parameters:
amount
- to be incremented
-
count
Deprecated.Usevalue()
Reporting count is optional if the counter is reporting externally.- Returns:
- current count if available
-
value
Deprecated.Reports the current count.- Returns:
- The current count
-
unit
Deprecated.The unit of the counter.- Returns:
- The unit of the counter.
-
Counter
instead.