int c = job.getJobClass().getId();
droppedJobs++;
droppedJobsPerClass[c]++;
JobInfo jobInfo = jobsList.lookFor(job);
if (jobInfo != null) {
//removes job from the jobInfoList of the node section
jobsList.removeAfterDrop(jobInfo);
//removes job from the jobInfoList of the node
this.getOwnerNode().getJobInfoList().removeAfterDrop(jobInfo);
}
if (jobsList_node == null) {
jobsList_node = this.getOwnerNode().getJobInfoList();
}
JobInfo jobInfo_node = jobsList_node.lookFor(job);
if (jobInfo_node != null) {
//removes job from the jobInfoList of the node
jobsList_node.removeAfterDrop(jobInfo_node);
}
// Removes job from global jobInfoList - Bertoli Marco