return;
}
final DependencyGraph graph = calcConfig.getDependencyGraph();
final Iterator<CalculationJobItem> jobItemItr = job.getJobItems().iterator();
final Iterator<CalculationJobResultItem> jobResultItr = jobResult.getResultItems().iterator();
final ExecutionLogModeSource logModes = getCycle().getLogModeSource();
final DependencyNodeJobExecutionResultCache jobExecutionResultCache = calcConfig.getResultCache();
final Set<ValueSpecification> terminalOutputs = calcConfig.getTerminalOutputs();
final String computeNodeId = jobResult.getComputeNodeId();
while (jobItemItr.hasNext()) {
assert jobResultItr.hasNext();
final CalculationJobItem jobItem = jobItemItr.next();
final CalculationJobResultItem jobResultItem = jobResultItr.next();
// Mark the node that corresponds to this item
final DependencyNode node = graph.getNodeProducing(jobItem.getOutputs()[0]);
if (jobResultItem.isFailed()) {
getCycle().markFailed(node);
} else {
getCycle().markExecuted(node);
}
// Process the streamed result fragment
final ExecutionLogMode executionLogMode = logModes.getLogMode(node);
final AggregatedExecutionLog aggregatedExecutionLog;
if (executionLogMode == ExecutionLogMode.FULL) {
final ExecutionLog log = jobResultItem.getExecutionLog();
MutableExecutionLog logCopy = null;
final Set<AggregatedExecutionLog> inputLogs = new LinkedHashSet<AggregatedExecutionLog>();