Class ReplicationChannelDisconnectedAlertConfiguration

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

public class ReplicationChannelDisconnectedAlertConfiguration extends Object implements AlertConfiguration
A replication channel disconnection alert configuration. The alert is raised if a replication channel connection between a source (primary) and it's target (backup/mirror) has been disconnected. The alert is resolved once the connection is re-established.
Since:
8.0
Author:
Moran Avigdor
See Also:
  • Constructor Details

    • ReplicationChannelDisconnectedAlertConfiguration

      public ReplicationChannelDisconnectedAlertConfiguration()
      Constructs an empty replication channel disconnection configuration.
  • Method Details

    • 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.