Interface AlertConfiguration
- All Superinterfaces:
BeanConfig
- All Known Implementing Classes:
CpuUtilizationAlertConfiguration,GarbageCollectionAlertConfiguration,HeapMemoryUtilizationAlertConfiguration,MirrorPersistenceFailureAlertConfiguration,PhysicalMemoryUtilizationAlertConfiguration,ProcessingUnitInstanceMemberAliveIndicatorAlertConfiguration,ProvisionFailureAlertConfiguration,ReplicationChannelDisconnectedAlertConfiguration,ReplicationRedoLogOverflowToDiskAlertConfiguration,ReplicationRedoLogSizeAlertConfiguration,SpacePartitionSplitBrainAlertConfiguration
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 Summary
Methods inherited from interface org.openspaces.admin.bean.BeanConfig
getBeanClassName, getProperties, setProperties
-
Method Details
-
isEnabled
boolean isEnabled()- Returns:
trueif this alert is enabled;falseif this alert is currently disabled.
-
setEnabled
void setEnabled(boolean enabled) - Parameters:
enabled-trueif this alert should be enabled;falseif this alert should be disabled.
-