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 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.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:
getNodes
in interfaceAvailabilityDataService
- Parameters:
category
- aCategory
object.startTime
- a long.endTime
- a long.- Returns:
- a
List
object. - Throws:
AvailabilityDataServiceException
- if any.
-
-