netflix.ocelli.loadbalancer.weighting.EqualWeightStrategy Maven / Gradle / Ivy
package netflix.ocelli.loadbalancer.weighting;
import java.util.List;
/**
* 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);
}
}