GigaSpaces XAP 9.7.2 API

org.openspaces.admin.alert.config
Interface AlertConfiguration

All Superinterfaces:
BeanConfig
All Known Implementing Classes:
CpuUtilizationAlertConfiguration, ElasticAutoScalingAlertConfiguration, ElasticGridServiceAgentProvisioningAlertConfiguration, ElasticGridServiceContainerProvisioningAlertConfiguration, ElasticMachineProvisioningAlertConfiguration, GarbageCollectionAlertConfiguration, HeapMemoryUtilizationAlertConfiguration, MirrorPersistenceFailureAlertConfiguration, PhysicalMemoryUtilizationAlertConfiguration, ProcessingUnitInstanceMemberAliveIndicatorAlertConfiguration, ProvisionFailureAlertConfiguration, ReplicationChannelDisconnectedAlertConfiguration, ReplicationRedoLogOverflowToDiskAlertConfiguration, ReplicationRedoLogSizeAlertConfiguration

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

Method Summary
 boolean isEnabled()
           
 void setEnabled(boolean enabled)
           
 
Methods inherited from interface org.openspaces.admin.bean.BeanConfig
getBeanClassName, getProperties, setProperties
 

Method Detail

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.

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.