netflix.ocelli.algorithm.EqualWeightStrategy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ocelli-core Show documentation
Show all versions of ocelli-core Show documentation
ocelli-core developed by Netflix
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