Package org.apache.uima.ducc.transport.event.common

Examples of org.apache.uima.ducc.transport.event.common.DuccProcessMap


          retVal = true;
        }
        else {
          String processId = extendedProcessId.split(":")[0];
          duccOut.debug(location, workItem.getJobId(), workItem.getProcessId(), "node:"+nodeId+" "+"processId:"+processId);
          DuccProcessMap duccProcessMap = (DuccProcessMap)getJob().getProcessMap();
          duccOut.debug(location, workItem.getJobId(), workItem.getProcessId(), "processMap:"+duccProcessMap);
          //IDuccProcess duccProcess = getJob().getProcessMap().findProcess(threadLocation.getNodeId(), threadLocation.getProcessId());
          IDuccProcess duccProcess = duccProcessMap.findProcess(duccOut, nodeId, processId);
          duccOut.debug(location, workItem.getJobId(), workItem.getProcessId(), "duccProcess:"+duccProcess);
          if(duccProcess == null) {
            retVal = true;
          }
          else if(duccProcess.isDeallocated()) {
View Full Code Here


  }
 
  private boolean isFailedProcess(WorkItem workItem) {
    String location = "isFailedProcess";
    boolean retVal = false;
    DuccProcessMap duccProcessMap = (DuccProcessMap)getJob().getProcessMap();
    IDuccProcess duccProcess = duccProcessMap.get(workItem.getProcessId());
    if(duccProcess != null) {
      retVal = duccProcess.isFailed();
    }
    duccOut.debug(location, workItem.getJobId(), workItem.getProcessId(), "retVal:"+retVal);
    return retVal;
View Full Code Here

TOP

Related Classes of org.apache.uima.ducc.transport.event.common.DuccProcessMap

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.