Examples of calculateResizePlan()


Examples of com.elastisys.scale.cloudadapters.commons.resizeplanner.ResizePlanner.calculateResizePlan()

        this.terminationQueue, scaleDownConfig()
            .getVictimSelectionPolicy(), scaleDownConfig()
            .getInstanceHourMargin());
    int netSize = resizePlanner.getEffectiveSize();

    ResizePlan resizePlan = resizePlanner
        .calculateResizePlan(desiredSize());
    if (resizePlan.isScaleUp()) {
      List<Machine> startedMachines = scaleUp(poolSize, resizePlan);
      poolSize += startedMachines.size();
    } else if (resizePlan.isScaleDown()) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.