Class AbstractSumAggregator<T extends PointData,U extends ExemplarData>
java.lang.Object
io.opentelemetry.sdk.metrics.internal.aggregator.AbstractSumAggregator<T,U>
- All Implemented Interfaces:
Aggregator<T,
U>
- Direct Known Subclasses:
DoubleSumAggregator
,LongSumAggregator
abstract class AbstractSumAggregator<T extends PointData,U extends ExemplarData>
extends Object
implements Aggregator<T,U>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) final boolean
private static boolean
isMonotonicInstrument
(InstrumentDescriptor descriptor) Returns true if the instrument does not allow negative measurements.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.opentelemetry.sdk.metrics.internal.aggregator.Aggregator
copyPoint, createHandle, createReusablePoint, diff, diffInPlace, toMetricData, toPoint, toPoint
-
Field Details
-
isMonotonic
private final boolean isMonotonic
-
-
Constructor Details
-
AbstractSumAggregator
AbstractSumAggregator(InstrumentDescriptor instrumentDescriptor)
-
-
Method Details
-
isMonotonicInstrument
Returns true if the instrument does not allow negative measurements. -
isMonotonic
final boolean isMonotonic()
-