Class HystrixThreadPoolKeyDefault
Default implementation of the interface
Namespace: Steeltoe.CircuitBreaker.Hystrix
Assembly: Steeltoe.CircuitBreaker.HystrixBase.dll
Syntax
public class HystrixThreadPoolKeyDefault : HystrixKeyDefault, IHystrixThreadPoolKey, IHystrixKey
Properties
| Edit this page View SourceThreadPoolCount
Declaration
public static int ThreadPoolCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
| Edit this page View SourceAsKey(String)
Retrieve (or create) an interned IHystrixThreadPoolKey instance for a given name.
Declaration
public static IHystrixThreadPoolKey AsKey(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | thread pool name |
Returns
Type | Description |
---|---|
IHystrixThreadPoolKey | IHystrixThreadPoolKey instance that is interned (cached) so a given name will always retrieve the same instance. |