public class RebalancingSlaPolicy extends ServiceLevelAgreementPolicy
Constructor and Description |
---|
RebalancingSlaPolicy() |
public boolean isAtMostOneConcurrentRelocation()
public void setAtMostOneConcurrentRelocation(boolean atMostOneConcurrentRelocation)
public void setContainers(GridServiceContainer[] containers)
public GridServiceContainer[] getContainers()
public void setContainersMarkedForDeallocation(Collection<GridServiceContainer> containersMarkedForDeallocation)
public Collection<GridServiceContainer> getContainersMarkedForDeallocation()
public void setMaximumNumberOfConcurrentRelocationsPerMachine(int maxNumberOfConcurrentRelocationsPerMachine)
public int getMaximumNumberOfConcurrentRelocationsPerMachine()
public ProcessingUnitSchemaConfig getSchemaConfig()
public void setSchemaConfig(ProcessingUnitSchemaConfig schemaConfig)
public CapacityRequirementsPerAgent getAllocatedCapacity()
public void setAllocatedCapacity(CapacityRequirementsPerAgent allocatedCapacity)
public void validate() throws IllegalArgumentException
validate
in class ServiceLevelAgreementPolicy
IllegalArgumentException
public int getMinimumNumberOfInstancesPerPartition()
public void setMinimumNumberOfInstancesPerPartition(int minimumNumberOfInstancesPerPartition)
public void eager(boolean eager)
public boolean isEager()
public void ignoreCpuRebalancing(boolean ignore)
public boolean ignoreCpuRebalancing()
Copyright © GigaSpaces.