Class LegacyAvailabilityDataService
- java.lang.Object
-
- org.opennms.reporting.availability.svclayer.LegacyAvailabilityDataService
-
- All Implemented Interfaces:
AvailabilityDataService
public class LegacyAvailabilityDataService extends java.lang.Object implements AvailabilityDataService
LegacyAvailabilityDataService class.
-
-
Constructor Summary
Constructors Constructor Description LegacyAvailabilityDataService()
Constructor for LegacyAvailabilityDataService.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addNode(java.lang.String nodeName, int nodeid, java.lang.String ipaddr, java.lang.String serviceid, long losttime, long regainedtime)
This method adds a unique tuple to the list of nodes m_nodes.java.util.List<Node>
getNodes(Category category, long startTime, long endTime)
getNodes
-
-
-
Method Detail
-
getNodes
public java.util.List<Node> getNodes(Category category, long startTime, long endTime) throws AvailabilityDataServiceException
getNodes
- Specified by:
getNodes
in interfaceAvailabilityDataService
- Parameters:
category
- aCategory
object.startTime
- a long.endTime
- a long.- Returns:
- a
List
object. - Throws:
AvailabilityDataServiceException
- if any.
-
addNode
public void addNode(java.lang.String nodeName, int nodeid, java.lang.String ipaddr, java.lang.String serviceid, long losttime, long regainedtime)
This method adds a unique tuple to the list of nodes m_nodes.- Parameters:
nodeName
- aString
object.nodeid
- a int.ipaddr
- aString
object.serviceid
- aString
object.losttime
- a long.regainedtime
- a long.
-
-