Class DoubleSumData
- java.lang.Object
-
- io.opentelemetry.sdk.metrics.data.DoubleSumData
-
@Immutable public abstract class DoubleSumData extends Object
-
-
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)AggregationTemporalitygetAggregationTemporality()Returns theAggregationTemporalityof this metric,Collection<T>getPoints()Returns the dataPointDatas for this metric.booleanisMonotonic()Returns "true" if the sum is monotonic.
-
-
-
Method Detail
-
create
public static DoubleSumData create(boolean isMonotonic, AggregationTemporality temporality, Collection<DoublePointData> points)
-
isMonotonic
public abstract boolean isMonotonic()
Returns "true" if the sum is monotonic.- Returns:
- "true" if the sum is monotonic
-
getAggregationTemporality
public abstract AggregationTemporality getAggregationTemporality()
Returns theAggregationTemporalityof this metric,AggregationTemporality describes if the aggregator reports delta changes since last report time, or cumulative changes since a fixed start time.
- Returns:
- the
AggregationTemporalityof this metric
-
getPoints
public abstract Collection<T> getPoints()
Returns the dataPointDatas for this metric.- Returns:
- the data
PointDatas for this metric, or emptyCollectionif no points.
-
-