public class ElasticMachineProvisioningAlertBean extends AbstractElasticProcessingUnitAlertBean implements ElasticMachineProvisioningFailureEventListener, ElasticMachineProvisioningProgressChangedEventListener
| Constructor and Description |
|---|
ElasticMachineProvisioningAlertBean() |
| 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 |
elasticMachineProvisioningFailure(ElasticMachineProvisioningFailureEvent 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 |
elasticMachineProvisioningProgressChanged(ElasticMachineProvisioningProgressChangedEvent event)
Resolves an alert when PU has the machines it needs.
|
createRaisedAlert, createResolvedAlerts, getProperties, raiseAlert, setAdmin, setAlertName, setAlertSeverity, setBeanUid, setProperties, setResolvedAlertDescriptionFormatpublic void afterPropertiesSet()
throws Exception
BeanafterPropertiesSet in interface BeanafterPropertiesSet in class AbstractElasticProcessingUnitAlertBeanException - in the event of misconfiguration (such as failure to set an essential
property) or if initialization fails.BeanConfigurationException,
BeanInitializationExceptionpublic void destroy()
throws Exception
Beandestroy in interface Beandestroy in class AbstractElasticProcessingUnitAlertBeanException - in case of shutdown errors. Exceptions will get logged but not re-thrown to
allow other beans to release their resources too.BeanConfigExceptionpublic void elasticMachineProvisioningFailure(ElasticMachineProvisioningFailureEvent event)
elasticMachineProvisioningFailure in interface ElasticMachineProvisioningFailureEventListenerpublic void elasticMachineProvisioningProgressChanged(ElasticMachineProvisioningProgressChangedEvent event)
elasticMachineProvisioningProgressChanged in interface ElasticMachineProvisioningProgressChangedEventListenerCopyright © GigaSpaces.