org.opennms.netmgt.poller
Interface QueryManager
- All Known Implementing Classes:
- DefaultQueryManager
public interface QueryManager
- Author:
- brozow
TODO To change the template for this generated type comment go to Window -
Preferences - Java - Code Style - Code Templates
|
Method Summary |
boolean |
activeServiceExists(String whichEvent,
int nodeId,
String ipAddr,
String serviceName)
|
List<Integer> |
getActiveServiceIdsForInterface(String ipaddr)
|
List<IfKey> |
getInterfacesWithService(String svcName)
|
int |
getNodeIDForInterface(String ipaddr)
|
String |
getNodeLabel(int nodeId)
|
int |
getServiceCountForInterface(String ipaddr)
|
Date |
getServiceLostDate(int nodeId,
String ipAddr,
String svcName,
int serviceId)
|
void |
openOutage(String outageIdSQL,
int nodeId,
String ipAddr,
String svcName,
int dbid,
String time)
|
void |
reparentOutages(String ipAddr,
int oldNodeId,
int newNodeId)
|
void |
resolveOutage(int nodeId,
String ipAddr,
String svcName,
int dbid,
String time)
|
void |
setDbConnectionFactory(DataSource connectionFactory)
|
activeServiceExists
boolean activeServiceExists(String whichEvent,
int nodeId,
String ipAddr,
String serviceName)
- Parameters:
whichEvent - nodeId - ipAddr - serviceName -
- Returns:
getActiveServiceIdsForInterface
List<Integer> getActiveServiceIdsForInterface(String ipaddr)
throws SQLException
- Parameters:
ipaddr -
- Returns:
-
- Throws:
SQLException
getNodeIDForInterface
int getNodeIDForInterface(String ipaddr)
throws SQLException
- Parameters:
ipaddr -
- Returns:
-
- Throws:
SQLException
getNodeLabel
String getNodeLabel(int nodeId)
throws SQLException
- Parameters:
nodeId -
- Returns:
-
- Throws:
SQLException
getServiceCountForInterface
int getServiceCountForInterface(String ipaddr)
throws SQLException
- Parameters:
ipaddr -
- Returns:
-
- Throws:
SQLException
getInterfacesWithService
List<IfKey> getInterfacesWithService(String svcName)
throws SQLException
- Parameters:
svcName -
- Returns:
-
- Throws:
SQLException
getServiceLostDate
Date getServiceLostDate(int nodeId,
String ipAddr,
String svcName,
int serviceId)
- Parameters:
poller - nodeId - ipAddr - svcName -
- Returns:
setDbConnectionFactory
void setDbConnectionFactory(DataSource connectionFactory)
- Parameters:
connectionFactory -
openOutage
void openOutage(String outageIdSQL,
int nodeId,
String ipAddr,
String svcName,
int dbid,
String time)
- Parameters:
nodeId - ipAddr - svcName - TODOdbid - time -
resolveOutage
void resolveOutage(int nodeId,
String ipAddr,
String svcName,
int dbid,
String time)
- Parameters:
nodeId - ipAddr - svcName - TODOdbid - time -
reparentOutages
void reparentOutages(String ipAddr,
int oldNodeId,
int newNodeId)
- Parameters:
ipAddr - oldNodeId - newNodeId -
Copyright © 2008. All Rights Reserved.