org.openspaces.grid.gsm.rebalancing
Class RebalancingSlaPolicy
java.lang.Object
org.openspaces.grid.gsm.sla.ServiceLevelAgreementPolicy
org.openspaces.grid.gsm.rebalancing.RebalancingSlaPolicy
public class RebalancingSlaPolicy
- extends ServiceLevelAgreementPolicy
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RebalancingSlaPolicy
public RebalancingSlaPolicy()
setContainers
public void setContainers(GridServiceContainer[] containers)
getContainers
public GridServiceContainer[] getContainers()
setMaximumNumberOfConcurrentRelocationsPerMachine
public void setMaximumNumberOfConcurrentRelocationsPerMachine(int maxNumberOfConcurrentRelocationsPerMachine)
getMaximumNumberOfConcurrentRelocationsPerMachine
public int getMaximumNumberOfConcurrentRelocationsPerMachine()
isAtMostOneConcurrentRelocation
public boolean isAtMostOneConcurrentRelocation()
setAtMostOneConcurrentRelocation
public void setAtMostOneConcurrentRelocation(boolean atMostOneConcurrentRelocation)
getSchemaConfig
public org.openspaces.admin.internal.pu.elastic.ProcessingUnitSchemaConfig getSchemaConfig()
setSchemaConfig
public void setSchemaConfig(org.openspaces.admin.internal.pu.elastic.ProcessingUnitSchemaConfig schemaConfig)
getAllocatedCapacity
public CapacityRequirementsPerAgent getAllocatedCapacity()
setAllocatedCapacity
public void setAllocatedCapacity(CapacityRequirementsPerAgent allocatedCapacity)
validate
public void validate()
throws IllegalArgumentException
- Specified by:
validate
in class ServiceLevelAgreementPolicy
- Throws:
IllegalArgumentException
getMinimumNumberOfInstancesPerPartition
public int getMinimumNumberOfInstancesPerPartition()
setMinimumNumberOfInstancesPerPartition
public void setMinimumNumberOfInstancesPerPartition(int minimumNumberOfInstancesPerPartition)
Copyright © GigaSpaces.