Examples of MongoDBCrawlerDB


Examples of fr.eolya.crawler.database.mongodb.MongoDBCrawlerDB

  public static ICrawlerDB getCrawlerDBInstance(String type, IDBConnection con, String dbName, String dbNameQueues, Logger logger) {
    if (!type.equals(con.getType())) return null;

    if ("mongodb".equals(type)) {
      try {
        return new MongoDBCrawlerDB((MongoDBConnection) con, dbName, dbNameQueues, logger);
      } catch (UnknownHostException e) {
        e.printStackTrace();
        return null;
      }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.