public static class HystrixThreadPoolProperties.Setter
extends java.lang.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 |
---|---|
java.lang.Integer |
getCoreSize() |
java.lang.Integer |
getKeepAliveTimeMinutes() |
java.lang.Integer |
getMaxQueueSize() |
java.lang.Integer |
getMetricsRollingStatisticalWindowBuckets() |
java.lang.Integer |
getMetricsRollingStatisticalWindowInMilliseconds() |
java.lang.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 java.lang.Integer getCoreSize()
public java.lang.Integer getKeepAliveTimeMinutes()
public java.lang.Integer getMaxQueueSize()
public java.lang.Integer getQueueSizeRejectionThreshold()
public java.lang.Integer getMetricsRollingStatisticalWindowInMilliseconds()
public java.lang.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)