|
GigaSpaces XAP 10.0.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 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
recoverStateOnEsmStart
in class AbstractCapacityScaleStrategyBean
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
|
GigaSpaces XAP 10.0.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |