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 AggregationTemporality
private final boolean
private 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 TypeMethodDescriptionboolean
Returns the sumAggregationTemporality
.Returns the dataPointData
s for this metric.int
hashCode()
boolean
Returns "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:Data
Returns the dataPointData
s for this metric.- Returns:
- the data
PointData
s for this metric, or emptyCollection
if no points.
-
isMonotonic
public boolean isMonotonic()Description copied from interface:SumData
Returns "true" if the sum is monotonic. -
getAggregationTemporality
Description copied from interface:SumData
Returns the sumAggregationTemporality
. -
toString
-
equals
-
hashCode
public int hashCode()
-