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 java.lang.Object implements Aggregator<T,U>
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
isMonotonic
-
Constructor Summary
Constructors Constructor Description AbstractSumAggregator(InstrumentDescriptor instrumentDescriptor)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) boolean
isMonotonic()
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
-
-
-
-
Constructor Detail
-
AbstractSumAggregator
AbstractSumAggregator(InstrumentDescriptor instrumentDescriptor)
-
-
Method Detail
-
isMonotonicInstrument
private static boolean isMonotonicInstrument(InstrumentDescriptor descriptor)
Returns true if the instrument does not allow negative measurements.
-
isMonotonic
final boolean isMonotonic()
-
-