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
RebalancingSlaPolicy
public RebalancingSlaPolicy()
setContainers
public void setContainers(GridServiceContainer[] containers)
getContainers
public GridServiceContainer[] getContainers()
setMaximumNumberOfConcurrentRelocationsPerMachine
public void setMaximumNumberOfConcurrentRelocationsPerMachine(int maxNumberOfConcurrentRelocationsPerMachine)
getMaximumNumberOfConcurrentRelocationsPerMachine
public int getMaximumNumberOfConcurrentRelocationsPerMachine()
getSchemaConfig
public org.openspaces.admin.internal.pu.elastic.ProcessingUnitSchemaConfig getSchemaConfig()
setSchemaConfig
public void setSchemaConfig(org.openspaces.admin.internal.pu.elastic.ProcessingUnitSchemaConfig schemaConfig)
getAllocatedCapacity
public ClusterCapacityRequirements getAllocatedCapacity()
setAllocatedCapacity
public void setAllocatedCapacity(ClusterCapacityRequirements allocatedCapacity)
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Specified by:
equals
in class ServiceLevelAgreementPolicy
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.