| java.lang.Object org.jboss.monitor.alarm.AlarmTable
AlarmTable | public AlarmTable(ServiceMBeanSupport service)(Code) | | CTOR
Parameters: service - hosting the AlarmManager |
acknowledge | public boolean acknowledge(String alarmId, String user, String system)(Code) | | Acknowledge an Alarm
true if ack was succesful, false otherwise(not in table or acked already) |
getAlarmSize | public int getAlarmSize()(Code) | | Gets the number of entries in the table
|
getMaxSize | public int getMaxSize()(Code) | | Gets the maximum number of entries to keep
|
getServerId | public String getServerId()(Code) | | Gets the serverId
|
setMaxSize | public void setMaxSize(int maxSize)(Code) | | Sets the maximum number of entries to keep
-1 equals to no limit.
|
setServerId | public void setServerId(String serverId)(Code) | | Sets the serverId
|
unacknowledge | public boolean unacknowledge(String alarmId, String user, String system)(Code) | | Unacknowledge an Alarm
true if unack was succesful, false otherwise(not in table or unacked already) |
update | public void update(Notification n)(Code) | | Update the AlarmTable based on the incoming Notification
|
|
|