public static class HystrixCollapserProperties.Setter extends Object
HystrixCollapser
constructor to inject instance specific property overrides.
See HystrixPropertiesStrategy
for more information on order of precedence.
Example:
HystrixCollapserProperties.Setter()
.setMaxRequestsInBatch(100)
.setTimerDelayInMilliseconds(10);
public Boolean getCollapsingEnabled()
public Integer getMaxRequestsInBatch()
public Integer getTimerDelayInMilliseconds()
public Boolean getRequestCacheEnabled()
public Integer getMetricsRollingStatisticalWindowInMilliseconds()
public Integer getMetricsRollingStatisticalWindowBuckets()
public Integer getMetricsRollingPercentileBucketSize()
public Boolean getMetricsRollingPercentileEnabled()
public Integer getMetricsRollingPercentileWindowInMilliseconds()
public Integer getMetricsRollingPercentileWindowBuckets()
public HystrixCollapserProperties.Setter withCollapsingEnabled(boolean value)
public HystrixCollapserProperties.Setter withMaxRequestsInBatch(int value)
public HystrixCollapserProperties.Setter withTimerDelayInMilliseconds(int value)
public HystrixCollapserProperties.Setter withRequestCacheEnabled(boolean value)
public HystrixCollapserProperties.Setter withMetricsRollingStatisticalWindowInMilliseconds(int value)
public HystrixCollapserProperties.Setter withMetricsRollingStatisticalWindowBuckets(int value)
public HystrixCollapserProperties.Setter withMetricsRollingPercentileBucketSize(int value)
public HystrixCollapserProperties.Setter withMetricsRollingPercentileEnabled(boolean value)
public HystrixCollapserProperties.Setter withMetricsRollingPercentileWindowInMilliseconds(int value)
public HystrixCollapserProperties.Setter withMetricsRollingPercentileWindowBuckets(int value)
Copyright © 2020. All Rights Reserved.