Class BucketBoundaries
java.lang.Object
io.opencensus.stats.BucketBoundaries
- Direct Known Subclasses:
AutoValue_BucketBoundaries
The bucket boundaries for a histogram.
- Since:
- 0.8
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final BucketBoundariesReturns aBucketBoundarieswith the given buckets.dropNegativeBucketBounds(List<Double> bucketBoundaries) Returns a list of histogram bucket boundaries.
-
Field Details
-
logger
-
-
Constructor Details
-
BucketBoundaries
public BucketBoundaries()
-
-
Method Details
-
create
Returns aBucketBoundarieswith the given buckets.- Parameters:
bucketBoundaries- the boundaries for the buckets in the underlying histogram.- Returns:
- a new
BucketBoundarieswith the specified boundaries. - Throws:
NullPointerException- ifbucketBoundariesis null.IllegalArgumentException- ifbucketBoundariesis not sorted.- Since:
- 0.8
-
dropNegativeBucketBounds
-
getBoundaries
-