
public class RollingCollapserBatchSizeDistributionStream extends RollingDistributionStream<HystrixCollapserEvent>
HystrixCollapserProperties.metricsRollingPercentileWindowInMilliseconds()
b = HystrixCollapserProperties.metricsRollingPercentileBucketSize()
These values are stable - there's no peeking into a bucket until it is emitted
These values get produced and cached in this class, as soon as this stream is queried for the first time.| Modifier and Type | Method and Description |
|---|---|
static RollingCollapserBatchSizeDistributionStream |
getInstance(HystrixCollapserKey collapserKey,
HystrixCollapserProperties properties) |
static RollingCollapserBatchSizeDistributionStream |
getInstance(HystrixCollapserKey collapserKey,
int numBuckets,
int bucketSizeInMs) |
static void |
reset() |
getLatestMean, getLatestPercentile, observe, startCachingStreamValuesIfUnstarted, unsubscribepublic static RollingCollapserBatchSizeDistributionStream getInstance(HystrixCollapserKey collapserKey, HystrixCollapserProperties properties)
public static RollingCollapserBatchSizeDistributionStream getInstance(HystrixCollapserKey collapserKey, int numBuckets, int bucketSizeInMs)
public static void reset()