@HystrixCommandBinding public class HystrixCommandInterceptor extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
SYNC_CIRCUIT_BREAKER_KEY
This config property key can be used to disable synchronous circuit breaker functionality.
|
| Constructor and Description |
|---|
HystrixCommandInterceptor(Boolean nonFallBackEnable,
Boolean syncCircuitBreakerEnabled,
BeanManager beanManager) |
| Modifier and Type | Method and Description |
|---|---|
Object |
interceptCommand(InvocationContext ic) |
public static final String SYNC_CIRCUIT_BREAKER_KEY
CircuitBreaker#successThreshold() of
value greater than 1 is not supported.
Moreover, circuit breaker does not necessarily transition from CLOSED to OPEN immediately when a fault tolerance operation completes. See also Hystrix configuration
In general, application developers are encouraged to disable this feature on high-volume circuits and in production environments.
Copyright © 2018 JBoss by Red Hat. All rights reserved.