GigaSpaces XAP 7.1 API

org.openspaces.grid.esm
Class PuCapacityPlanner

java.lang.Object
  extended by org.openspaces.grid.esm.PuCapacityPlanner

public class PuCapacityPlanner
extends Object


Constructor Summary
PuCapacityPlanner(ProcessingUnit pu, ElasticScaleHandler elasticScale)
           
 
Method Summary
 ElasticDeploymentContextProperties getContextProperties()
           
 DeploymentIsolationFilter getDeploymentIsolationFilter()
           
 ElasticScaleHandler getElasticScale()
           
 int getMaxNumberOfGSCs()
           
 int getMinNumberOfGSCs()
           
 int getNumberOfGSCsInZone()
           
 int getNumberOfMachinesInZone()
           
 int getNumberOfMachinesWithEmptyGSCsInZone()
           
 int getNumberOfNonEmptyGSCsInZone()
           
 ProcessingUnit getProcessingUnit()
           
 int getScalingFactor()
           
 boolean hasEnoughMachines()
          We are looking to satisfy the max-instances-per-machine SLA.
static boolean isElastic(ProcessingUnit pu)
           
 boolean isProcessingUnitIntact()
           
static boolean isProcessingUnitIntact(ProcessingUnit pu)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PuCapacityPlanner

public PuCapacityPlanner(ProcessingUnit pu,
                         ElasticScaleHandler elasticScale)
Method Detail

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)

GigaSpaces XAP 7.1 API

Copyright © GigaSpaces.