Class KeyedCircuitBreakerMapping<K>

Type Parameters:
K - the key type
All Implemented Interfaces:

public final class KeyedCircuitBreakerMapping<K>
extends Object
implements CircuitBreakerMapping
A CircuitBreakerMapping that binds a CircuitBreaker to its key. KeyedCircuitBreakerMapping.KeySelector is used to resolve the key from a Request. If there is no circuit breaker bound to the key, a new one is created by using the given circuit breaker factory.