| Package | Description |
|---|---|
| com.linecorp.armeria.client.circuitbreaker |
Failure detection and fallback mechanism based on
circuit breaker pattern.
|
| Modifier and Type | Field and Description |
|---|---|
static KeyedCircuitBreakerMapping.KeySelector<String> |
KeyedCircuitBreakerMapping.KeySelector.HOST
A
KeyedCircuitBreakerMapping.KeySelector that returns a key consisted of remote host name, IP address and port number. |
static KeyedCircuitBreakerMapping.KeySelector<String> |
KeyedCircuitBreakerMapping.KeySelector.HOST_AND_METHOD
A
KeyedCircuitBreakerMapping.KeySelector that returns a key consisted of remote host name, IP address, port number
and method name. |
static KeyedCircuitBreakerMapping.KeySelector<String> |
KeyedCircuitBreakerMapping.KeySelector.METHOD
A
KeyedCircuitBreakerMapping.KeySelector that returns remote method name as a key. |
| Constructor and Description |
|---|
KeyedCircuitBreakerMapping(KeyedCircuitBreakerMapping.KeySelector<K> keySelector,
Function<K,CircuitBreaker> factory)
Creates a new
KeyedCircuitBreakerMapping with the given KeyedCircuitBreakerMapping.KeySelector and
CircuitBreaker factory. |
Copyright © 2020 LeanCloud. All rights reserved.