GigaSpaces XAP 9.7.2 API

org.openspaces.grid.gsm.machines
Class AbstractMachinesSlaPolicy

java.lang.Object
  extended by org.openspaces.grid.gsm.sla.ServiceLevelAgreementPolicy
      extended by org.openspaces.grid.gsm.machines.AbstractMachinesSlaPolicy
Direct Known Subclasses:
CapacityMachinesSlaPolicy, EagerMachinesSlaPolicy

public abstract class AbstractMachinesSlaPolicy
extends ServiceLevelAgreementPolicy


Constructor Summary
AbstractMachinesSlaPolicy()
           
 
Method Summary
 long getContainerMemoryCapacityInMB()
           
 DiscoveredMachinesCache getDiscoveredMachinesCache()
           
 ZonesConfig getGridServiceAgentZones()
           
 ElasticProcessingUnitMachineIsolation getMachineIsolation()
           
 NonBlockingElasticMachineProvisioning getMachineProvisioning()
           
 int getMaximumNumberOfContainersPerMachine()
           
 int getMaximumNumberOfMachines()
           
 int getMinimumNumberOfMachines()
           
 CapacityRequirements getReservedCapacityPerMachine()
           
 CapacityRequirements getReservedCapacityPerManagementMachine()
           
 long getReservedMemoryCapacityPerMachineInMB()
           
abstract  String getScaleStrategyName()
           
 boolean isAllowAboveAverageMemoryPerMachine()
           
abstract  boolean isStopMachineSupported()
           
 boolean isUndeploying()
           
 void setAllowAboveAverageMemoryPerMachine(boolean allowAboveAverageMemoryPerMachine)
           
 void setContainerMemoryCapacityInMB(long containerMemoryCapacityInMB)
           
 void setDiscoveredMachinesCache(DiscoveredMachinesCache machinesCache)
           
 void setGridServiceAgentZones(ZonesConfig zones)
           
 void setMachineIsolation(ElasticProcessingUnitMachineIsolation isolation)
           
 void setMachineProvisioning(NonBlockingElasticMachineProvisioning machineProvisioning)
           
 void setMaximumNumberOfContainersPerMachine(int maxNumberOfContainersPerMachine)
           
 void setMaximumNumberOfMachines(int maxNumberOfMachines)
           
 void setMinimumNumberOfMachines(int minimumNumberOfMachines)
           
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractMachinesSlaPolicy

public AbstractMachinesSlaPolicy()
Method Detail

getGridServiceAgentZones

public ZonesConfig getGridServiceAgentZones()

setGridServiceAgentZones

public void setGridServiceAgentZones(ZonesConfig zones)

getDiscoveredMachinesCache

public DiscoveredMachinesCache getDiscoveredMachinesCache()

setDiscoveredMachinesCache

public void setDiscoveredMachinesCache(DiscoveredMachinesCache machinesCache)

getMinimumNumberOfMachines

public int getMinimumNumberOfMachines()

setMinimumNumberOfMachines

public void setMinimumNumberOfMachines(int minimumNumberOfMachines)

getReservedMemoryCapacityPerMachineInMB

public long getReservedMemoryCapacityPerMachineInMB()

setContainerMemoryCapacityInMB

public void setContainerMemoryCapacityInMB(long containerMemoryCapacityInMB)

getContainerMemoryCapacityInMB

public long getContainerMemoryCapacityInMB()

getMachineProvisioning

public NonBlockingElasticMachineProvisioning getMachineProvisioning()

setMachineProvisioning

public void setMachineProvisioning(NonBlockingElasticMachineProvisioning machineProvisioning)

setMaximumNumberOfMachines

public void setMaximumNumberOfMachines(int maxNumberOfMachines)

getMaximumNumberOfMachines

public int getMaximumNumberOfMachines()

getMachineIsolation

public ElasticProcessingUnitMachineIsolation getMachineIsolation()

setMachineIsolation

public void setMachineIsolation(ElasticProcessingUnitMachineIsolation isolation)

getReservedCapacityPerMachine

public CapacityRequirements getReservedCapacityPerMachine()

getReservedCapacityPerManagementMachine

public CapacityRequirements getReservedCapacityPerManagementMachine()

setMaximumNumberOfContainersPerMachine

public void setMaximumNumberOfContainersPerMachine(int maxNumberOfContainersPerMachine)

getMaximumNumberOfContainersPerMachine

public int getMaximumNumberOfContainersPerMachine()

isUndeploying

public boolean isUndeploying()

validate

public void validate()
Specified by:
validate in class ServiceLevelAgreementPolicy

isStopMachineSupported

public abstract boolean isStopMachineSupported()

getScaleStrategyName

public abstract String getScaleStrategyName()

isAllowAboveAverageMemoryPerMachine

public boolean isAllowAboveAverageMemoryPerMachine()

setAllowAboveAverageMemoryPerMachine

public void setAllowAboveAverageMemoryPerMachine(boolean allowAboveAverageMemoryPerMachine)

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.