public interface QueryManager
QueryManager interface.
Modifier and Type | Method and Description |
---|---|
boolean |
activeServiceExists(String whichEvent,
int nodeId,
String ipAddr,
String serviceName)
activeServiceExists
|
List<Integer> |
getActiveServiceIdsForInterface(String ipaddr)
getActiveServiceIdsForInterface
|
String[] |
getCriticalPath(int nodeId)
getCriticalPath
|
DataSource |
getDataSource()
Deprecated.
|
List<IfKey> |
getInterfacesWithService(String svcName)
getInterfacesWithService
|
int |
getNodeIDForInterface(String ipaddr)
getNodeIDForInterface
|
String |
getNodeLabel(int nodeId)
getNodeLabel
|
List<String[]> |
getNodeServices(int nodeId) |
int |
getServiceCountForInterface(String ipaddr)
getServiceCountForInterface
|
Date |
getServiceLostDate(int nodeId,
String ipAddr,
String svcName,
int serviceId)
getServiceLostDate
|
void |
openOutage(String outageIdSQL,
int nodeId,
String ipAddr,
String svcName,
int dbid,
String time)
openOutage
|
void |
reparentOutages(String ipAddr,
int oldNodeId,
int newNodeId)
reparentOutages
|
void |
resolveOutage(int nodeId,
String ipAddr,
String svcName,
int dbid,
String time)
resolveOutage
|
void |
setDataSource(DataSource dataSource)
setDataSource
|
boolean activeServiceExists(String whichEvent, int nodeId, String ipAddr, String serviceName)
activeServiceExists
List<Integer> getActiveServiceIdsForInterface(String ipaddr) throws SQLException
getActiveServiceIdsForInterface
ipaddr
- a String
object.List
object.SQLException
- if any.int getNodeIDForInterface(String ipaddr) throws SQLException
getNodeIDForInterface
ipaddr
- a String
object.SQLException
- if any.String getNodeLabel(int nodeId) throws SQLException
getNodeLabel
nodeId
- a int.String
object.SQLException
- if any.int getServiceCountForInterface(String ipaddr) throws SQLException
getServiceCountForInterface
ipaddr
- a String
object.SQLException
- if any.List<IfKey> getInterfacesWithService(String svcName) throws SQLException
getInterfacesWithService
svcName
- a String
object.List
object.SQLException
- if any.Date getServiceLostDate(int nodeId, String ipAddr, String svcName, int serviceId)
getServiceLostDate
void setDataSource(DataSource dataSource)
setDataSource
dataSource
- a DataSource
object.@Deprecated DataSource getDataSource()
getDataSource
DataSource
object.void openOutage(String outageIdSQL, int nodeId, String ipAddr, String svcName, int dbid, String time)
openOutage
void resolveOutage(int nodeId, String ipAddr, String svcName, int dbid, String time)
resolveOutage
void reparentOutages(String ipAddr, int oldNodeId, int newNodeId)
reparentOutages
ipAddr
- a String
object.oldNodeId
- a int.newNodeId
- a int.String[] getCriticalPath(int nodeId)
getCriticalPath
nodeId
- a int.String
objects.Copyright © 2015. All Rights Reserved.