com.netflix.fenzo.plugins.NoOpScaleDownOrderEvaluator Maven / Gradle / Ivy
package com.netflix.fenzo.plugins;
import com.netflix.fenzo.ScaleDownOrderEvaluator;
import com.netflix.fenzo.VirtualMachineLease;
import java.util.*;
public class NoOpScaleDownOrderEvaluator implements ScaleDownOrderEvaluator {
@Override
public List> evaluate(Collection candidates) {
Set singleGroup = new HashSet<>();
singleGroup.addAll(candidates);
return Collections.singletonList(singleGroup);
}
}