Class RollingThreadPoolEventCounterStream
- Namespace
- Steeltoe.CircuitBreaker.Hystrix.Metric.Consumer
- Assembly
- Steeltoe.CircuitBreaker.HystrixBase.dll
[Obsolete("This feature will be removed in the next major version. See https://steeltoe.io/docs/v3/obsolete for details.")]
public class RollingThreadPoolEventCounterStream : BucketedRollingCounterStream<HystrixCommandCompletion, long[], long[]>
- Inheritance
-
RollingThreadPoolEventCounterStream
- Inherited Members
Properties
EmptyBucketSummary
public override long[] EmptyBucketSummary { get; }
Property Value
- long[]
EmptyOutputValue
public override long[] EmptyOutputValue { get; }
Property Value
- long[]
Methods
GetInstance(IHystrixThreadPoolKey, IHystrixThreadPoolOptions)
public static RollingThreadPoolEventCounterStream GetInstance(IHystrixThreadPoolKey threadPoolKey, IHystrixThreadPoolOptions properties)
Parameters
threadPoolKeyIHystrixThreadPoolKeypropertiesIHystrixThreadPoolOptions
Returns
GetInstance(IHystrixThreadPoolKey, int, int)
public static RollingThreadPoolEventCounterStream GetInstance(IHystrixThreadPoolKey threadPoolKey, int numBuckets, int bucketSizeInMs)
Parameters
threadPoolKeyIHystrixThreadPoolKeynumBucketsintbucketSizeInMsint
Returns
GetLatestCount(ThreadPoolEventType)
public long GetLatestCount(ThreadPoolEventType eventType)
Parameters
eventTypeThreadPoolEventType
Returns
Reset()
public static void Reset()