Package com.ikanow.infinit.e.application.utils

Examples of com.ikanow.infinit.e.application.utils.MongoQueue


    }//TESTED (by hand)

    // Read delete elements from the Q...
   
    if (null == _logHarvesterQ) {
      _logHarvesterQ = new MongoQueue(DbManager.getIngest().getLogHarvesterQ().getDB().getName(), DbManager.getIngest().getLogHarvesterQ().getName());
    }
    BasicDBObject queueQuery = new BasicDBObject("deleteOnlyCommunityId", new BasicDBObject(DbManager.exists_, true));
    if (!isSlave) { // only get master messages
      queueQuery.put("forSlave", new BasicDBObject(DbManager.exists_, false));
    }
View Full Code Here


    // 2] (Unlike harvester, _don't_ grab an application token, you can run this on as many servers as you want)

    // 3] Setup

    if (null == _logHarvesterQ) {
      _logHarvesterQ = new MongoQueue(DbManager.getIngest().getLogHarvesterQ().getDB().getName(), DbManager.getIngest().getLogHarvesterQ().getName());
    }
    if (null == _testOutputTemplate) {
      try {
        File testOutputTemplate = new File(LOGSTASH_TEST_OUTPUT_TEMPLATE);
        InputStream inStream = null;
View Full Code Here

TOP

Related Classes of com.ikanow.infinit.e.application.utils.MongoQueue

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.