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 Details

    • scale

      private final int scale
    • offset

      private final int offset
    • bucketCounts

      private final List<Long> bucketCounts
    • totalCount

      private final long totalCount
  • Constructor Details

    • AutoValue_ImmutableExponentialHistogramBuckets

      AutoValue_ImmutableExponentialHistogramBuckets(int scale, int offset, List<Long> bucketCounts, long totalCount)
  • Method Details

    • getScale

      public int getScale()
      Description copied from interface: ExponentialHistogramBuckets
      The scale of the buckets. Must align with ExponentialHistogramPointData.getScale().
    • getOffset

      public int getOffset()
      Description copied from interface: ExponentialHistogramBuckets
      The offset shifts the bucket boundaries according to lower_bound = base^(offset+i). .
      Returns:
      the offset.
    • getBucketCounts

      public List<Long> 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

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object