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

com.netflix.fenzo.plugins.NoOpScaleDownOrderEvaluator Maven / Gradle / Ivy

There is a newer version: 1.0.1
Show newest version
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);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy