
Hystrix: Latency and Fault Tolerance for Distributed Systems
com.netflix.hystrix
Class HystrixThreadPoolProperties.Setter
java.lang.Object
com.netflix.hystrix.HystrixThreadPoolProperties.Setter
- Enclosing class:
- HystrixThreadPoolProperties
@NotThreadSafe
public static class HystrixThreadPoolProperties.Setter
- extends java.lang.Object
Fluent interface that allows chained setting of properties that can be passed into a HystrixThreadPool via a HystrixCommand constructor to inject instance specific property
overrides.
See HystrixPropertiesStrategy for more information on order of precedence.
Example:
HystrixThreadPoolProperties.Setter()
.setCoreSize(10)
.setQueueSizeRejectionThreshold(10);
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getCoreSize
public java.lang.Integer getCoreSize()
getKeepAliveTimeMinutes
public java.lang.Integer getKeepAliveTimeMinutes()
getMaxQueueSize
public java.lang.Integer getMaxQueueSize()
getQueueSizeRejectionThreshold
public java.lang.Integer getQueueSizeRejectionThreshold()
getMetricsRollingStatisticalWindowInMilliseconds
public java.lang.Integer getMetricsRollingStatisticalWindowInMilliseconds()
getMetricsRollingStatisticalWindowBuckets
public java.lang.Integer getMetricsRollingStatisticalWindowBuckets()
withCoreSize
public HystrixThreadPoolProperties.Setter withCoreSize(int value)
withKeepAliveTimeMinutes
public HystrixThreadPoolProperties.Setter withKeepAliveTimeMinutes(int value)
withMaxQueueSize
public HystrixThreadPoolProperties.Setter withMaxQueueSize(int value)
withQueueSizeRejectionThreshold
public HystrixThreadPoolProperties.Setter withQueueSizeRejectionThreshold(int value)
withMetricsRollingStatisticalWindowInMilliseconds
public HystrixThreadPoolProperties.Setter withMetricsRollingStatisticalWindowInMilliseconds(int value)
withMetricsRollingStatisticalWindowBuckets
public HystrixThreadPoolProperties.Setter withMetricsRollingStatisticalWindowBuckets(int value)