try {
ConcurrentSkipListMap<String, JobPerformanceSummary> map = new ConcurrentSkipListMap<String, JobPerformanceSummary>();
Set<Entry<String, PerformanceMetricsSummaryItem>> entries = summaryMap.entrySet();
for(Entry<String, PerformanceMetricsSummaryItem> entry : entries) {
PerformanceMetricsSummaryItem item = entry.getValue();
JobPerformanceSummary jps = new JobPerformanceSummary();
jps.setAnalysisTime(item.getAnalysisTime());
jps.setAnalysisTimeMax(item.getAnalysisTimeMax());
jps.setAnalysisTimeMin(item.getAnalysisTimeMin());
jps.setNumProcessed(item.getNumProcessed());
jps.setName(item.getName());
jps.setUniqueName(item.getUniqueName());
map.put(jps.getUniqueName(), jps);
}
Integer casCount = summaryMap.casCount();
JobPerformanceSummaryData data = new JobPerformanceSummaryData(map,casCount);
jsonGz.exportData(data);