GigaSpaces XAP 9.7.2 API

org.openspaces.admin.alert.config
Class ReplicationRedoLogSizeAlertConfiguration

java.lang.Object
  extended by org.openspaces.admin.alert.config.ReplicationRedoLogSizeAlertConfiguration
All Implemented Interfaces:
AlertConfiguration, BeanConfig

public class ReplicationRedoLogSizeAlertConfiguration
extends Object
implements AlertConfiguration

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

Field Summary
static String HIGH_THRESHOLD_REDO_LOG_SIZE_KEY
          High threshold for redo-log size.
static String LOW_THRESHOLD_REDO_LOG_SIZE_KEY
          Low threshold for redo-log size.
 
Constructor Summary
ReplicationRedoLogSizeAlertConfiguration()
          Constructs an empty configuration.
 
Method Summary
 String getBeanClassName()
          The Bean implementation class name corresponding to this BeanConfig.
 Integer getHighThresholdRedoLogSize()
           
 Integer getLowThresholdRedoLogSize()
           
 Map<String,String> getProperties()
          Get the String key-value pairs properties used to configure this bean.
 boolean isEnabled()
          
 void setEnabled(boolean enabled)
          
 void setHighThresholdRedoLogSize(int highThreshold)
          Set the high threshold redo-log size value - the number of packets in the redo log.
 void setLowThresholdRedoLogSize(int lowThreshold)
          Set the low threshold redo-log size value.
 void setProperties(Map<String,String> properties)
          Set with String key-value pairs to configure properties belonging to this bean.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HIGH_THRESHOLD_REDO_LOG_SIZE_KEY

public static final String 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:
Constant Field Values

LOW_THRESHOLD_REDO_LOG_SIZE_KEY

public static final String 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:
Constant Field Values
Constructor Detail

ReplicationRedoLogSizeAlertConfiguration

public ReplicationRedoLogSizeAlertConfiguration()
Constructs an empty configuration.

Method Detail

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

public Integer 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

public Integer getLowThresholdRedoLogSize()
Returns:
the low threshold redo-log size

setProperties

public void setProperties(Map<String,String> properties)
Set with String key-value pairs to configure properties belonging to this bean. Overrides all previously set properties.

Specified by:
setProperties in interface BeanConfig
Parameters:
properties - the properties to configure this bean object.

getProperties

public Map<String,String> getProperties()
Get the String key-value pairs properties used to configure this bean.

Specified by:
getProperties in interface BeanConfig
Returns:
the properties used to configure this bean object.

getBeanClassName

public String getBeanClassName()
The Bean implementation class name corresponding to this BeanConfig.

Specified by:
getBeanClassName in interface BeanConfig
Returns:
the name of the admin Bean implementation class.

isEnabled

public boolean isEnabled()

Specified by:
isEnabled in interface AlertConfiguration
Returns:
true if this alert is enabled; false if this alert is currently disabled.

setEnabled

public void setEnabled(boolean enabled)

Specified by:
setEnabled in interface AlertConfiguration
Parameters:
enabled - true if this alert should be enabled; false if this alert should be disabled.

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.