| Package | Description |
|---|---|
| com.linecorp.armeria.client.circuitbreaker |
Failure detection and fallback mechanism based on
circuit breaker pattern.
|
| Modifier and Type | Field and Description |
|---|---|
static EventCount |
EventCount.ZERO
An
EventCount without any successes and failures. |
| Modifier and Type | Method and Description |
|---|---|
static EventCount |
EventCount.of(long success,
long failure)
Returns a new
EventCount with the specified number of successes and failures. |
| Modifier and Type | Method and Description |
|---|---|
void |
MetricCollectingCircuitBreakerListener.onEventCountUpdated(String circuitBreakerName,
EventCount eventCount) |
void |
CircuitBreakerListenerAdapter.onEventCountUpdated(String circuitBreakerName,
EventCount eventCount) |
void |
CircuitBreakerListener.onEventCountUpdated(String circuitBreakerName,
EventCount eventCount)
Invoked when the circuit breaker's internal
EventCount is updated. |
Copyright © 2020 LeanCloud. All rights reserved.