All Downloads are FREE. Search and download functionalities are using the official Maven repository.

netflix.ocelli.loadbalancer.weighting.WeightingStrategy Maven / Gradle / Ivy

There is a newer version: 0.1.0-rc.2
Show newest version
package netflix.ocelli.loadbalancer.weighting;

import java.util.List;

import rx.functions.Func1;

/**
 * Contract for strategy to determine client weights from a list of clients
 * 
 * @author elandau
 *
 * @param 
 */
public interface WeightingStrategy extends Func1, ClientsAndWeights> {
    /**
     * Run the weighting algorithm on the active set of clients and their associated statistics and 
     * return an object containing the weights
     */
    ClientsAndWeights call(List clients);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy