netflix.ocelli.LoadBalancer Maven / Gradle / Ivy
package netflix.ocelli;
import java.util.List;
import rx.Observable;
import rx.functions.Action1;
/**
* Contract for the LoadBalancer.
*
* The LoadBalancer contract is similar to a Subject in that it receives (and caches) input
* in the form of a List of active clients and emits a single client from that list based
* on the load balancing strategy for each subscription.
*
* @author elandau
*
* @param
*/
public abstract class LoadBalancer extends Observable implements Action1> {
protected LoadBalancer(OnSubscribe f) {
super(f);
}
}