com.netflix.loadbalancer
Interface IRule

All Known Implementing Classes:
AbstractLoadBalancerRule, AvailabilityFilteringRule, ClientConfigEnabledRoundRobinRule, RandomRule, ResponseTimeWeightedRule, RetryRule, RoundRobinRule, WeightedResponseTimeRule, ZoneAvoidanceRule

public interface IRule

Interface that defines a "Rule" for a LoadBalancer. A Rule can be thought of as a Strategy for loadbalacing. Well known loadbalancing strategies include Round Robin, Response Time based etc.


Method Summary
 Server choose(BaseLoadBalancer lb, java.lang.Object key)
           
 

Method Detail

choose

Server choose(BaseLoadBalancer lb,
              java.lang.Object key)