Class ProcessingUnitInstanceMemberAliveIndicatorAlertConfiguration
java.lang.Object
org.openspaces.admin.alert.config.ProcessingUnitInstanceMemberAliveIndicatorAlertConfiguration
- All Implemented Interfaces:
AlertConfiguration,BeanConfig
public class ProcessingUnitInstanceMemberAliveIndicatorAlertConfiguration
extends Object
implements AlertConfiguration
A processing unit instance fault-detection configuration. An alert is raised if the
fault-detection mechanism has detected failure of a processing unit instance. An alert is
resolved if the fault-detection mechanism succeeded to monitor a suspected processing unit
instance.
note: The member alive fault-detection mechanism (retries and timeout) should be configured separately in the pu.xml (see os-sla:member-alive-indicator)
- Since:
- 8.0.6
- Author:
- Moran Avigdor
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs an empty processing unit instance member alive indicator alert configuration. -
Method Summary
Modifier and TypeMethodDescriptionTheBeanimplementation class name corresponding to this BeanConfig.Get the String key-value pairs properties used to configure this bean.booleanvoidsetEnabled(boolean enabled) voidsetProperties(Map<String, String> properties) Set with String key-value pairs to configure properties belonging to this bean.
-
Constructor Details
-
ProcessingUnitInstanceMemberAliveIndicatorAlertConfiguration
public ProcessingUnitInstanceMemberAliveIndicatorAlertConfiguration()Constructs an empty processing unit instance member alive indicator alert configuration.
-
-
Method Details
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabledin interfaceAlertConfiguration- Returns:
trueif this alert is enabled;falseif this alert is currently disabled.
-
setEnabled
public void setEnabled(boolean enabled) - Specified by:
setEnabledin interfaceAlertConfiguration- Parameters:
enabled-trueif this alert should be enabled;falseif this alert should be disabled.
-
getBeanClassName
TheBeanimplementation class name corresponding to this BeanConfig.- Specified by:
getBeanClassNamein interfaceBeanConfig- Returns:
- the name of the admin Bean implementation class.
-
getProperties
Get the String key-value pairs properties used to configure this bean.- Specified by:
getPropertiesin interfaceBeanConfig- Returns:
- the properties used to configure this bean object.
-
setProperties
Set with String key-value pairs to configure properties belonging to this bean. Overrides all previously set properties.- Specified by:
setPropertiesin interfaceBeanConfig- Parameters:
properties- the properties to configure this bean object.
-