netflix.ocelli.algorithm.EqualWeightStrategy Maven / Gradle / Ivy
package netflix.ocelli.algorithm;
import java.util.List;
import netflix.ocelli.WeightingStrategy;
import netflix.ocelli.selectors.ClientsAndWeights;
/**
* Strategy where all clients have the same weight
* @author elandau
*
* @param
* @param
* @param
*/
public class EqualWeightStrategy implements WeightingStrategy {
@Override
public ClientsAndWeights call(List clients) {
return new ClientsAndWeights(clients, null);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy