org.opennms.report.availability
Class AvailCalculations
java.lang.Object
org.opennms.report.availability.AvailCalculations
public class AvailCalculations
- extends java.lang.Object
AvailCalculations does all computations for all reports for a category. The
types include Last 30 days daily availability Last 30 days total availability
Last 30 days daily service availability Last Months Top 20 offenders Last
Months Top 20 Service outages Last N Months Availability Last Months Daily
Availability Last Months Total Availability Last Months Daily Service
Availability Month To Date Daily Availability Month To Date Total
Availability
- Author:
- Jacinta Remedios , Oculan
|
Constructor Summary |
AvailCalculations(java.util.List nodes,
long endTime,
long lastMonthEndTime,
java.util.List monitoredServices,
Report report,
java.util.TreeMap offenders,
double warning,
double normal,
java.lang.String comments,
java.lang.String name,
java.lang.String format,
java.lang.String monthFormat,
int catIndex,
int sectionIndex)
Constructor |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AvailCalculations
public AvailCalculations(java.util.List nodes,
long endTime,
long lastMonthEndTime,
java.util.List monitoredServices,
Report report,
java.util.TreeMap offenders,
double warning,
double normal,
java.lang.String comments,
java.lang.String name,
java.lang.String format,
java.lang.String monthFormat,
int catIndex,
int sectionIndex)
- Constructor
- Parameters:
nodes - List of nodesendTime - End time ( end of yesterday in milliseconds)lastMonthEndTime - Last months end time (end of the last day of last month in
milliseconds)monitoredServices - Monitored services belonging to the category.report - Castor Report class.offenders - Map of all offenders -- percent/(list of node) pairsformat - Value can be "SVG / all"
getSectionIndex
public int getSectionIndex()
Copyright © 2007. All Rights Reserved.