Class LongSumData
java.lang.Object
io.opentelemetry.sdk.metrics.data.LongSumData
- All Implemented Interfaces:
SumData<LongPointData>
SumData recorded uses longs.-
Method Summary
Modifier and TypeMethodDescriptionstatic LongSumDatacreate(boolean isMonotonic, AggregationTemporality temporality, Collection<LongPointData> points) Returns the dataPointDatas for this metric.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.opentelemetry.sdk.metrics.data.SumData
getAggregationTemporality, isMonotonic
-
Method Details
-
create
public static LongSumData create(boolean isMonotonic, AggregationTemporality temporality, Collection<LongPointData> points) -
getPoints
Collection<LongPointData> getPoints()Returns the dataPointDatas for this metric.- Returns:
- the data
PointDatas for this metric, or emptyCollectionif no points.
-