com.netflix.loadbalancer
Class RoundRobinRule

java.lang.Object
  extended by com.netflix.loadbalancer.RoundRobinRule
All Implemented Interfaces:
IRule

public class RoundRobinRule
extends java.lang.Object
implements IRule

The most well known and basic loadbalacing strategy, i.e. Round Robin Rule.


Constructor Summary
RoundRobinRule()
           
 
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

RoundRobinRule

public RoundRobinRule()
Method Detail

choose

public Server choose(BaseLoadBalancer lb,
                     java.lang.Object key)
Specified by:
choose in interface IRule