Table of Contents

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

threadPoolKey IHystrixThreadPoolKey
properties IHystrixThreadPoolOptions

Returns

RollingThreadPoolEventCounterStream

GetInstance(IHystrixThreadPoolKey, int, int)

public static RollingThreadPoolEventCounterStream GetInstance(IHystrixThreadPoolKey threadPoolKey, int numBuckets, int bucketSizeInMs)

Parameters

threadPoolKey IHystrixThreadPoolKey
numBuckets int
bucketSizeInMs int

Returns

RollingThreadPoolEventCounterStream

GetLatestCount(ThreadPoolEventType)

public long GetLatestCount(ThreadPoolEventType eventType)

Parameters

eventType ThreadPoolEventType

Returns

long

Reset()

public static void Reset()