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.
Afficher le fichier Open project: Elders/Hystrix.NET Class Usage Examples

Méthodes publiques

Méthode 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 méthode

Sets the core size.
public WithCoreSize ( int value ) : HystrixThreadPoolPropertiesSetter
value int The core size.
Résultat HystrixThreadPoolPropertiesSetter

WithKeepAliveTime() public méthode

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

WithMaxQueueSize() public méthode

Sets the max queue size.
public WithMaxQueueSize ( int value ) : HystrixThreadPoolPropertiesSetter
value int The max queue size.
Résultat HystrixThreadPoolPropertiesSetter

WithMetricsRollingStatisticalWindow() public méthode

Sets the rolling statistical window.
public WithMetricsRollingStatisticalWindow ( int value ) : HystrixThreadPoolPropertiesSetter
value int The rolling statistical window.
Résultat HystrixThreadPoolPropertiesSetter

WithMetricsRollingStatisticalWindowBuckets() public méthode

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

WithQueueSizeRejectionThreshold() public méthode

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