for (Entry<String, JavaThread> problemEntry : threads.entrySet()) {
JavaThread thread = problemEntry.getValue();
for (Entry<Integer, Segment> segmentEntry : thread.getSegments().entrySet()) {
Segment segment = segmentEntry.getValue();
int minute = segment.getId();
int count = segment.getMessages().size();
String summaryKey = type;
GraphLine summaryLine = summaryCache.get(summaryKey);
if (summaryLine == null) {
summaryLine = new GraphLine();