@Singleton public class ServiceInstanceListLoadBalancerFactory extends Object
LoadBalancer
factory for creating LoadBalancer
instances from
ServiceInstanceList
instances.Constructor and Description |
---|
ServiceInstanceListLoadBalancerFactory() |
Modifier and Type | Method and Description |
---|---|
LoadBalancer |
create(ServiceInstanceList serviceInstanceList)
Creates a
LoadBalancer from the given ServiceInstanceList . |
public ServiceInstanceListLoadBalancerFactory()
public LoadBalancer create(ServiceInstanceList serviceInstanceList)
LoadBalancer
from the given ServiceInstanceList
.serviceInstanceList
- The ServiceInstanceList
LoadBalancer