|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.monitor.alarm.AlarmTable
public class AlarmTable
AlarmTable
Field Summary | |
---|---|
protected MBeanImplAccess |
mbeanImpl
Mediates the related MBean |
Constructor Summary | |
---|---|
AlarmTable(MBeanImplAccess mbeanImpl)
CTOR |
|
AlarmTable(org.jboss.system.ServiceMBeanSupport service)
CTOR |
Method Summary | |
---|---|
boolean |
acknowledge(String alarmId,
String user,
String system)
Acknowledge an Alarm |
int |
getAlarmSize()
Gets the number of entries in the table |
AlarmTableNotification[] |
getAlarmTable()
Gets a copy of the AlarmTable |
int |
getMaxSize()
Gets the maximum number of entries to keep |
String |
getServerId()
Gets the serverId |
void |
setMaxSize(int maxSize)
Sets the maximum number of entries to keep -1 equals to no limit. |
void |
setServerId(String serverId)
Sets the serverId |
boolean |
unacknowledge(String alarmId,
String user,
String system)
Unacknowledge an Alarm |
void |
update(javax.management.Notification n)
Update the AlarmTable based on the incoming Notification |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected MBeanImplAccess mbeanImpl
Constructor Detail |
---|
public AlarmTable(MBeanImplAccess mbeanImpl)
public AlarmTable(org.jboss.system.ServiceMBeanSupport service)
service
- hosting the AlarmManagerMethod Detail |
---|
public void setServerId(String serverId)
public String getServerId()
public void setMaxSize(int maxSize)
public int getMaxSize()
public void update(javax.management.Notification n)
public boolean acknowledge(String alarmId, String user, String system)
public boolean unacknowledge(String alarmId, String user, String system)
public AlarmTableNotification[] getAlarmTable()
public int getAlarmSize()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |