org.openspaces.grid.gsm.machines
Class AbstractMachinesSlaPolicy
java.lang.Object
org.openspaces.grid.gsm.sla.ServiceLevelAgreementPolicy
org.openspaces.grid.gsm.machines.AbstractMachinesSlaPolicy
- Direct Known Subclasses:
- CapacityMachinesSlaPolicy, EagerMachinesSlaPolicy
public abstract class AbstractMachinesSlaPolicy
- extends ServiceLevelAgreementPolicy
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractMachinesSlaPolicy
public AbstractMachinesSlaPolicy()
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)
Copyright © GigaSpaces.