C# Class 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.
Mostrar archivo Open project: Elders/Hystrix.NET Class Usage Examples

Public Methods

Method Description
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.

Method Details

WithCoreSize() public method

Sets the core size.
public WithCoreSize ( int value ) : HystrixThreadPoolPropertiesSetter
value int The core size.
return HystrixThreadPoolPropertiesSetter

WithKeepAliveTime() public method

Sets the keep alive time.
public WithKeepAliveTime ( System.TimeSpan value ) : HystrixThreadPoolPropertiesSetter
value System.TimeSpan The keep alive time.
return HystrixThreadPoolPropertiesSetter

WithMaxQueueSize() public method

Sets the max queue size.
public WithMaxQueueSize ( int value ) : HystrixThreadPoolPropertiesSetter
value int The max queue size.
return HystrixThreadPoolPropertiesSetter

WithMetricsRollingStatisticalWindow() public method

Sets the rolling statistical window.
public WithMetricsRollingStatisticalWindow ( int value ) : HystrixThreadPoolPropertiesSetter
value int The rolling statistical window.
return HystrixThreadPoolPropertiesSetter

WithMetricsRollingStatisticalWindowBuckets() public method

Sets the rolling statistical window buckets.
public WithMetricsRollingStatisticalWindowBuckets ( int value ) : HystrixThreadPoolPropertiesSetter
value int The rolling statistical window buckets.
return HystrixThreadPoolPropertiesSetter

WithQueueSizeRejectionThreshold() public method

Sets the queue size rejection threshold.
public WithQueueSizeRejectionThreshold ( int value ) : HystrixThreadPoolPropertiesSetter
value int The queue size rejection threshold.
return HystrixThreadPoolPropertiesSetter