Package com.cloudhopper.mq.queue.impl

Examples of com.cloudhopper.mq.queue.impl.DefaultQueueManager


* @author garth
*/
public class QueueDumper extends QueueStringUtil {

    public QueueDumper(QueueConfiguration config, OutputStream out) throws Exception {
  super(new DefaultQueueManager(config));
  this.writer = new PrintWriter(out);
    }
View Full Code Here


* @author garth
*/
public class QueueLoader extends QueueStringUtil {

    public QueueLoader(QueueConfiguration config, InputStream in) throws Exception {
        super(new DefaultQueueManager(config));
  this.reader = new BufferedReader(new InputStreamReader(in));
    }
View Full Code Here

* @author garth
*/
public class QueueViewer {

    public QueueViewer(QueueConfiguration config, PrintStream out) throws Exception {
        this.queueManager = new DefaultQueueManager(config);
  this.queueManager.start();
  this.runFile = queueManager.getRunFile();
  this.runInfo = RunInfoFileUtil.readRunInfo(runFile);
  this.keyUtil = new CompositeKeyUtil(runInfo.getQueueIdByteLength(), runInfo.getItemIdByteLength());
  this.priorityKeyUtil = new PriorityCompositeKeyUtil(runInfo.getQueueIdByteLength(), 8);
View Full Code Here

TOP

Related Classes of com.cloudhopper.mq.queue.impl.DefaultQueueManager

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.