Class ReplicationRedoLogSizeAlertConfiguration
java.lang.Object
org.openspaces.admin.alert.config.ReplicationRedoLogSizeAlertConfiguration
- All Implemented Interfaces:
AlertConfiguration,BeanConfig
A replication redo log size alert configuration. Specifies the thresholds for triggering an
alert. There are two thresholds, high and low. The redo log size alert is raised if the number of
packets in the redo log is above the specified high threshold. The redo log size alert is
resolved if the number of packets in the redo log goes below the specified low threshold.
- Since:
- 8.0
- Author:
- Moran Avigdor
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructs an empty 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) voidsetHighThresholdRedoLogSize(int highThreshold) Set the high threshold redo-log size value - the number of packets in the redo log.voidsetLowThresholdRedoLogSize(int lowThreshold) Set the low threshold redo-log size value.voidsetProperties(Map<String, String> properties) Set with String key-value pairs to configure properties belonging to this bean.
-
Field Details
-
HIGH_THRESHOLD_REDO_LOG_SIZE_KEY
High threshold for redo-log size. Raises an alert if redo-log size (of both swapped packets and memory residing packets) goes above this high threshold.- See Also:
-
LOW_THRESHOLD_REDO_LOG_SIZE_KEY
Low threshold for redo-log size. Resolves a previously high threshold triggered alert. A 'resolved' alert will be triggered if redo-log size goes below this low threshold.- See Also:
-
-
Constructor Details
-
ReplicationRedoLogSizeAlertConfiguration
public ReplicationRedoLogSizeAlertConfiguration()Constructs an empty configuration.
-
-
Method Details
-
setHighThresholdRedoLogSize
public void setHighThresholdRedoLogSize(int highThreshold) Set the high threshold redo-log size value - the number of packets in the redo log.- Parameters:
highThreshold- high threshold redo-log size.
-
getHighThresholdRedoLogSize
- Returns:
- the high threshold redo-log size - the number of packets in the redo log.
-
setLowThresholdRedoLogSize
public void setLowThresholdRedoLogSize(int lowThreshold) Set the low threshold redo-log size value.- Parameters:
lowThreshold- low threshold redo-log size.
-
getLowThresholdRedoLogSize
- Returns:
- the low threshold redo-log size
-
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.
-
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.
-
getBeanClassName
TheBeanimplementation class name corresponding to this BeanConfig.- Specified by:
getBeanClassNamein interfaceBeanConfig- Returns:
- the name of the admin Bean implementation class.
-
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.
-