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 intprivate final intprivate final long -
Constructor Summary
ConstructorsConstructorDescriptionAutoValue_EmptyExponentialHistogramBuckets(int scale, int offset, List<Long> bucketCounts, long totalCount) -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe bucket counts is a list of counts representing number of measurements that fall into each bucket.intThe offset shifts the bucket boundaries according tolower_bound = base^(offset+i).intgetScale()The scale of the buckets.longThe total count is the sum of all the values in the buckets.inthashCode()toString()Methods inherited from class 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:ExponentialHistogramBucketsThe scale of the buckets. Must align withExponentialHistogramPointData.getScale(). -
getOffset
public int getOffset()Description copied from interface:ExponentialHistogramBucketsThe offset shifts the bucket boundaries according tolower_bound = base^(offset+i)..- Returns:
- the offset.
-
getBucketCounts
Description copied from interface:ExponentialHistogramBucketsThe 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:ExponentialHistogramBucketsThe total count is the sum of all the values in the buckets.- Returns:
- the total count.
-
toString
-
equals
-
hashCode
-