Package fr.eolya.crawler.database.mongodb

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

Related Classes of fr.eolya.crawler.database.mongodb.MongoDBCrawlerDB

Copyright © 2018 www.massapicom. 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.