⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 querymanager.java

📁 opennms得相关源码 请大家看看
💻 JAVA
字号:
/* * Created on Nov 14, 2004 * * TODO To change the template for this generated file go to * Window - Preferences - Java - Code Style - Code Templates */package org.opennms.netmgt.poller;import java.sql.SQLException;import java.util.Date;import java.util.List;import java.util.Map;import org.opennms.netmgt.config.DbConnectionFactory;/** * @author brozow *  * TODO To change the template for this generated type comment go to Window - * Preferences - Java - Code Style - Code Templates */public interface QueryManager {    /**     * @param whichEvent     * @param nodeId     * @param ipAddr     * @param serviceName     * @return     */    public boolean activeServiceExists(String whichEvent, int nodeId, String ipAddr, String serviceName);    /**     * @param nameToId     * @param idToName     * @return     */    public void buildServiceNameToIdMaps(Map nameToId, Map idToName);    /**     * @param ipaddr     * @return     * @throws SQLException     */    public List getActiveServiceIdsForInterface(String ipaddr) throws SQLException;    /**     * @param ipaddr     * @return     * @throws SQLException     */    public int getNodeIDForInterface(String ipaddr) throws SQLException;    /**     * @param nodeId     * @return     * @throws SQLException     */    public String getNodeLabel(int nodeId) throws SQLException;    /**     * @param ipaddr     * @return     * @throws SQLException     */    public int getServiceCountForInterface(String ipaddr) throws SQLException;    /**     * @param svcName     * @return     * @throws SQLException     */    public List getInterfacesWithService(String svcName) throws SQLException;    /**     * @param poller     * @param nodeId     * @param ipAddr     * @param svcName     * @return     */    public Date getServiceLostDate(int nodeId, String ipAddr, String svcName, int serviceId);    /**     * @param connectionFactory     */    public void setDbConnectionFactory(DbConnectionFactory connectionFactory);    /**     * @param nodeId     * @param ipAddr     * @param serviceId     * @param dbid     * @param time     */    public void openOutage(String outageIdSQL, int nodeId, String ipAddr, int serviceId, int dbid, String time);    /**     * @param nodeId     * @param ipAddr     * @param serviceId     * @param dbid     * @param time     */    public void resolveOutage(int nodeId, String ipAddr, int serviceId, int dbid, String time);    /**     * @param ipAddr     * @param oldNodeId     * @param newNodeId     */    public void reparentOutages(String ipAddr, int oldNodeId, int newNodeId);}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -