org.opennms.reporting.availability.svclayer
Class LegacyAvailabilityDataService

java.lang.Object
  extended by org.opennms.reporting.availability.svclayer.LegacyAvailabilityDataService
All Implemented Interfaces:
AvailabilityDataService

public class LegacyAvailabilityDataService
extends Object
implements AvailabilityDataService

LegacyAvailabilityDataService class.

Version:
$Id: $
Author:
ranger

Constructor Summary
LegacyAvailabilityDataService()
          Constructor for LegacyAvailabilityDataService.
 
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.
 List<Node> getNodes(Category category, long startTime, long endTime)
          getNodes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LegacyAvailabilityDataService

public LegacyAvailabilityDataService()

Constructor for LegacyAvailabilityDataService.

Method Detail

getNodes

public List<Node> getNodes(Category category,
                           long startTime,
                           long endTime)
                    throws AvailabilityDataServiceException

getNodes

Specified by:
getNodes in interface AvailabilityDataService
Parameters:
category - a Category object.
startTime - a long.
endTime - a long.
Returns:
a List object.
Throws:
AvailabilityDataServiceException - if any.

addNode

public 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.

Parameters:
nodeName - a String object.
nodeid - a int.
ipaddr - a String object.
serviceid - a String object.
losttime - a long.
regainedtime - a long.


Copyright © 2011. All Rights Reserved.