
public class RollingCommandMaxConcurrencyStream extends RollingConcurrencyStream
HystrixCommandProperties.metricsRollingStatisticalWindowInMilliseconds()
b = HystrixCommandProperties.metricsRollingStatisticalWindowBuckets()
This value gets cached in this class. It may be queried using RollingConcurrencyStream.getLatestRollingMax()
This value is stable - there's no peeking into a bucket until it is emitted| Modifier and Type | Method and Description |
|---|---|
static RollingCommandMaxConcurrencyStream |
getInstance(HystrixCommandKey commandKey,
HystrixCommandProperties properties) |
static RollingCommandMaxConcurrencyStream |
getInstance(HystrixCommandKey commandKey,
int numBuckets,
int bucketSizeInMs) |
static void |
reset() |
getLatestRollingMax, observe, startCachingStreamValuesIfUnstarted, unsubscribepublic static RollingCommandMaxConcurrencyStream getInstance(HystrixCommandKey commandKey, HystrixCommandProperties properties)
public static RollingCommandMaxConcurrencyStream getInstance(HystrixCommandKey commandKey, int numBuckets, int bucketSizeInMs)
public static void reset()