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