Interface CircuitBreakerFactory
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A functional interface that represents a mapper factory, mapping a combination of host, method and path
to a
CircuitBreaker
.-
Method Summary
Modifier and TypeMethodDescriptionGiven a combination of host, method and path, creates aCircuitBreaker
.
-
Method Details
-
apply
CircuitBreaker apply(@Nullable @Nullable String host, @Nullable @Nullable String method, @Nullable @Nullable String path) Given a combination of host, method and path, creates aCircuitBreaker
.- Parameters:
host
- the host of the context endpoint.method
- the method of the context request.path
- the path of the context request.- Returns:
- the
CircuitBreaker
instance corresponding to this combination.
-