Class ReplicationRedoLogSizeAlertConfigurer
java.lang.Object
org.openspaces.admin.alert.config.ReplicationRedoLogSizeAlertConfigurer
- All Implemented Interfaces:
AlertConfigurer,BeanConfigurer<AlertConfiguration>
A replication redo log size alert configurer. 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.
Use
the call to create() to create a fully initialized ReplicationRedoLogSizeAlertConfiguration configuration.
- Since:
- 8.0
- Author:
- Moran Avigdor
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs an empty alert configuration. -
Method Summary
Modifier and TypeMethodDescriptioncreate()Get a fully configured configuration (after all properties have been set).enable(boolean enabled) Enable an alert using this configuration.raiseAlertIfRedoLogSizeAbove(int highThreshold) Raise an alert if the number of packets in the redo log is above the specified threshold.resolveAlertIfRedoLogSizeBelow(int lowThreshold) Resolve a previously raised alert if the number of packets in the redo log goes below the specified threshold.
-
Constructor Details
-
ReplicationRedoLogSizeAlertConfigurer
public ReplicationRedoLogSizeAlertConfigurer()Constructs an empty alert configuration.
-
-
Method Details
-
enable
Description copied from interface:AlertConfigurerEnable an alert using this configuration. By default an alert is disabled.- Specified by:
enablein interfaceAlertConfigurer- Parameters:
enabled-trueto enable the alert using this configuration;falseto disable the alert.- Returns:
- this.
- See Also:
-
raiseAlertIfRedoLogSizeAbove
Raise an alert if the number of packets in the redo log is above the specified threshold.- Parameters:
highThreshold- high threshold redo-log size.- Returns:
- this.
- See Also:
-
resolveAlertIfRedoLogSizeBelow
Resolve a previously raised alert if the number of packets in the redo log goes below the specified threshold.- Parameters:
lowThreshold- low threshold size.- Returns:
- this.
- See Also:
-
create
Get a fully configured configuration (after all properties have been set).- Specified by:
createin interfaceBeanConfigurer<AlertConfiguration>- Returns:
- a fully configured alert bean configuration.
-