* @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);