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.
파일 보기 프로젝트 열기: Elders/Hystrix.NET 1 사용 예제들

공개 메소드들

메소드 설명
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