Class AutoValue_ImmutableExponentialHistogramBuckets
java.lang.Object
io.opentelemetry.sdk.metrics.internal.data.ImmutableExponentialHistogramBuckets
io.opentelemetry.sdk.metrics.internal.data.AutoValue_ImmutableExponentialHistogramBuckets
- All Implemented Interfaces:
ExponentialHistogramBuckets
final class AutoValue_ImmutableExponentialHistogramBuckets
extends ImmutableExponentialHistogramBuckets
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intprivate final intprivate final long -
Constructor Summary
ConstructorsConstructorDescriptionAutoValue_ImmutableExponentialHistogramBuckets(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 io.opentelemetry.sdk.metrics.internal.data.ImmutableExponentialHistogramBuckets
create
-
Field Details
-
scale
private final int scale -
offset
private final int offset -
bucketCounts
-
totalCount
private final long totalCount
-
-
Constructor Details
-
AutoValue_ImmutableExponentialHistogramBuckets
-
-
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
public int hashCode()
-