tranform = false;
}
if (tranform) {
for (Entry<Integer, Range> entry : rangeMap.entrySet()) {
Range range = entry.getValue();
Range r = new Range(range.getValue()).setCount(range.getCount()).setSum(range.getSum())
.setFails(range.getFails()).setAvg(range.getAvg());
rangeMapCopy.put(entry.getKey(), r);
}
for (Entry<Integer, Range> entry : rangeMapCopy.entrySet()) {
Range range = entry.getValue();
minute = range.getValue();
count = range.getCount() / 5;
fails = range.getFails() / 5;
sum = range.getSum() / 5;
avg = range.getAvg();
for (int i = 0; i < 5; i++) {
completeMinute = minute + i;
transactionName.findOrCreateRange(completeMinute).setCount(count).setFails(fails).setSum(sum)