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 ofTimer
will 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 double
getBucket()
Returns the upper limit value of this bucketlong
getCount()
Returns the count of the bucketString
toString()
-