Table of Contents

Class CumulativeThreadPoolEventCounterStream

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 CumulativeThreadPoolEventCounterStream : BucketedCumulativeCounterStream<HystrixCommandCompletion, long[], long[]>
Inheritance
CumulativeThreadPoolEventCounterStream
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 CumulativeThreadPoolEventCounterStream GetInstance(IHystrixThreadPoolKey threadPoolKey, IHystrixThreadPoolOptions properties)

Parameters

threadPoolKey IHystrixThreadPoolKey
properties IHystrixThreadPoolOptions

Returns

CumulativeThreadPoolEventCounterStream

GetInstance(IHystrixThreadPoolKey, int, int)

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

Parameters

threadPoolKey IHystrixThreadPoolKey
numBuckets int
bucketSizeInMs int

Returns

CumulativeThreadPoolEventCounterStream

GetLatestCount(ThreadPoolEventType)

public long GetLatestCount(ThreadPoolEventType eventType)

Parameters

eventType ThreadPoolEventType

Returns

long

Reset()

public static void Reset()