GigaSpaces XAP 10.0.1 API

org.openspaces.grid.gsm.autoscaling
Class AutoScalingSlaPolicy

java.lang.Object
  extended by org.openspaces.grid.gsm.sla.ServiceLevelAgreementPolicy
      extended by org.openspaces.grid.gsm.autoscaling.AutoScalingSlaPolicy

public class AutoScalingSlaPolicy
extends ServiceLevelAgreementPolicy

Author:
itaif

Constructor Summary
AutoScalingSlaPolicy()
           
 
Method Summary
 CapacityRequirements getCapacityRequirements()
           
 long getContainerMemoryCapacityInMB()
           
 CapacityRequirements getMaxCapacity()
           
 CapacityRequirements getMinCapacity()
           
 AutomaticCapacityScaleRuleConfig[] getRules()
           
 ZonesConfig getZonesConfig()
           
 void setCapacityRequirements(CapacityRequirements capacityRequirements)
           
 void setContainerMemoryCapacityInMB(long containerMemoryCapacityInMB)
           
 void setMaxCapacity(CapacityRequirements maxCapacity)
           
 void setMinCapacity(CapacityRequirements minCapacity)
           
 void setRules(AutomaticCapacityScaleRuleConfig[] rules)
           
 void setZonesConfig(ZonesConfig zonesConfig)
           
 String toString()
           
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AutoScalingSlaPolicy

public AutoScalingSlaPolicy()
Method Detail

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

GigaSpaces XAP 10.0.1 API

Copyright © GigaSpaces.