Package org.apache.iceberg.metrics
Interface CounterResult
-
@Immutable public interface CounterResult
A serializable version of aCounter
that carries its result.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static CounterResult
fromCounter(Counter counter)
static CounterResult
of(MetricsContext.Unit unit, long value)
MetricsContext.Unit
unit()
long
value()
-
-
-
Method Detail
-
unit
MetricsContext.Unit unit()
-
value
long value()
-
fromCounter
static CounterResult fromCounter(Counter counter)
-
of
static CounterResult of(MetricsContext.Unit unit, long value)
-
-