GigaSpaces XAP 9.7.2 API

org.openspaces.admin.alert.config
Class ProvisionFailureAlertConfiguration

java.lang.Object
  extended by org.openspaces.admin.alert.config.ProvisionFailureAlertConfiguration
All Implemented Interfaces:
AlertConfiguration, BeanConfig

public class ProvisionFailureAlertConfiguration
extends Object
implements AlertConfiguration

A provision failure alert configuration. An alert is raised if the processing unit has less actual instances than planned instances. An alert is resolved when the processing unit actual instance count is equal to the planned instance count.

Since:
8.0.3
Author:
Moran Avigdor
See Also:
ProvisionFailureAlertConfigurer

Constructor Summary
ProvisionFailureAlertConfiguration()
          Constructs an empty provision failure alert configuration.
 
Method Summary
 String getBeanClassName()
          The Bean implementation class name corresponding to this BeanConfig.
 Map<String,String> getProperties()
          Get the String key-value pairs properties used to configure this bean.
 boolean isEnabled()
          
 void setEnabled(boolean enabled)
          
 void setProperties(Map<String,String> properties)
          Set with String key-value pairs to configure properties belonging to this bean.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProvisionFailureAlertConfiguration

public ProvisionFailureAlertConfiguration()
Constructs an empty provision failure alert configuration.

Method Detail

isEnabled

public boolean isEnabled()

Specified by:
isEnabled in interface AlertConfiguration
Returns:
true if this alert is enabled; false if this alert is currently disabled.

setEnabled

public void setEnabled(boolean enabled)

Specified by:
setEnabled in interface AlertConfiguration
Parameters:
enabled - true if this alert should be enabled; false if this alert should be disabled.

getBeanClassName

public String getBeanClassName()
The Bean implementation class name corresponding to this BeanConfig.

Specified by:
getBeanClassName in interface BeanConfig
Returns:
the name of the admin Bean implementation class.

getProperties

public Map<String,String> getProperties()
Get the String key-value pairs properties used to configure this bean.

Specified by:
getProperties in interface BeanConfig
Returns:
the properties used to configure this bean object.

setProperties

public void setProperties(Map<String,String> properties)
Set with String key-value pairs to configure properties belonging to this bean. Overrides all previously set properties.

Specified by:
setProperties in interface BeanConfig
Parameters:
properties - the properties to configure this bean object.

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.