站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 varia API Documentation 英文版文档

AlarmTableNotification (Various API) - JBoss 4.0.1 sp1 varia API Documentation 英文版文档


org.jboss.monitor.alarm
Class AlarmTableNotification

java.lang.Object
  extended byjava.util.EventObject
      extended byjavax.management.Notification
          extended byorg.jboss.monitor.alarm.AlarmNotification
              extended byorg.jboss.monitor.alarm.AlarmTableNotification
All Implemented Interfaces:
Serializable

public class AlarmTableNotification
extends AlarmNotification

AlarmTableNotification userData field, holds a reference to the source Notification

Version:
$Revision: 1.1.4.1 $
Author:
Dimitris Andreadis
See Also:
Serialized Form

Field Summary
static String ALARM_TABLE_UPDATE
          the type of AlarmTableNotification
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
AlarmTableNotification(AlarmTableNotification atn)
          Copy Constructor.
AlarmTableNotification(String type, Object source, long sequenceNumber, long timeStamp, String message, int alarmState, int severity, String serverId)
          CTOR, creates an AlarmTableNotification object Same restrictions with AlarmNotification apply
 
Method Summary
 Object createKey()
          Returns a key that can be used in AlarmTables (maps)
 boolean getAckState()
          Gets the acked/unacked status of the alarm
 String getAckSystem()
          Gets the system that performed the ack/unack
 long getAckTime()
          Gets the last time the alarm was acked/unacked
 String getAckUser()
          Gets the user that performed the ack/unack
 String getServerId()
          Gets serverId
 void setAckParams(boolean ackState, long ackTime, String ackUser, String ackSystem)
          Sets all ack parameters
 String toString()
          toString()
 
Methods inherited from class org.jboss.monitor.alarm.AlarmNotification
getAlarmState, getSeverity
 
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
 

Field Detail

ALARM_TABLE_UPDATE

public static final String ALARM_TABLE_UPDATE
the type of AlarmTableNotification

See Also:
Constant Field Values
Constructor Detail

AlarmTableNotification

public AlarmTableNotification(String type,
                              Object source,
                              long sequenceNumber,
                              long timeStamp,
                              String message,
                              int alarmState,
                              int severity,
                              String serverId)
CTOR, creates an AlarmTableNotification object Same restrictions with AlarmNotification apply


AlarmTableNotification

public AlarmTableNotification(AlarmTableNotification atn)
Copy Constructor. Note, userData is not deep copied!

Method Detail

getServerId

public String getServerId()
Gets serverId


getAckState

public boolean getAckState()
Gets the acked/unacked status of the alarm


getAckTime

public long getAckTime()
Gets the last time the alarm was acked/unacked


getAckUser

public String getAckUser()
Gets the user that performed the ack/unack


getAckSystem

public String getAckSystem()
Gets the system that performed the ack/unack


setAckParams

public void setAckParams(boolean ackState,
                         long ackTime,
                         String ackUser,
                         String ackSystem)
Sets all ack parameters


createKey

public Object createKey()
Returns a key that can be used in AlarmTables (maps)


toString

public String toString()
toString()

Overrides:
toString in class AlarmNotification


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.