} else if ("Call".equals(typeName)) {
typeName = "PigeonCall";
} else if (typeName.startsWith(MEMCACHED)) {
typeName = MEMCACHED;
}
ApplicationState applicationState = null;
if (m_types.contains(typeName)) {
applicationState = domain.findOrCreateApplicationState(typeName);
copyAttribute(type, applicationState);
}
super.visitType(type);
if (applicationState != null) {
long max = 0;
for (Entry<Integer, Long> entry : m_counts.entrySet()) {
long value = entry.getValue();
if (value > max) {
max = value;
}
}
applicationState.setMaxQps(max * 1.0 / (5 * 60));
}
m_counts.clear();
}