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