
public static class HystrixCommandConfiguration.HystrixCommandCircuitBreakerConfig
extends java.lang.Object
| Constructor and Description |
|---|
HystrixCommandConfiguration.HystrixCommandCircuitBreakerConfig(boolean enabled,
int errorThresholdPercentage,
boolean forceClosed,
boolean forceOpen,
int requestVolumeThreshold,
int sleepWindowInMilliseconds) |
| Modifier and Type | Method and Description |
|---|---|
int |
getErrorThresholdPercentage() |
int |
getRequestVolumeThreshold() |
int |
getSleepWindowInMilliseconds() |
boolean |
isEnabled() |
boolean |
isForceClosed() |
boolean |
isForceOpen() |
public HystrixCommandConfiguration.HystrixCommandCircuitBreakerConfig(boolean enabled,
int errorThresholdPercentage,
boolean forceClosed,
boolean forceOpen,
int requestVolumeThreshold,
int sleepWindowInMilliseconds)
public boolean isEnabled()
public int getErrorThresholdPercentage()
public boolean isForceClosed()
public boolean isForceOpen()
public int getRequestVolumeThreshold()
public int getSleepWindowInMilliseconds()