
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.netflix.hystrix.HystrixCommandProperties.Setter
@NotThreadSafe public static class HystrixCommandProperties.Setter
Fluent interface that allows chained setting of properties that can be passed into a HystrixCommand constructor to inject instance specific property overrides.
See HystrixPropertiesStrategy for more information on order of precedence.
Example:
HystrixCommandProperties.Setter()
.setExecutionTimeoutInMilliseconds(100)
.setExecuteCommandOnSeparateThread(true);
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public java.lang.Boolean getCircuitBreakerEnabled()
public java.lang.Integer getCircuitBreakerErrorThresholdPercentage()
public java.lang.Boolean getCircuitBreakerForceClosed()
public java.lang.Boolean getCircuitBreakerForceOpen()
public java.lang.Integer getCircuitBreakerRequestVolumeThreshold()
public java.lang.Integer getCircuitBreakerSleepWindowInMilliseconds()
public java.lang.Integer getExecutionIsolationSemaphoreMaxConcurrentRequests()
public HystrixCommandProperties.ExecutionIsolationStrategy getExecutionIsolationStrategy()
public java.lang.Boolean getExecutionIsolationThreadInterruptOnTimeout()
public java.lang.Integer getExecutionIsolationThreadTimeoutInMilliseconds()
public java.lang.Integer getFallbackIsolationSemaphoreMaxConcurrentRequests()
public java.lang.Boolean getFallbackEnabled()
public java.lang.Integer getMetricsHealthSnapshotIntervalInMilliseconds()
public java.lang.Integer getMetricsRollingPercentileBucketSize()
public java.lang.Boolean getMetricsRollingPercentileEnabled()
public java.lang.Integer getMetricsRollingPercentileWindowInMilliseconds()
public java.lang.Integer getMetricsRollingPercentileWindowBuckets()
public java.lang.Integer getMetricsRollingStatisticalWindowInMilliseconds()
public java.lang.Integer getMetricsRollingStatisticalWindowBuckets()
public java.lang.Boolean getRequestCacheEnabled()
public java.lang.Boolean getRequestLogEnabled()
public HystrixCommandProperties.Setter withCircuitBreakerEnabled(boolean value)
public HystrixCommandProperties.Setter withCircuitBreakerErrorThresholdPercentage(int value)
public HystrixCommandProperties.Setter withCircuitBreakerForceClosed(boolean value)
public HystrixCommandProperties.Setter withCircuitBreakerForceOpen(boolean value)
public HystrixCommandProperties.Setter withCircuitBreakerRequestVolumeThreshold(int value)
public HystrixCommandProperties.Setter withCircuitBreakerSleepWindowInMilliseconds(int value)
public HystrixCommandProperties.Setter withExecutionIsolationSemaphoreMaxConcurrentRequests(int value)
public HystrixCommandProperties.Setter withExecutionIsolationStrategy(HystrixCommandProperties.ExecutionIsolationStrategy value)
public HystrixCommandProperties.Setter withExecutionIsolationThreadInterruptOnTimeout(boolean value)
public HystrixCommandProperties.Setter withExecutionIsolationThreadTimeoutInMilliseconds(int value)
public HystrixCommandProperties.Setter withFallbackIsolationSemaphoreMaxConcurrentRequests(int value)
public HystrixCommandProperties.Setter withFallbackEnabled(boolean value)
public HystrixCommandProperties.Setter withMetricsHealthSnapshotIntervalInMilliseconds(int value)
public HystrixCommandProperties.Setter withMetricsRollingPercentileBucketSize(int value)
public HystrixCommandProperties.Setter withMetricsRollingPercentileEnabled(boolean value)
public HystrixCommandProperties.Setter withMetricsRollingPercentileWindowInMilliseconds(int value)
public HystrixCommandProperties.Setter withMetricsRollingPercentileWindowBuckets(int value)
public HystrixCommandProperties.Setter withMetricsRollingStatisticalWindowInMilliseconds(int value)
public HystrixCommandProperties.Setter withMetricsRollingStatisticalWindowBuckets(int value)
public HystrixCommandProperties.Setter withRequestCacheEnabled(boolean value)
public HystrixCommandProperties.Setter withRequestLogEnabled(boolean value)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||