org.openspaces.grid.esm
Class PuCapacityPlanner
java.lang.Object
org.openspaces.grid.esm.PuCapacityPlanner
public class PuCapacityPlanner
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PuCapacityPlanner
public PuCapacityPlanner(ProcessingUnit pu,
ElasticScaleHandler elasticScale)
isElastic
public static boolean isElastic(ProcessingUnit pu)
getScalingFactor
public int getScalingFactor()
getMinNumberOfGSCs
public int getMinNumberOfGSCs()
getMaxNumberOfGSCs
public int getMaxNumberOfGSCs()
getProcessingUnit
public ProcessingUnit getProcessingUnit()
getElasticScale
public ElasticScaleHandler getElasticScale()
getNumberOfGSCsInZone
public int getNumberOfGSCsInZone()
getNumberOfNonEmptyGSCsInZone
public int getNumberOfNonEmptyGSCsInZone()
getNumberOfMachinesWithEmptyGSCsInZone
public int getNumberOfMachinesWithEmptyGSCsInZone()
hasEnoughMachines
public boolean hasEnoughMachines()
- We are looking to satisfy the max-instances-per-machine SLA.
If there are more than 1 machine in the zone then the SLA is obeyed.
getNumberOfMachinesInZone
public int getNumberOfMachinesInZone()
getContextProperties
public ElasticDeploymentContextProperties getContextProperties()
getDeploymentIsolationFilter
public DeploymentIsolationFilter getDeploymentIsolationFilter()
isProcessingUnitIntact
public boolean isProcessingUnitIntact()
isProcessingUnitIntact
public static boolean isProcessingUnitIntact(ProcessingUnit pu)
Copyright © GigaSpaces.