public abstract class CircuitBreakerService extends AbstractLifecycleComponent
lifecycledeprecationLogger, logger, settings| Modifier | Constructor and Description |
|---|---|
protected |
CircuitBreakerService(Settings settings) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doClose() |
protected void |
doStart() |
protected void |
doStop() |
abstract CircuitBreaker |
getBreaker(java.lang.String name) |
abstract void |
registerBreaker(BreakerSettings breakerSettings)
Allows to register of a custom circuit breaker.
|
abstract AllCircuitBreakerStats |
stats() |
abstract CircuitBreakerStats |
stats(java.lang.String name) |
addLifecycleListener, close, lifecycleState, removeLifecycleListener, start, stoplogDeprecatedSetting, logRemovedSetting, nodeNameprotected CircuitBreakerService(Settings settings)
public abstract void registerBreaker(BreakerSettings breakerSettings)
public abstract CircuitBreaker getBreaker(java.lang.String name)
public abstract AllCircuitBreakerStats stats()
public abstract CircuitBreakerStats stats(java.lang.String name)
protected void doStart()
doStart in class AbstractLifecycleComponentprotected void doStop()
doStop in class AbstractLifecycleComponentprotected void doClose()
doClose in class AbstractLifecycleComponent