Class LongSumData
- java.lang.Object
-
- io.opentelemetry.sdk.metrics.data.LongSumData
-
- All Implemented Interfaces:
SumData<LongPointData>
@Immutable public abstract class LongSumData extends Object implements SumData<LongPointData>
SumDatarecorded useslongs.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static LongSumDatacreate(boolean isMonotonic, AggregationTemporality temporality, Collection<LongPointData> points)Collection<T>getPoints()Returns the dataPointDatas for this metric.-
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.data.SumData
getAggregationTemporality, isMonotonic
-
-
-
-
Method Detail
-
create
public static LongSumData create(boolean isMonotonic, AggregationTemporality temporality, Collection<LongPointData> points)
-
getPoints
public abstract Collection<T> getPoints()
Returns the dataPointDatas for this metric.- Returns:
- the data
PointDatas for this metric, or emptyCollectionif no points.
-
-