当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 varia API Documentation 英文版文档
AlarmNotification (Various API) - JBoss 4.0.1 sp1 varia API Documentation 英文版文档
org.jboss.monitor.alarm
Class AlarmNotification
java.lang.Object
java.util.EventObject
javax.management.Notification
org.jboss.monitor.alarm.AlarmNotification
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- AlarmTableNotification
- public class AlarmNotification
- extends javax.management.Notification
AlarmNotification
- Version:
- $Revision: 1.1.4.1 $
- Author:
- Dimitris Andreadis
- See Also:
- Serialized Form
Constructor Summary |
AlarmNotification(String type,
Object source,
long sequenceNumber,
long timeStamp,
String message,
int alarmState,
int severity)
Complete CTOR, creates an AlarmNotification object
Note:
STATE_CLEARED forces severity to SEVERITY_NORMAL
STATE_CREATED/CHANGED have valid severities WARNING to UNKNOWN
STATE_NONE has valid severities NORMAL to UNKNOWN
Also:
Out-of-range states are mapped to STATE_NONE
Out-of-range severities are mapped to SEVERITY_UNKNOWN |
Methods inherited from class javax.management.Notification |
getMessage, getSequenceNumber, getSource, getTimeStamp, getType, getUserData, setSequenceNumber, setSource, setTimeStamp, setUserData |
AlarmNotification
public AlarmNotification(String type,
Object source,
long sequenceNumber,
long timeStamp,
String message,
int alarmState,
int severity)
- Complete CTOR, creates an AlarmNotification object
Note:
STATE_CLEARED forces severity to SEVERITY_NORMAL
STATE_CREATED/CHANGED have valid severities WARNING to UNKNOWN
STATE_NONE has valid severities NORMAL to UNKNOWN
Also:
Out-of-range states are mapped to STATE_NONE
Out-of-range severities are mapped to SEVERITY_UNKNOWN
getSeverity
public int getSeverity()
- Gets alarm severity
getAlarmState
public int getAlarmState()
- Gets alarm state
toString
public String toString()
- toString()
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.