1 22 package org.jboss.monitor.services; 23 24 import javax.management.ObjectName ; 25 26 import org.jboss.monitor.alarm.AlarmTableNotification; 27 import org.jboss.mx.util.ObjectNameFactory; 28 import org.jboss.system.ListenerServiceMBean; 29 30 36 public interface ActiveAlarmTableMBean extends ListenerServiceMBean 37 { 38 ObjectName OBJECT_NAME = ObjectNameFactory.create("jboss.monitor:service=ActiveAlarmTable"); 39 40 42 45 void setServerId(String serverId); 46 String getServerId(); 47 48 51 void setLogLevel(String logLevel); 52 String getLogLevel(); 53 54 57 void setMaxTableSize(int maxSize); 58 int getMaxTableSize(); 59 60 63 long getNotificationsReceived(); 64 65 68 int getActiveAlarmCount(); 69 70 72 76 int acknowledgeAll(String user, String system); 77 78 82 int unacknowledgeAll(String user, String system); 83 84 88 boolean acknowledge(String alarmId, String user, String system); 89 90 94 boolean unacknowledge(String alarmId, String user, String system); 95 96 99 AlarmTableNotification[] fetchAlarmTable(); 100 101 104 String fetchAlarmTableAsHtml(); 105 106 } 107 | Popular Tags |