C# Класс Elders.Hystrix.NET.ThreadPool.HystrixThreadPoolPropertiesSetter

Fluent interface that allows chained setting of properties that can be passed into a IHystrixThreadPool via a HystrixCommand constructor to inject instance specific property.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
WithCoreSize ( int value ) : HystrixThreadPoolPropertiesSetter

Sets the core size.

WithKeepAliveTime ( System.TimeSpan value ) : HystrixThreadPoolPropertiesSetter

Sets the keep alive time.

WithMaxQueueSize ( int value ) : HystrixThreadPoolPropertiesSetter

Sets the max queue size.

WithMetricsRollingStatisticalWindow ( int value ) : HystrixThreadPoolPropertiesSetter

Sets the rolling statistical window.

WithMetricsRollingStatisticalWindowBuckets ( int value ) : HystrixThreadPoolPropertiesSetter

Sets the rolling statistical window buckets.

WithQueueSizeRejectionThreshold ( int value ) : HystrixThreadPoolPropertiesSetter

Sets the queue size rejection threshold.

Описание методов

WithCoreSize() публичный Метод

Sets the core size.
public WithCoreSize ( int value ) : HystrixThreadPoolPropertiesSetter
value int The core size.
Результат HystrixThreadPoolPropertiesSetter

WithKeepAliveTime() публичный Метод

Sets the keep alive time.
public WithKeepAliveTime ( System.TimeSpan value ) : HystrixThreadPoolPropertiesSetter
value System.TimeSpan The keep alive time.
Результат HystrixThreadPoolPropertiesSetter

WithMaxQueueSize() публичный Метод

Sets the max queue size.
public WithMaxQueueSize ( int value ) : HystrixThreadPoolPropertiesSetter
value int The max queue size.
Результат HystrixThreadPoolPropertiesSetter

WithMetricsRollingStatisticalWindow() публичный Метод

Sets the rolling statistical window.
public WithMetricsRollingStatisticalWindow ( int value ) : HystrixThreadPoolPropertiesSetter
value int The rolling statistical window.
Результат HystrixThreadPoolPropertiesSetter

WithMetricsRollingStatisticalWindowBuckets() публичный Метод

Sets the rolling statistical window buckets.
public WithMetricsRollingStatisticalWindowBuckets ( int value ) : HystrixThreadPoolPropertiesSetter
value int The rolling statistical window buckets.
Результат HystrixThreadPoolPropertiesSetter

WithQueueSizeRejectionThreshold() публичный Метод

Sets the queue size rejection threshold.
public WithQueueSizeRejectionThreshold ( int value ) : HystrixThreadPoolPropertiesSetter
value int The queue size rejection threshold.
Результат HystrixThreadPoolPropertiesSetter