|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.report.availability.AvailabilityData
public class AvailabilityData
AvailabilityData collects all the outages for all node/ip/service combination and stores it appropriately in the m_nodes structure.
| Constructor Summary | |
|---|---|
AvailabilityData(String categoryName,
Report report,
String monthFormat,
Calendar calendar,
String startMonth,
String startDate,
String startYear)
|
|
AvailabilityData(String categoryName,
Report report,
String format,
String monthFormat,
Calendar calendar,
Date periodEndDate)
|
|
AvailabilityData(String categoryName,
Report report,
String format,
String monthFormat,
Calendar calendar,
String startMonth,
String startDate,
String startYear)
|
|
| Method Summary | |
|---|---|
void |
addNode(String nodeName,
int nodeid,
String ipaddr,
String serviceid,
long losttime,
long regainedtime)
This method adds a unique tuple to the list of nodes m_nodes. |
void |
closeConnection()
Closes the database connection. |
List<Node> |
getNodes()
Returns the nodes. |
TreeMap<Double,List<String>> |
getPercentNode()
Returns percent/node combinations for the last month. |
void |
initialiseConnection()
Initializes the database connection. |
void |
initializeInterval(Calendar calendar,
Date periodEndDate)
Initialize the endTime, start Time, last Months end time and number of days in the last month. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AvailabilityData(String categoryName,
Report report,
String monthFormat,
Calendar calendar,
String startMonth,
String startDate,
String startYear)
throws IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException,
Exception
IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
Exception
public AvailabilityData(String categoryName,
Report report,
String format,
String monthFormat,
Calendar calendar,
String startMonth,
String startDate,
String startYear)
throws IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException,
Exception
IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
Exception
public AvailabilityData(String categoryName,
Report report,
String format,
String monthFormat,
Calendar calendar,
Date periodEndDate)
throws IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException,
Exception
IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
Exception| Method Detail |
|---|
public void initializeInterval(Calendar calendar,
Date periodEndDate)
public List<Node> getNodes()
public void initialiseConnection()
throws IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException,
ClassNotFoundException,
SQLException
IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
ClassNotFoundException
SQLExceptionpublic void closeConnection()
public TreeMap<Double,List<String>> getPercentNode()
public void addNode(String nodeName,
int nodeid,
String ipaddr,
String serviceid,
long losttime,
long regainedtime)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||