Top Fields Constructors Methods
org.terracotta.statistics.derived.histogram

pack-priv Class ImmutableBucket

extends Object
implements Bucket
Class Inheritance
All Implemented Interfaces
org.terracotta.statistics.derived.histogram.Histogram.Bucket

Field Summary

Modifier and TypeField and Description
private final double
private final double
private final double

Constructor Summary

AccessConstructor and Description
pack-priv
ImmutableBucket(double minimum, double maximum, double count)

Method Summary

Modifier and TypeMethod and Description
public double
count()

Implements org.terracotta.statistics.derived.histogram.Histogram.Bucket.count.

Returns the count of events in this bucket.
public double
maximum()

Implements org.terracotta.statistics.derived.histogram.Histogram.Bucket.maximum.

Returns the bucket maximum (exclusive).
public double
minimum()

Implements org.terracotta.statistics.derived.histogram.Histogram.Bucket.minimum.

Returns the bucket minimum (inclusive).
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

countback to summary
private final double count
maximumback to summary
private final double maximum
minimumback to summary
private final double minimum

Constructor Detail

ImmutableBucketback to summary
pack-priv ImmutableBucket(double minimum, double maximum, double count)

Method Detail

countback to summary
public double count()

Implements org.terracotta.statistics.derived.histogram.Histogram.Bucket.count.

Doc from org.terracotta.statistics.derived.histogram.Histogram.Bucket.count.

Returns the count of events in this bucket.

Returns:double

the bucket event count

Annotations
@Override
maximumback to summary
public double maximum()

Implements org.terracotta.statistics.derived.histogram.Histogram.Bucket.maximum.

Doc from org.terracotta.statistics.derived.histogram.Histogram.Bucket.maximum.

Returns the bucket maximum (exclusive).

Returns:double

the bucket maximum

Annotations
@Override
minimumback to summary
public double minimum()

Implements org.terracotta.statistics.derived.histogram.Histogram.Bucket.minimum.

Doc from org.terracotta.statistics.derived.histogram.Histogram.Bucket.minimum.

Returns the bucket minimum (inclusive).

Returns:double

the bucket minimum

Annotations
@Override
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.

Annotations
@Override