Package io.micronaut.http.client
Interface LoadBalancerResolver
- All Known Implementing Classes:
DefaultLoadBalancerResolver
public interface LoadBalancerResolver
A resolver of
LoadBalancer
instances that are capable of resolving references to services into a concrete loadbalance.- Since:
- 1.0
- Author:
- Graeme Rocher
-
Method Summary
Modifier and TypeMethodDescriptionOptional<? extends LoadBalancer>
Resolve aLoadBalancer
for the given references.
-
Method Details
-
resolve
Resolve aLoadBalancer
for the given references.- Parameters:
serviceReferences
- The references. These could be service IDs or fully HTTP URLs- Returns:
- A
LoadBalancer
or empty of non can be resolved
-