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
Methods
AsKey(string)
Retrieve (or create) an interned IHystrixThreadPoolKey instance for a given name.
public static IHystrixThreadPoolKey AsKey(string name)
Parameters
name
stringthread pool name
Returns
- IHystrixThreadPoolKey
IHystrixThreadPoolKey instance that is interned (cached) so a given name will always retrieve the same instance.