q.getResults().get(0).addValue("NumMsgDropped", String.valueOf((long) ((float) (numMsgsDropped - lastRecord.getMsgDrop()) / (timestamp - lastRecord.getTimestamp()) * 1000)));
}
currentRecord.setMsgDrop(numMsgsDropped);
lastRecords.put(exchangeName, currentRecord);
writer.validateSetup(q);
writer.doWrite(q);
File file = new File(String.format("%s/%s-%s.json", outputPath, isQueue ? "queue": "topic", exchangeName));
FileChannel channel = new RandomAccessFile(file, "rw").getChannel();
try {