Class IpdLongBucketsCounter
java.lang.Object
com.atlassian.diagnostics.ipd.api.meters.custom.type.IpdLongBucketsCounter
- All Implemented Interfaces:
IpdBucketsCounterMxBean
Metric type holding information about the number of values that fall into specific buckets.
Example:
the buckets are defined as 1, 10, 100 putValue(5) -> bucket 10 will be incremented putValue(10) -> bucket 100 will be incremented putValue(101) -> bucket "MAX" will be incrementedMade for use with
CustomMeter.- Since:
- 5.0.0
-
Constructor Details
-
IpdLongBucketsCounter
-
-
Method Details
-
putValue
public void putValue(long value) -
reset
public void reset() -
getBuckets
- Specified by:
getBucketsin interfaceIpdBucketsCounterMxBean
-
buckets
-