public class ContainersSlaPolicy extends ServiceLevelAgreementPolicy
Constructor and Description |
---|
ContainersSlaPolicy() |
Modifier and Type | Method and Description |
---|---|
CapacityRequirementsPerAgent |
getClusterCapacityRequirements() |
GridServiceContainerConfig |
getNewContainerConfig() |
boolean |
isAtMostOneContainerScalePerMachine() |
boolean |
isUndeploying() |
void |
setAtMostOneContainerScalePerMachine(boolean atMostOneContainerScalePerMachine) |
void |
setClusterCapacityRequirements(CapacityRequirementsPerAgent clusterCapacityRequirements) |
void |
setNewContainerConfig(GridServiceContainerConfig config) |
void |
validate() |
public void setNewContainerConfig(GridServiceContainerConfig config)
public GridServiceContainerConfig getNewContainerConfig()
public CapacityRequirementsPerAgent getClusterCapacityRequirements()
public void setClusterCapacityRequirements(CapacityRequirementsPerAgent clusterCapacityRequirements)
public void setAtMostOneContainerScalePerMachine(boolean atMostOneContainerScalePerMachine)
public boolean isAtMostOneContainerScalePerMachine()
public boolean isUndeploying()
public void validate() throws IllegalArgumentException
validate
in class ServiceLevelAgreementPolicy
IllegalArgumentException
Copyright © GigaSpaces.