Class LegacyAvailabilityDataService
- java.lang.Object
-
- org.opennms.reporting.availability.svclayer.LegacyAvailabilityDataService
-
- All Implemented Interfaces:
AvailabilityDataService
public class LegacyAvailabilityDataService extends 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(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.List<Node>getNodes(Category category, long startTime, long endTime)getNodes
-
-
-
Method Detail
-
getNodes
public 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.
-
-