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 voidaddNode(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:
getNodesin interfaceAvailabilityDataService- Parameters:
category- aCategoryobject.startTime- a long.endTime- a long.- Returns:
- a
Listobject. - 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- aStringobject.nodeid- a int.ipaddr- aStringobject.serviceid- aStringobject.losttime- a long.regainedtime- a long.
-
-