Class CountAtBucket

java.lang.Object
io.micrometer.core.instrument.distribution.CountAtBucket

public final class CountAtBucket extends Object
The count of events less than or equal to a histogram bucket.
  • Constructor Details

    • CountAtBucket

      @Deprecated public CountAtBucket(long bucket, double count)
      Deprecated.
      Use CountAtBucket(double, double) instead since 1.4.0.
      Create a CountAtBucket instance.
      Parameters:
      bucket - bucket
      count - count
    • CountAtBucket

      public CountAtBucket(double bucket, double count)
      Create a CountAtBucket instance.
      Parameters:
      bucket - bucket
      count - count
      Since:
      1.4.0
  • Method Details

    • bucket

      public double bucket()
    • bucket

      public double bucket(TimeUnit unit)
    • count

      public double 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