Class Distribution.Bucket
java.lang.Object
io.opencensus.metrics.export.Distribution.Bucket
- Direct Known Subclasses:
AutoValue_Distribution_Bucket
- Enclosing class:
Distribution
The histogram bucket of the population values.
- Since:
- 0.17
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Distribution.Bucketcreate(long count) Creates aDistribution.Bucket.static Distribution.BucketCreates aDistribution.Bucketwith anExemplar.abstract longgetCount()Returns the number of values in each bucket of the histogram.abstract Exemplar
-
Constructor Details
-
Bucket
Bucket()
-
-
Method Details
-
create
Creates aDistribution.Bucket.- Parameters:
count- the number of values in each bucket of the histogram.- Returns:
- a
Bucket. - Since:
- 0.17
-
create
Creates aDistribution.Bucketwith anExemplar.- Parameters:
count- the number of values in each bucket of the histogram.exemplar- theExemplarof thisBucket.- Returns:
- a
Bucket. - Since:
- 0.17
-
getCount
public abstract long getCount()Returns the number of values in each bucket of the histogram.- Returns:
- the number of values in each bucket of the histogram.
- Since:
- 0.17
-
getExemplar
- Returns:
- the
Exemplarassociated with theBucket, ornullif there isn't one. - Since:
- 0.17
-