| 
GigaSpaces XAP 9.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openspaces.grid.gsm.strategy.AbstractScaleStrategyBean
org.openspaces.grid.gsm.strategy.AbstractCapacityScaleStrategyBean
org.openspaces.grid.gsm.strategy.AutomaticCapacityScaleStrategyBean
public class AutomaticCapacityScaleStrategyBean
+ * The business logic that scales an elastic processing unit based on the specified
+ * AutomaticCapacityScaleConfig
+ * 
+ * @author itaif
+ * @since 9.0.0
+
| Constructor Summary | |
|---|---|
AutomaticCapacityScaleStrategyBean()
 | 
|
| Method Summary | |
|---|---|
 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() | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public AutomaticCapacityScaleStrategyBean()
| Method Detail | 
|---|
public void setAutoScalingSlaEnforcementEndpoint(AutoScalingSlaEnforcementEndpoint endpoint)
setAutoScalingSlaEnforcementEndpoint in interface AutoScalingSlaEnforcementEndpointAwarepublic void afterPropertiesSet()
Bean
afterPropertiesSet in interface BeanafterPropertiesSet in class AbstractCapacityScaleStrategyBeanBeanConfigurationException, 
BeanInitializationExceptionpublic void destroy()
Bean
destroy in interface Beandestroy in class AbstractScaleStrategyBeanBeanConfigExceptionpublic ScaleStrategyConfig getConfig()
getConfig in interface ScaleStrategyBean
protected void recoverStateOnEsmStart()
                               throws SomeProcessingUnitsHaveNotCompletedStateRecoveryException,
                                      NeedToWaitUntilAllGridServiceAgentsDiscoveredException,
                                      MachinesSlaEnforcementInProgressException,
                                      UndeployInProgressException
recoverStateOnEsmStart in class AbstractCapacityScaleStrategyBeanSomeProcessingUnitsHaveNotCompletedStateRecoveryException
NeedToWaitUntilAllGridServiceAgentsDiscoveredException
MachinesSlaEnforcementInProgressException
UndeployInProgressExceptionprotected boolean setPlannedCapacity(CapacityRequirementsPerZonesConfig config)
AbstractCapacityScaleStrategyBeanAbstractCapacityScaleStrategyBean.enforcePlannedCapacity()
setPlannedCapacity in class AbstractCapacityScaleStrategyBean
protected void enforceSla()
                   throws SlaEnforcementInProgressException
enforceSla in class AbstractScaleStrategyBeanSlaEnforcementInProgressException
  | 
GigaSpaces XAP 9.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||