Class ReplicationRedoLogOverflowToDiskAlertConfiguration
java.lang.Object
org.openspaces.admin.alert.config.ReplicationRedoLogOverflowToDiskAlertConfiguration
- All Implemented Interfaces:
AlertConfiguration,BeanConfig
public class ReplicationRedoLogOverflowToDiskAlertConfiguration
extends Object
implements AlertConfiguration
A replication redo log overflow to disk alert configuration. The alert is raised if a redo log
has exceeded the defined memory capacity and excess packets are being written to disk. The alert
is resolved once the disk is no longer in use.
When target space is unavailable, replication packets are stored in the redo log (a.k.a backlog). If the capacity of the memory redo log exceeds, the disk is used. Once the target reconnects, the backlog is transmitted. When the disk is no longer in use, a resolution alert is triggered. On the other hand, if the disk redo log capacity exceeds, then the redo log is cleared and target will sync upon recovery. When the redo log is cleared the disk is no longer in use and an alert will be triggered as well.
- Since:
- 8.0
- Author:
- Moran Avigdor
- See Also:
-
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) voidsetProperties(Map<String, String> properties) Set with String key-value pairs to configure properties belonging to this bean.
-
Constructor Details
-
ReplicationRedoLogOverflowToDiskAlertConfiguration
public ReplicationRedoLogOverflowToDiskAlertConfiguration()Constructs an empty configuration.
-
-
Method Details
-
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.
-