public abstract static class LoadBalancer.Factory extends Object
| Constructor and Description |
|---|
Factory() |
| Modifier and Type | Method and Description |
|---|---|
abstract LoadBalancer |
newLoadBalancer(String serviceName,
TransportManager tm)
Creates a
LoadBalancer that will be used inside a channel. |
public abstract LoadBalancer newLoadBalancer(String serviceName, TransportManager 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