public class ClientConfigEnabledRoundRobinRule extends AbstractLoadBalancerRule
Constructor and Description |
---|
ClientConfigEnabledRoundRobinRule() |
Modifier and Type | Method and Description |
---|---|
Server |
choose(java.lang.Object key) |
void |
initWithNiwsConfig(com.netflix.client.config.IClientConfig clientConfig) |
void |
setLoadBalancer(ILoadBalancer lb) |
getLoadBalancer
public void initWithNiwsConfig(com.netflix.client.config.IClientConfig clientConfig)
public void setLoadBalancer(ILoadBalancer lb)
setLoadBalancer
in interface IRule
setLoadBalancer
in class AbstractLoadBalancerRule
public Server choose(java.lang.Object key)