Ejemplo n.º 1
0
  /**
   * Method that uses info in hash snmpprimaryip2nodes and also save info into database. This method
   * is called by DiscoveryLink after all stuff is done
   *
   * @param discover
   */
  void updateDiscoveryLinkCollection(final DiscoveryLink discover) {

    try {
      m_queryMgr.storeDiscoveryLink(discover);
    } catch (SQLException e) {
      LogUtils.errorf(
          this,
          e,
          "Failed to save discoverylink on database for package: %s",
          discover.getPackageName());
    }
  }