9 Jun 2004 02:10
[opennms-cvs] CVS: opennms/src/web/src/org/opennms/web/outage OutageModel.java,1.7,1.8
Tarus Balog <tarus <at> users.sourceforge.net>
2004-06-09 00:10:05 GMT
2004-06-09 00:10:05 GMT
Update of /cvsroot/opennms/opennms/src/web/src/org/opennms/web/outage
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6184
Modified Files:
OutageModel.java
Log Message:
Added a bit to help Harrah's with their SDS machines. Won't be called
unless set in the .jsp. -Tarus
Index: OutageModel.java
===================================================================
RCS file: /cvsroot/opennms/opennms/src/web/src/org/opennms/web/outage/OutageModel.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- OutageModel.java 4 Apr 2004 12:41:28 -0000 1.7
+++ OutageModel.java 9 Jun 2004 00:09:44 -0000 1.8
<at> <at> -385,6 +385,47 <at> <at>
return summaries;
}
+ /**
+ * Return a list of IP addresses, the number of services down on each
+ * IP address, and the longest time a service has been down for each
+ * IP address. The list will be sorted in ascending order from the
+ * service down longest to the service down shortest. This is a clone
+ * of getCurrentOutageSummaries for Harrah's (special consideration).
+ */
+ public OutageSummary[] getCurrentSDSOutageSummaries() throws SQLException {
+ OutageSummary[] summaries = new OutageSummary[0];
(Continue reading)
RSS Feed