Examples of AlarmTableNotification


Examples of org.jboss.monitor.alarm.AlarmTableNotification

      AlarmTableNotification[] atns = almtab.getAlarmTable();
      int acked = 0;
     
      for (int i = 0; i < atns.length; ++i)
      {
         AlarmTableNotification atn = atns[i];
         String alarmId = atn.getAlarmId();
         if (almtab.acknowledge(alarmId, user, system))
         {
            ++acked;
         }
      }
View Full Code Here

Examples of org.jboss.monitor.alarm.AlarmTableNotification

      AlarmTableNotification[] atns = almtab.getAlarmTable();
      int unacked = 0;
     
      for (int i = 0; i < atns.length; ++i)
      {
         AlarmTableNotification atn = atns[i];
         String alarmId = atn.getAlarmId();        
         if (almtab.unacknowledge(alarmId, user, system))
         {
            ++unacked;
         }
      }
View Full Code Here

Examples of org.jboss.monitor.alarm.AlarmTableNotification

      sbuf.append("<th>NotificationInfo</th>");
      sbuf.append("</tr>").append("\n");
     
      for (int i = 0; i <  tab.length; i++)
      {
         AlarmTableNotification atn = tab[i];
         Notification n = (Notification)atn.getUserData();
         Object source = AlarmNotification.getEffectiveSource(n);
        
         sbuf.append("<tr>");
         sbuf.append("<td>")
            .append("alarmId: ").append(atn.getAlarmId()).append("<br><br>")
            .append("severity: ").append(AlarmHelper.getSeverityAsString(atn.getSeverity())).append("<br>")
            .append("alarmState: ").append(AlarmHelper.getStateAsString(atn.getAlarmState())).append("<br><br>")
            .append("ackState: ").append(atn.getAckState()).append("<br><br>")
            .append("ackTime: ").append(atn.getAckTime()).append("<br>")
            .append("ackUser: ").append(atn.getAckUser()).append("<br>")
            .append("ackSystem: ").append(atn.getAckSystem()).append("</td>");        
         sbuf.append("<td>")
            .append("source: ").append(source).append("<br>")
            .append("type: ").append(n.getType()).append("<br>")
            .append("timeStamp: ").append(n.getTimeStamp()).append("<br>")
            .append("sequenceNumber: ").append(n.getSequenceNumber()).append("<br><br>")
View Full Code Here

Examples of org.jboss.monitor.alarm.AlarmTableNotification

      AlarmTableNotification[] atns = almtab.getAlarmTable();
      int acked = 0;
     
      for (int i = 0; i < atns.length; ++i)
      {
         AlarmTableNotification atn = atns[i];
         String alarmId = atn.getAlarmId();
         if (almtab.acknowledge(alarmId, user, system))
         {
            ++acked;
         }
      }
View Full Code Here

Examples of org.jboss.monitor.alarm.AlarmTableNotification

      AlarmTableNotification[] atns = almtab.getAlarmTable();
      int unacked = 0;
     
      for (int i = 0; i < atns.length; ++i)
      {
         AlarmTableNotification atn = atns[i];
         String alarmId = atn.getAlarmId();        
         if (almtab.unacknowledge(alarmId, user, system))
         {
            ++unacked;
         }
      }
View Full Code Here

Examples of org.jboss.monitor.alarm.AlarmTableNotification

      sbuf.append("<th>NotificationInfo</th>");
      sbuf.append("</tr>").append("\n");
     
      for (int i = 0; i <  tab.length; i++)
      {
         AlarmTableNotification atn = tab[i];
         Notification n = (Notification)atn.getUserData();
         Object source = AlarmNotification.getEffectiveSource(n);
        
         sbuf.append("<tr>");
         sbuf.append("<td>")
            .append("alarmId: ").append(atn.getAlarmId()).append("<br><br>")
            .append("severity: ").append(AlarmHelper.getSeverityAsString(atn.getSeverity())).append("<br>")
            .append("alarmState: ").append(AlarmHelper.getStateAsString(atn.getAlarmState())).append("<br><br>")
            .append("ackState: ").append(atn.getAckState()).append("<br><br>")
            .append("ackTime: ").append(atn.getAckTime()).append("<br>")
            .append("ackUser: ").append(atn.getAckUser()).append("<br>")
            .append("ackSystem: ").append(atn.getAckSystem()).append("</td>");        
         sbuf.append("<td>")
            .append("source: ").append(source).append("<br>")
            .append("type: ").append(n.getType()).append("<br>")
            .append("timeStamp: ").append(n.getTimeStamp()).append("<br>")
            .append("sequenceNumber: ").append(n.getSequenceNumber()).append("<br><br>")
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.