@Immutable public abstract static class Distribution.Bucket extends Object
Modifier and Type | Method and Description |
---|---|
static Distribution.Bucket |
create(long count)
Creates a
Distribution.Bucket . |
static Distribution.Bucket |
create(long count,
Exemplar exemplar)
Creates a
Distribution.Bucket with an Exemplar . |
abstract long |
getCount()
Returns the number of values in each bucket of the histogram.
|
abstract Exemplar |
getExemplar()
|
public static Distribution.Bucket create(long count)
Distribution.Bucket
.count
- the number of values in each bucket of the histogram.Bucket
.public static Distribution.Bucket create(long count, Exemplar exemplar)
Distribution.Bucket
with an Exemplar
.count
- the number of values in each bucket of the histogram.exemplar
- the Exemplar
of this Bucket
.Bucket
.public abstract long getCount()