final InstanceSummaryProfilingEvent instanceSummary = jobProfilingData
.getInstanceSummaryProfilingData(timestamp);
final Iterator<ProfilingListener> listenerIterator = jobListeners.iterator();
while (listenerIterator.hasNext()) {
final ProfilingListener profilingListener = listenerIterator.next();
profilingListener.processProfilingEvents(singleInstanceProfilingEvent);
if (instanceSummary != null) {
profilingListener.processProfilingEvents(instanceSummary);
}
}
}
}
}