113114115116117118119120121122123
synchronized (name) { Range range = name.findOrCreateRange(min); range.incCount(); if (!t.isSuccess()) { range.incFails(); } } } private void processTransaction(EventReport report, MessageTree tree, Transaction t) {
159160161162163164165166167168169
duration.incCount(); range.incCount(); if (!t.isSuccess()) { range.incFails(); } range.setSum(range.getSum() + d); }
243244245246247248249250251252253
private void processTypeRange(Transaction t, TransactionType type, int min, double d) { Range2 range = type.findOrCreateRange2(min); if (!t.isSuccess()) { range.incFails(); } range.incCount(); range.setSum(range.getSum() + d); }