Class AutoValue_EmptyExponentialHistogramBuckets
java.lang.Object
io.opentelemetry.sdk.metrics.internal.data.EmptyExponentialHistogramBuckets
io.opentelemetry.sdk.metrics.internal.data.AutoValue_EmptyExponentialHistogramBuckets
- All Implemented Interfaces:
ExponentialHistogramBuckets
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final int
private final int
private final long
-
Constructor Summary
ConstructorsConstructorDescriptionAutoValue_EmptyExponentialHistogramBuckets
(int scale, int offset, List<Long> bucketCounts, long totalCount) -
Method Summary
Modifier and TypeMethodDescriptionboolean
The bucket counts is a list of counts representing number of measurements that fall into each bucket.int
The offset shifts the bucket boundaries according tolower_bound = base^(offset+i).
int
getScale()
The scale of the buckets.long
The total count is the sum of all the values in the buckets.int
hashCode()
toString()
Methods inherited from class io.opentelemetry.sdk.metrics.internal.data.EmptyExponentialHistogramBuckets
get
-
Field Details
-
scale
private final int scale -
offset
private final int offset -
bucketCounts
-
totalCount
private final long totalCount
-
-
Constructor Details
-
AutoValue_EmptyExponentialHistogramBuckets
-
-
Method Details
-
getScale
public int getScale()Description copied from interface:ExponentialHistogramBuckets
The scale of the buckets. Must align withExponentialHistogramPointData.getScale()
. -
getOffset
public int getOffset()Description copied from interface:ExponentialHistogramBuckets
The offset shifts the bucket boundaries according tolower_bound = base^(offset+i).
.- Returns:
- the offset.
-
getBucketCounts
Description copied from interface:ExponentialHistogramBuckets
The bucket counts is a list of counts representing number of measurements that fall into each bucket.- Returns:
- the bucket counts.
-
getTotalCount
public long getTotalCount()Description copied from interface:ExponentialHistogramBuckets
The total count is the sum of all the values in the buckets.- Returns:
- the total count.
-
toString
-
equals
-
hashCode
public int hashCode()
-