Interface SumData<T extends PointData>
- All Superinterfaces:
Data<T>
Data for a
MetricDataType.LONG_SUM or MetricDataType.DOUBLE_SUM metric.- Since:
- 1.14.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic SumData<DoublePointData>createDoubleSumData(boolean isMonotonic, AggregationTemporality temporality, Collection<DoublePointData> points) Create a record.static SumData<LongPointData>createLongSumData(boolean isMonotonic, AggregationTemporality temporality, Collection<LongPointData> points) Create a record.Returns the sumAggregationTemporality.booleanReturns "true" if the sum is monotonic.
-
Method Details
-
createLongSumData
static SumData<LongPointData> createLongSumData(boolean isMonotonic, AggregationTemporality temporality, Collection<LongPointData> points) Create a record.- Since:
- 1.50.0
-
createDoubleSumData
static SumData<DoublePointData> createDoubleSumData(boolean isMonotonic, AggregationTemporality temporality, Collection<DoublePointData> points) Create a record.- Since:
- 1.50.0
-
isMonotonic
boolean isMonotonic()Returns "true" if the sum is monotonic. -
getAggregationTemporality
AggregationTemporality getAggregationTemporality()Returns the sumAggregationTemporality.
-