public class RebalancingSlaPolicy extends ServiceLevelAgreementPolicy
Constructor and Description |
---|
RebalancingSlaPolicy() |
Modifier and Type | Method and Description |
---|---|
void |
eager(boolean eager) |
CapacityRequirementsPerAgent |
getAllocatedCapacity() |
GridServiceContainer[] |
getContainers() |
int |
getMaximumNumberOfConcurrentRelocationsPerMachine() |
int |
getMinimumNumberOfInstancesPerPartition() |
ProcessingUnitSchemaConfig |
getSchemaConfig() |
boolean |
ignoreCpuRebalancing() |
void |
ignoreCpuRebalancing(boolean ignore) |
boolean |
isAtMostOneConcurrentRelocation() |
boolean |
isEager() |
void |
setAllocatedCapacity(CapacityRequirementsPerAgent allocatedCapacity) |
void |
setAtMostOneConcurrentRelocation(boolean atMostOneConcurrentRelocation) |
void |
setContainers(GridServiceContainer[] containers) |
void |
setMaximumNumberOfConcurrentRelocationsPerMachine(int maxNumberOfConcurrentRelocationsPerMachine) |
void |
setMinimumNumberOfInstancesPerPartition(int minimumNumberOfInstancesPerPartition) |
void |
setSchemaConfig(ProcessingUnitSchemaConfig schemaConfig) |
String |
toString() |
void |
validate() |
public boolean isAtMostOneConcurrentRelocation()
public void setAtMostOneConcurrentRelocation(boolean atMostOneConcurrentRelocation)
public void setContainers(GridServiceContainer[] containers)
public GridServiceContainer[] getContainers()
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.