Package com.twitter.common.net.loadbalancing

Interface Summary
LoadBalancer<K> A load balancer, which will be used to determine which of a set of backends should be connected to for service calls.
LoadBalancingStrategy<K> A strategy for balancing request load among backends.
RequestTracker<T> Tracks requests made to a backend service.
 

Class Summary
LeastConnectedStrategy<S> A load balancer that attempts to direct load towards a backend that has the fewest leased connections.
LoadBalancerImpl<K> Implementation of a load balancer, that uses a pluggable LoadBalancingStrategy to define actual load balancing behavior.
MarkDeadStrategy<S> A load balancer that serves as a layer above another load balancer to mark hosts as dead, and prevent them from being visible to the wrapped load balancer.
MarkDeadStrategyWithHostCheck<S> A load balancing strategy that extends the functionality of the mark dead strategy by integrating a hostChecker that allows hosts to transition out of a dead state if the most recent connection to the host was successful.
MarkDeadStrategyWithHostCheck.LiveHostChecker<S> LiveHostChecker implements Filter to determine whether a host is alive based on the result of the most recent connection attempt to that host.
RandomStrategy<S> A load balancer that selects a random backend each time a request is made..
RoundRobinStrategy<S> A load balancer that distributes load by randomizing the list of available backends, and then rotating through them evenly.
SubsetStrategy<S> A load balancer that maintains a fixed upper bound on the number of backends that will be made available for a wrapped load balancer.
TrafficMonitorAdapter<K>  
 

Enum Summary
LoadBalancingStrategy.ConnectionResult  
RequestTracker.RequestResult