Table of Contents

Class HystrixThreadPoolKeyDefault

Namespace
Steeltoe.CircuitBreaker.Hystrix
Assembly
Steeltoe.CircuitBreaker.HystrixBase.dll

Default implementation of the interface

public class HystrixThreadPoolKeyDefault : HystrixKeyDefault, IHystrixThreadPoolKey, IHystrixKey
Inheritance
HystrixThreadPoolKeyDefault
Implements
Inherited Members

Properties

ThreadPoolCount

public static int ThreadPoolCount { get; }

Property Value

int

Methods

AsKey(string)

Retrieve (or create) an interned IHystrixThreadPoolKey instance for a given name.

public static IHystrixThreadPoolKey AsKey(string name)

Parameters

name string

thread pool name

Returns

IHystrixThreadPoolKey

IHystrixThreadPoolKey instance that is interned (cached) so a given name will always retrieve the same instance.