Examples of MongoDBSourceQueue


Examples of fr.eolya.crawler.queue.mongodb.MongoDBSourceQueue

  public static ISourceQueue getSourceQueueInstance(String type, IDBConnection con, String dbName, String dbCollName, boolean test, boolean interactiveOnly, boolean suspiciousOnly, String accountId, String sourceId, String engineId) {
    if (!type.equals(con.getType())) return null;
   
    if ("mongodb".equals(type)) {
      try {
        return  new MongoDBSourceQueue((MongoDBConnection) con, dbName, dbCollName, test, interactiveOnly, suspiciousOnly, accountId, sourceId, engineId);
      } 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.