data.put(id + TIME, m_format.format(transactionType.getAvg()));
data.put(id + COUNT, String.valueOf(transactionType.getTotalCount()));
data.put(id + FAILURE_COUNT, String.valueOf(transactionType.getFailCount()));
}
} else if (StringUtils.isEmpty(name) && !StringUtils.isEmpty(type)) {
TransactionType transactionType = transactionMachine.findType(type);
if (transactionType != null) {
data.put(TIME, m_format.format(transactionType.getAvg()));
data.put(COUNT, String.valueOf(transactionType.getTotalCount()));
data.put(FAILURE_COUNT, String.valueOf(transactionType.getFailCount()));