|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.netflix.loadbalancer.AbstractLoadBalancerRule com.netflix.loadbalancer.WeightedResponseTimeRule
public class WeightedResponseTimeRule
This class essentially contains the ResponseTimeWeightedRule class defined in the loadbalancer package
Constructor Summary | |
---|---|
WeightedResponseTimeRule()
|
Method Summary | |
---|---|
Server |
choose(BaseLoadBalancer lb,
java.lang.Object key)
|
void |
initWithNiwsConfig(IClientConfig clientConfig)
Concrete implementation should implement this method so that the configuration set via IClientConfig (which in turn were set via Archaius properties) will be taken into consideration |
void |
setLoadBalancer(AbstractLoadBalancer lb)
|
Methods inherited from class com.netflix.loadbalancer.AbstractLoadBalancerRule |
---|
getLoadBalancer |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WeightedResponseTimeRule()
Method Detail |
---|
public void initWithNiwsConfig(IClientConfig clientConfig)
IClientConfigAware
IClientConfig
(which in turn were set via Archaius properties) will be taken into consideration
public void setLoadBalancer(AbstractLoadBalancer lb)
setLoadBalancer
in class AbstractLoadBalancerRule
public Server choose(BaseLoadBalancer lb, java.lang.Object key)
choose
in interface IRule
choose
in class AbstractLoadBalancerRule
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |