public class AutomaticCapacityScaleStrategyBean extends AbstractCapacityScaleStrategyBean implements AutoScalingSlaEnforcementEndpointAware
AutomaticCapacityScaleConfig
+ *
+ * @author itaif
+ * @since 9.0.0
+| Constructor and Description |
|---|
AutomaticCapacityScaleStrategyBean() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet()
Invoked by a bean factory after it has set all bean properties.
|
void |
destroy()
Invoked by a bean factory on destruction of a singleton.
|
protected void |
enforceSla() |
ScaleStrategyConfig |
getConfig() |
protected void |
recoverStateOnEsmStart() |
void |
setAutoScalingSlaEnforcementEndpoint(AutoScalingSlaEnforcementEndpoint endpoint) |
protected boolean |
setPlannedCapacity(CapacityRequirementsPerZonesConfig config)
Call once in order to modify the behavior of
AbstractCapacityScaleStrategyBean.enforcePlannedCapacity() |
calcRoundedTotalMemoryInMB, enforcePlannedCapacity, getAllocatedCapacity, getDefaultZones, getGridServiceContainerConfig, getPlannedCapacity, getPlannedZones, getRecoveredStateOnEsmStart, isGridServiceAgentZonesAware, isUndeploying, setAgentFailureDetectionConfig, setContainersSlaEnforcementEndpoint, setGridServiceContainerConfig, setMachinesSlaEnforcementEndpoint, setPlannedCapacity, setPlannedCapacity, setRebalancingSlaEnforcementEndpoint, setScaleStrategyConfigagentProvisioningCompletedEvent, agentProvisioningInProgressEvent, capacityPlanningCompletedEvent, capacityPlanningCompletedEvent, capacityPlanningInProgressEvent, capacityPlanningInProgressEvent, containerProvisioningCompletedEvent, containerProvisioningInProgressEvent, getAdmin, getContainerNumberOfCpuCores, getDiscoveredMachinesCache, getElasticMachineProvisioningOrNull, getIsolation, getLogger, getMachineProvisioning, getMaximumNumberOfInstances, getMinimumNumberOfMachines, getPollingIntervalSeconds, getProcessingUnit, getProperties, getRemoteApi, getSchemaConfig, isScaleInProgress, machineProvisioningCompletedEvent, machineProvisioningInProgressEvent, puInstanceProvisioningCompletedEvent, puInstanceProvisioningInProgressEvent, run, setAdmin, setElasticMachineProvisioning, setElasticProcessingUnitMachineIsolation, setElasticScaleStrategyEventStorage, setMachineDiscoveryQuiteMode, setMachinesStateBackup, setProcessingUnit, setProcessingUnitSchema, setProperties, validateAllProcessingUnitsRecoveredStateOnEsmStartpublic void setAutoScalingSlaEnforcementEndpoint(AutoScalingSlaEnforcementEndpoint endpoint)
setAutoScalingSlaEnforcementEndpoint in interface AutoScalingSlaEnforcementEndpointAwarepublic void afterPropertiesSet()
BeanafterPropertiesSet in interface BeanafterPropertiesSet in class AbstractCapacityScaleStrategyBeanBeanConfigurationException,
BeanInitializationExceptionpublic void destroy()
Beandestroy in interface Beandestroy in class AbstractScaleStrategyBeanBeanConfigExceptionpublic ScaleStrategyConfig getConfig()
getConfig in interface ScaleStrategyBeanprotected void recoverStateOnEsmStart()
throws SomeProcessingUnitsHaveNotCompletedStateRecoveryException,
NeedToWaitUntilAllGridServiceAgentsDiscoveredException,
MachinesSlaEnforcementInProgressException,
UndeployInProgressException
protected boolean setPlannedCapacity(CapacityRequirementsPerZonesConfig config)
AbstractCapacityScaleStrategyBeanAbstractCapacityScaleStrategyBean.enforcePlannedCapacity()setPlannedCapacity in class AbstractCapacityScaleStrategyBeanprotected void enforceSla()
throws SlaEnforcementInProgressException
enforceSla in class AbstractScaleStrategyBeanSlaEnforcementInProgressExceptionCopyright © GigaSpaces.