Package fr.eolya.utils.nosql

Examples of fr.eolya.utils.nosql.IDBConnection


 
 
  @Test
  public void testMongoDBWebSiteUrlFifoQueue() {
    try {
      IDBConnection dbConnection = DBConnectionFactory.getDBConnectionInstance("mongodb", "localhost", 27017"", "");
      ISourceItemsQueue queue = QueueFactory.getSourceItemsQueueInstance("mongodb", 1, dbConnection, "testFifoQueue", "TestMongoDBWebSiteUrlFifoQueue");
     
      if (queue!=null) {
        queue.reset();
        queue.start();
View Full Code Here


    }
  }
 
  public void testMongoDBWebSiteUrlFifoQueue2() {
    try {
      IDBConnection dbConnection = DBConnectionFactory.getDBConnectionInstance("mongodb", "localhost", 27017"", "");
      ISourceItemsQueue queue = QueueFactory.getSourceItemsQueueInstance("mongodb", 1, dbConnection, "testFifoQueue", "TestMongoDBWebSiteUrlFifoQueue");
     
      if (queue!=null) {
        queue.reset();
        queue.start();
View Full Code Here

TOP

Related Classes of fr.eolya.utils.nosql.IDBConnection

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.