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, setScaleStrategyConfig
agentProvisioningCompletedEvent, 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, validateAllProcessingUnitsRecoveredStateOnEsmStart
public void setAutoScalingSlaEnforcementEndpoint(AutoScalingSlaEnforcementEndpoint endpoint)
setAutoScalingSlaEnforcementEndpoint
in interface AutoScalingSlaEnforcementEndpointAware
public void afterPropertiesSet()
Bean
afterPropertiesSet
in interface Bean
afterPropertiesSet
in class AbstractCapacityScaleStrategyBean
BeanConfigurationException
,
BeanInitializationException
public void destroy()
Bean
destroy
in interface Bean
destroy
in class AbstractScaleStrategyBean
BeanConfigException
public ScaleStrategyConfig getConfig()
getConfig
in interface ScaleStrategyBean
protected void recoverStateOnEsmStart() throws SomeProcessingUnitsHaveNotCompletedStateRecoveryException, NeedToWaitUntilAllGridServiceAgentsDiscoveredException, MachinesSlaEnforcementInProgressException, UndeployInProgressException
protected boolean setPlannedCapacity(CapacityRequirementsPerZonesConfig config)
AbstractCapacityScaleStrategyBean
AbstractCapacityScaleStrategyBean.enforcePlannedCapacity()
setPlannedCapacity
in class AbstractCapacityScaleStrategyBean
protected void enforceSla() throws SlaEnforcementInProgressException
enforceSla
in class AbstractScaleStrategyBean
SlaEnforcementInProgressException
Copyright © GigaSpaces.