GigaSpaces XAP 9.7.2 API

org.openspaces.grid.gsm.strategy
Class ManualCapacityPerZonesScaleStrategyBean

java.lang.Object
  extended by org.openspaces.grid.gsm.strategy.AbstractScaleStrategyBean
      extended by org.openspaces.grid.gsm.strategy.AbstractCapacityScaleStrategyBean
          extended by org.openspaces.grid.gsm.strategy.ManualCapacityPerZonesScaleStrategyBean
All Implemented Interfaces:
Runnable, Bean, ContainersSlaEnforcementEndpointAware, ElasticMachineProvisioningAware, GridServiceAgentFailureDetectionConfigAware, GridServiceContainerConfigAware, MachinesStateBackupAware, ElasticProcessingUnitMachineIsolationAware, MachinesSlaEnforcementEndpointAware, ProcessingUnitAware, RebalancingSlaEnforcementEndpointAware, ElasticScaleStrategyEventStorageAware, ScaleStrategyBean

public class ManualCapacityPerZonesScaleStrategyBean
extends AbstractCapacityScaleStrategyBean

Since:
9.1.0
Author:
Itai Frenkel

Constructor Summary
ManualCapacityPerZonesScaleStrategyBean()
           
 
Method Summary
 void afterPropertiesSet()
          Invoked by a bean factory after it has set all bean properties.
 void enforceSla()
           
 ManualCapacityPerZonesScaleConfig getConfig()
           
 
Methods inherited from class org.openspaces.grid.gsm.strategy.AbstractCapacityScaleStrategyBean
calcRoundedTotalMemoryInMB, enforcePlannedCapacity, getAllocatedCapacity, getDefaultZones, getGridServiceContainerConfig, getPlannedCapacity, getPlannedZones, getRecoveredStateOnEsmStart, isGridServiceAgentZonesAware, isUndeploying, recoverStateOnEsmStart, setAgentFailureDetectionConfig, setContainersSlaEnforcementEndpoint, setGridServiceContainerConfig, setMachinesSlaEnforcementEndpoint, setPlannedCapacity, setPlannedCapacity, setPlannedCapacity, setRebalancingSlaEnforcementEndpoint, setScaleStrategyConfig
 
Methods inherited from class org.openspaces.grid.gsm.strategy.AbstractScaleStrategyBean
agentProvisioningCompletedEvent, agentProvisioningInProgressEvent, capacityPlanningCompletedEvent, capacityPlanningCompletedEvent, capacityPlanningInProgressEvent, capacityPlanningInProgressEvent, containerProvisioningCompletedEvent, containerProvisioningInProgressEvent, destroy, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManualCapacityPerZonesScaleStrategyBean

public ManualCapacityPerZonesScaleStrategyBean()
Method Detail

afterPropertiesSet

public void afterPropertiesSet()
Description copied from interface: Bean
Invoked by a bean factory after it has set all bean properties. This method allows the bean instance to perform non-blocking initialization, which is only possible when all bean properties have been set and to throw an exception in the event of misconfiguration.

Specified by:
afterPropertiesSet in interface Bean
Overrides:
afterPropertiesSet in class AbstractCapacityScaleStrategyBean
See Also:
BeanConfigurationException, BeanInitializationException

enforceSla

public void enforceSla()
                throws SlaEnforcementInProgressException
Specified by:
enforceSla in class AbstractScaleStrategyBean
Throws:
SlaEnforcementInProgressException

getConfig

public ManualCapacityPerZonesScaleConfig getConfig()

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.