Class AutoValue_ImmutableSumData<T extends PointData>
java.lang.Object
io.opentelemetry.sdk.metrics.internal.data.ImmutableSumData<T>
io.opentelemetry.sdk.metrics.internal.data.AutoValue_ImmutableSumData<T>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final AggregationTemporalityprivate final booleanprivate final Collection<T> Fields inherited from class io.opentelemetry.sdk.metrics.internal.data.ImmutableSumData
EMPTY -
Constructor Summary
ConstructorsConstructorDescriptionAutoValue_ImmutableSumData(Collection<T> points, boolean monotonic, AggregationTemporality aggregationTemporality) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the sumAggregationTemporality.Returns the dataPointDatas for this metric.inthashCode()booleanReturns "true" if the sum is monotonic.toString()Methods inherited from class io.opentelemetry.sdk.metrics.internal.data.ImmutableSumData
create, empty
-
Field Details
-
points
-
monotonic
private final boolean monotonic -
aggregationTemporality
-
-
Constructor Details
-
AutoValue_ImmutableSumData
AutoValue_ImmutableSumData(Collection<T> points, boolean monotonic, AggregationTemporality aggregationTemporality)
-
-
Method Details
-
getPoints
Description copied from interface:DataReturns the dataPointDatas for this metric.- Returns:
- the data
PointDatas for this metric, or emptyCollectionif no points.
-
isMonotonic
public boolean isMonotonic()Description copied from interface:SumDataReturns "true" if the sum is monotonic. -
getAggregationTemporality
Description copied from interface:SumDataReturns the sumAggregationTemporality. -
toString
-
equals
-
hashCode
public int hashCode()
-