GigaSpaces XAP 9.7.2 API

org.openspaces.admin.alert.config
Class ReplicationRedoLogSizeAlertConfigurer

java.lang.Object
  extended by org.openspaces.admin.alert.config.ReplicationRedoLogSizeAlertConfigurer
All Implemented Interfaces:
AlertConfigurer, BeanConfigurer<AlertConfiguration>

public class ReplicationRedoLogSizeAlertConfigurer
extends Object
implements AlertConfigurer

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:
ReplicationRedoLogSizeAlertConfiguration

Constructor Summary
ReplicationRedoLogSizeAlertConfigurer()
          Constructs an empty alert configuration.
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReplicationRedoLogSizeAlertConfigurer

public ReplicationRedoLogSizeAlertConfigurer()
Constructs an empty alert configuration.

Method Detail

enable

public ReplicationRedoLogSizeAlertConfigurer enable(boolean enabled)
Description copied from interface: AlertConfigurer
Enable an alert using this configuration. By default an alert is disabled.

Specified by:
enable in interface AlertConfigurer
Parameters:
enabled - true to enable the alert using this configuration; false to disable the alert.
Returns:
this.
See Also:
AlertConfiguration.setEnabled(boolean)

raiseAlertIfRedoLogSizeAbove

public ReplicationRedoLogSizeAlertConfigurer raiseAlertIfRedoLogSizeAbove(int highThreshold)
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:
ReplicationRedoLogSizeAlertConfiguration.setHighThresholdRedoLogSize(int)

resolveAlertIfRedoLogSizeBelow

public ReplicationRedoLogSizeAlertConfigurer resolveAlertIfRedoLogSizeBelow(int lowThreshold)
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:
ReplicationRedoLogSizeAlertConfiguration.setLowThresholdRedoLogSize(int)

create

public ReplicationRedoLogSizeAlertConfiguration create()
Get a fully configured configuration (after all properties have been set).

Specified by:
create in interface BeanConfigurer<AlertConfiguration>
Returns:
a fully configured alert bean configuration.

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.