org.openspaces.grid.gsm.autoscaling
Class AutoScalingSlaPolicy
java.lang.Object
org.openspaces.grid.gsm.sla.ServiceLevelAgreementPolicy
org.openspaces.grid.gsm.autoscaling.AutoScalingSlaPolicy
public class AutoScalingSlaPolicy
- extends ServiceLevelAgreementPolicy
- Author:
- itaif
AutoScalingSlaPolicy
public AutoScalingSlaPolicy()
getZonesConfig
public ZonesConfig getZonesConfig()
- Returns:
- the zonesConfig
setZonesConfig
public void setZonesConfig(ZonesConfig zonesConfig)
- Parameters:
zonesConfig
- the zonesConfig to set
getCapacityRequirements
public CapacityRequirements getCapacityRequirements()
setCapacityRequirements
public void setCapacityRequirements(CapacityRequirements capacityRequirements)
getRules
public AutomaticCapacityScaleRuleConfig[] getRules()
setRules
public void setRules(AutomaticCapacityScaleRuleConfig[] rules)
getMaxCapacity
public CapacityRequirements getMaxCapacity()
setMaxCapacity
public void setMaxCapacity(CapacityRequirements maxCapacity)
getMinCapacity
public CapacityRequirements getMinCapacity()
setMinCapacity
public void setMinCapacity(CapacityRequirements minCapacity)
validate
public void validate()
throws IllegalArgumentException
- Specified by:
validate
in class ServiceLevelAgreementPolicy
- Throws:
IllegalArgumentException
getContainerMemoryCapacityInMB
public long getContainerMemoryCapacityInMB()
setContainerMemoryCapacityInMB
public void setContainerMemoryCapacityInMB(long containerMemoryCapacityInMB)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © GigaSpaces.