Interface AlertConfiguration

All Superinterfaces:
BeanConfig
All Known Implementing Classes:
CpuUtilizationAlertConfiguration, GarbageCollectionAlertConfiguration, HeapMemoryUtilizationAlertConfiguration, MirrorPersistenceFailureAlertConfiguration, PhysicalMemoryUtilizationAlertConfiguration, ProcessingUnitInstanceMemberAliveIndicatorAlertConfiguration, ProvisionFailureAlertConfiguration, ReplicationChannelDisconnectedAlertConfiguration, ReplicationRedoLogOverflowToDiskAlertConfiguration, ReplicationRedoLogSizeAlertConfiguration, SpacePartitionSplitBrainAlertConfiguration

public interface AlertConfiguration extends BeanConfig
A configuration of an alert trigger. The configuration consists of a weakly typed configuration API based on String key-value pairs to configure an alert trigger. An enabled configuration means that alerts may be triggered based on this configuration. A disabled configuration means that alerts will not be triggered until enabled.

Implementors of this interface can provide more strongly typed API to enforce type-safety and argument verifications.

An AlertConfiguration may be parsed by an AlertConfigurationParser. For example, using the XmlAlertConfigurationParser which it's AlertConfigurationParser.parse() method returns an array of configurations to be passed to AlertManager.configure(AlertConfiguration[]).

Since:
8.0
Author:
Moran Avigdor
See Also:
  • Method Details

    • isEnabled

      boolean isEnabled()
      Returns:
      true if this alert is enabled; false if this alert is currently disabled.
    • setEnabled

      void setEnabled(boolean enabled)
      Parameters:
      enabled - true if this alert should be enabled; false if this alert should be disabled.