|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.netflix.loadbalancer.RandomRule
public class RandomRule
A loadbalacing strategy that randomly distributes traffic amongst existing servers.
Constructor Summary | |
---|---|
RandomRule()
|
Method Summary | |
---|---|
Server |
choose(BaseLoadBalancer lb,
java.lang.Object key)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RandomRule()
Method Detail |
---|
public Server choose(BaseLoadBalancer lb, java.lang.Object key)
choose
in interface IRule
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |