Package | Description |
---|---|
dev.failsafe |
APIs for performing failsafe executions.
|
Modifier and Type | Method and Description |
---|---|
EventListener<CircuitBreakerStateChangedEvent> |
CircuitBreakerConfig.getCloseListener()
Returns the close event listener.
|
EventListener<CircuitBreakerStateChangedEvent> |
CircuitBreakerConfig.getHalfOpenListener()
Returns the half-open event listener.
|
EventListener<CircuitBreakerStateChangedEvent> |
CircuitBreakerConfig.getOpenListener()
Returns the open event listener.
|
Modifier and Type | Method and Description |
---|---|
CircuitBreakerBuilder<R> |
CircuitBreakerBuilder.onClose(EventListener<CircuitBreakerStateChangedEvent> listener)
Calls the
listener when the circuit is closed. |
CircuitBreakerBuilder<R> |
CircuitBreakerBuilder.onHalfOpen(EventListener<CircuitBreakerStateChangedEvent> listener)
Calls the
listener when the circuit is half-opened. |
CircuitBreakerBuilder<R> |
CircuitBreakerBuilder.onOpen(EventListener<CircuitBreakerStateChangedEvent> listener)
Calls the
listener when the circuit is opened. |
Copyright © 2022. All rights reserved.