public class ReplicationRedoLogSizeAlertConfigurer extends Object implements AlertConfigurer
Use
the call to create()
to create a fully initialized ReplicationRedoLogSizeAlertConfiguration
configuration.
ReplicationRedoLogSizeAlertConfiguration
Constructor and Description |
---|
ReplicationRedoLogSizeAlertConfigurer()
Constructs an empty alert configuration.
|
Modifier and Type | Method and Description |
---|---|
ReplicationRedoLogSizeAlertConfiguration |
create()
Get a fully configured configuration (after all properties have been set).
|
ReplicationRedoLogSizeAlertConfigurer |
enable(boolean enabled)
Enable an alert using this configuration.
|
ReplicationRedoLogSizeAlertConfigurer |
raiseAlertIfRedoLogSizeAbove(int highThreshold)
Raise an alert if the number of packets in the redo log is above the specified threshold.
|
ReplicationRedoLogSizeAlertConfigurer |
resolveAlertIfRedoLogSizeBelow(int lowThreshold)
Resolve a previously raised alert if the number of packets in the redo log goes below the
specified threshold.
|
public ReplicationRedoLogSizeAlertConfigurer()
public ReplicationRedoLogSizeAlertConfigurer enable(boolean enabled)
AlertConfigurer
enable
in interface AlertConfigurer
enabled
- true
to enable the alert using this configuration;
false
to disable the alert.AlertConfiguration.setEnabled(boolean)
public ReplicationRedoLogSizeAlertConfigurer raiseAlertIfRedoLogSizeAbove(int highThreshold)
highThreshold
- high threshold redo-log size.ReplicationRedoLogSizeAlertConfiguration.setHighThresholdRedoLogSize(int)
public ReplicationRedoLogSizeAlertConfigurer resolveAlertIfRedoLogSizeBelow(int lowThreshold)
lowThreshold
- low threshold size.ReplicationRedoLogSizeAlertConfiguration.setLowThresholdRedoLogSize(int)
public ReplicationRedoLogSizeAlertConfiguration create()
create
in interface BeanConfigurer<AlertConfiguration>
Copyright © GigaSpaces.