public abstract static class LoadBalancer.Factory extends Object
| Constructor and Description |
|---|
Factory() |
| Modifier and Type | Method and Description |
|---|---|
abstract <T> LoadBalancer<T> |
newLoadBalancer(String serviceName,
TransportManager<T> tm)
Creates a
LoadBalancer that will be used inside a channel. |
public abstract <T> LoadBalancer<T> newLoadBalancer(String serviceName, TransportManager<T> tm)
LoadBalancer that will be used inside a channel.serviceName - the DNS-style service name, which is also the authoritytm - the interface where an LoadBalancer implementation gets connected
transports from