duccOut.debug(location, jobid, job.getJobState());
}
private void interrupter() {
String location = "interrupter";
CasDispatchMap casDispatchMap = getCasDispatchMap();
IDuccProcessMap processMap = (IDuccProcessMap) getJob().getProcessMap().deepCopy();
Iterator<DuccId> iterator = processMap.keySet().iterator();
while(iterator.hasNext()) {
DuccId duccId = iterator.next();
IDuccProcess duccProcess = processMap.get(duccId);
boolean statusComplete = duccProcess.isComplete();
boolean statusDeallocated = duccProcess.isDeallocated();
boolean statusProcessFailed = duccProcess.isFailed();
if(statusComplete || statusDeallocated || statusProcessFailed) {
duccOut.debug(location, jobid, duccProcess.getDuccId(), "isComplete:"+statusComplete+" "+"isDeallocated:"+statusDeallocated+" "+"isProcessFailed:"+statusProcessFailed);
casDispatchMap.interrupt(getJob(), duccProcess);
}
}
}