站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > 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
  extended byjava.util.EventObject
      extended byjavax.management.Notification
          extended byorg.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

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
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
 
Method Summary
 int getAlarmState()
          Gets alarm state
 int getSeverity()
          Gets alarm severity
 String toString()
          toString()
 
Methods inherited from class javax.management.Notification
getMessage, getSequenceNumber, getSource, getTimeStamp, getType, getUserData, setSequenceNumber, setSource, setTimeStamp, setUserData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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

Method Detail

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.