public class CircuitBreakerRegistry extends Object
| Constructor and Description |
|---|
CircuitBreakerRegistry() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
Map<String,net.jodah.failsafe.CircuitBreaker> |
getConcurrentBreakerMap()
Returns the
Map with registered circuit breakers. |
net.jodah.failsafe.CircuitBreaker |
getOrCreate(String identifier)
Deprecated.
This method shouldn't be used anymore. Failsafe-Actuator relies on Springs
ApplicationContext
in the future therefore you should instantiate your Circuit Breaker by creating a Bean.
This method will be dropped in future versions. |
public Map<String,net.jodah.failsafe.CircuitBreaker> getConcurrentBreakerMap()
Map with registered circuit breakers.Map@Deprecated public net.jodah.failsafe.CircuitBreaker getOrCreate(String identifier)
ApplicationContext
in the future therefore you should instantiate your Circuit Breaker by creating a Bean.
This method will be dropped in future versions.CircuitBreaker for the given identifier or creates a new one.identifier - which will be shown in the output of the FailsafeEndpoint.CircuitBreaker@PreDestroy public void destroy() throws Exception
ExceptionCopyright © 2018 Zalando SE. All rights reserved.