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 booleanprivate static booleanisMonotonicInstrument(InstrumentDescriptor descriptor) Returns true if the instrument does not allow negative measurements.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface 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()
-