public class ElasticAutoScalingAlertBean extends AbstractElasticProcessingUnitAlertBean implements ElasticAutoScalingFailureEventListener, ElasticAutoScalingProgressChangedEventListener
Constructor and Description |
---|
ElasticAutoScalingAlertBean() |
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.
|
void |
elasticAutoScalingFailure(ElasticAutoScalingFailureEvent event)
Raises an alert when PU machine provisioning is still in progress and this or other pu
sharing the same machine has encountered a machine provisioning failure.
|
void |
elasticAutoScalingProgressChanged(ElasticAutoScalingProgressChangedEvent event)
Resolves an alert when PU has the machines it needs.
|
createRaisedAlert, createResolvedAlerts, getProperties, raiseAlert, setAdmin, setAlertName, setAlertSeverity, setBeanUid, setProperties, setResolvedAlertDescriptionFormat
public void afterPropertiesSet() throws Exception
Bean
afterPropertiesSet
in interface Bean
afterPropertiesSet
in class AbstractElasticProcessingUnitAlertBean
Exception
- in the event of misconfiguration (such as failure to set an essential
property) or if initialization fails.BeanConfigurationException
,
BeanInitializationException
public void destroy() throws Exception
Bean
destroy
in interface Bean
destroy
in class AbstractElasticProcessingUnitAlertBean
Exception
- in case of shutdown errors. Exceptions will get logged but not re-thrown to
allow other beans to release their resources too.BeanConfigException
public void elasticAutoScalingFailure(ElasticAutoScalingFailureEvent event)
elasticAutoScalingFailure
in interface ElasticAutoScalingFailureEventListener
public void elasticAutoScalingProgressChanged(ElasticAutoScalingProgressChangedEvent event)
elasticAutoScalingProgressChanged
in interface ElasticAutoScalingProgressChangedEventListener
Copyright © GigaSpaces.