Class ImmutableBucket
- java.lang.Object
-
- org.terracotta.statistics.derived.histogram.ImmutableBucket
-
- All Implemented Interfaces:
Histogram.Bucket
class ImmutableBucket extends java.lang.Object implements Histogram.Bucket
-
-
Constructor Summary
Constructors Constructor Description ImmutableBucket(double minimum, double maximum, double count)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublecount()Returns the count of events in this bucket.doublemaximum()Returns the bucket maximum (exclusive).doubleminimum()Returns the bucket minimum (inclusive).java.lang.StringtoString()
-
-
-
Method Detail
-
minimum
public double minimum()
Description copied from interface:Histogram.BucketReturns the bucket minimum (inclusive).- Specified by:
minimumin interfaceHistogram.Bucket- Returns:
- the bucket minimum
-
maximum
public double maximum()
Description copied from interface:Histogram.BucketReturns the bucket maximum (exclusive).- Specified by:
maximumin interfaceHistogram.Bucket- Returns:
- the bucket maximum
-
count
public double count()
Description copied from interface:Histogram.BucketReturns the count of events in this bucket.- Specified by:
countin interfaceHistogram.Bucket- Returns:
- the bucket event count
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-