public static class HystrixThreadPoolProperties.Setter extends Object
HystrixThreadPool
via a HystrixCommand
constructor to inject instance specific property
overrides.
See HystrixPropertiesStrategy
for more information on order of precedence.
Example:
HystrixThreadPoolProperties.Setter()
.withCoreSize(10)
.withQueueSizeRejectionThreshold(10);
Modifier and Type | Method and Description |
---|---|
Integer |
getCoreSize() |
Integer |
getKeepAliveTimeMinutes() |
Integer |
getMaxQueueSize() |
Integer |
getMetricsRollingStatisticalWindowBuckets() |
Integer |
getMetricsRollingStatisticalWindowInMilliseconds() |
Integer |
getQueueSizeRejectionThreshold() |
HystrixThreadPoolProperties.Setter |
withCoreSize(int value) |
HystrixThreadPoolProperties.Setter |
withKeepAliveTimeMinutes(int value) |
HystrixThreadPoolProperties.Setter |
withMaxQueueSize(int value) |
HystrixThreadPoolProperties.Setter |
withMetricsRollingStatisticalWindowBuckets(int value) |
HystrixThreadPoolProperties.Setter |
withMetricsRollingStatisticalWindowInMilliseconds(int value) |
HystrixThreadPoolProperties.Setter |
withQueueSizeRejectionThreshold(int value) |
public Integer getCoreSize()
public Integer getKeepAliveTimeMinutes()
public Integer getMaxQueueSize()
public Integer getQueueSizeRejectionThreshold()
public Integer getMetricsRollingStatisticalWindowInMilliseconds()
public Integer getMetricsRollingStatisticalWindowBuckets()
public HystrixThreadPoolProperties.Setter withCoreSize(int value)
public HystrixThreadPoolProperties.Setter withKeepAliveTimeMinutes(int value)
public HystrixThreadPoolProperties.Setter withMaxQueueSize(int value)
public HystrixThreadPoolProperties.Setter withQueueSizeRejectionThreshold(int value)
public HystrixThreadPoolProperties.Setter withMetricsRollingStatisticalWindowInMilliseconds(int value)
public HystrixThreadPoolProperties.Setter withMetricsRollingStatisticalWindowBuckets(int value)
Copyright © 2015. All Rights Reserved.