Class ServiceInstanceListLoadBalancerFactory
java.lang.Object
io.micronaut.http.client.loadbalance.ServiceInstanceListLoadBalancerFactory
The default
LoadBalancer
factory for creating LoadBalancer
instances from
ServiceInstanceList
instances.- Since:
- 1.0
- Author:
- Graeme Rocher
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(ServiceInstanceList serviceInstanceList) Creates aLoadBalancer
from the givenServiceInstanceList
.
-
Constructor Details
-
ServiceInstanceListLoadBalancerFactory
public ServiceInstanceListLoadBalancerFactory()
-
-
Method Details
-
create
Creates aLoadBalancer
from the givenServiceInstanceList
.- Parameters:
serviceInstanceList
- TheServiceInstanceList
- Returns:
- The
LoadBalancer
-