Class HystrixThreadPoolConfiguration
- Namespace
- Steeltoe.CircuitBreaker.Hystrix.Config
- 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 HystrixThreadPoolConfiguration
- Inheritance
-
HystrixThreadPoolConfiguration
- Inherited Members
-
Constructors
HystrixThreadPoolConfiguration(IHystrixThreadPoolKey, int, int, int, int, int, bool, int, int)
public HystrixThreadPoolConfiguration(IHystrixThreadPoolKey threadPoolKey, int coreSize, int maximumSize, int maxQueueSize, int queueRejectionThreshold, int keepAliveTimeInMinutes, bool allowMaximumSizeToDivergeFromCoreSize, int rollingCounterNumberOfBuckets, int rollingCounterBucketSizeInMilliseconds)
Parameters
threadPoolKey IHystrixThreadPoolKey
coreSize int
maximumSize int
maxQueueSize int
queueRejectionThreshold int
keepAliveTimeInMinutes int
allowMaximumSizeToDivergeFromCoreSize bool
rollingCounterNumberOfBuckets int
rollingCounterBucketSizeInMilliseconds int
Properties
AllowMaximumSizeToDivergeFromCoreSize
public bool AllowMaximumSizeToDivergeFromCoreSize { get; }
Property Value
- bool
CoreSize
public int CoreSize { get; }
Property Value
- int
KeepAliveTimeInMinutes
public int KeepAliveTimeInMinutes { get; }
Property Value
- int
MaxQueueSize
public int MaxQueueSize { get; }
Property Value
- int
MaximumSize
public int MaximumSize { get; }
Property Value
- int
QueueRejectionThreshold
public int QueueRejectionThreshold { get; }
Property Value
- int
RollingCounterBucketSizeInMilliseconds
public int RollingCounterBucketSizeInMilliseconds { get; }
Property Value
- int
RollingCounterNumberOfBuckets
public int RollingCounterNumberOfBuckets { get; }
Property Value
- int
ThreadPoolKey
public IHystrixThreadPoolKey ThreadPoolKey { get; }
Property Value
- IHystrixThreadPoolKey
Methods
Sample(IHystrixThreadPoolKey, IHystrixThreadPoolOptions)
public static HystrixThreadPoolConfiguration Sample(IHystrixThreadPoolKey threadPoolKey, IHystrixThreadPoolOptions threadPoolProperties)
Parameters
threadPoolKey IHystrixThreadPoolKey
threadPoolProperties IHystrixThreadPoolOptions
Returns
- HystrixThreadPoolConfiguration