Package org.eclipse.microprofile.metrics
Class Snapshot.HistogramBucket
- java.lang.Object
-
- org.eclipse.microprofile.metrics.Snapshot.HistogramBucket
-
- Enclosing class:
- Snapshot
public static class Snapshot.HistogramBucket extends Object
Represents a cumulative histogram bucket at the moment it was sampled from the Snapshot. The bucket ofTimerwill be represented in nanoseconds. SeeSnapshot.bucketValues()
-
-
Constructor Summary
Constructors Constructor Description HistogramBucket(double bucket, long count)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetBucket()Returns the upper limit value of this bucketlonggetCount()Returns the count of the bucketStringtoString()
-