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

Examples of org.apache.uima.ducc.transport.event.jd.DuccProcessWorkItemsMap


    casLocationPendingMap.put(casId, casLocation);
  }
 
  private DuccProcessWorkItemsMap getPwiMap() {
    String location = "getPwiMap";
    DuccProcessWorkItemsMap pwiMap = getDriverStatusReportLive().getDuccProcessWorkItemsMap();
    duccOut.debug(location, jobid, "DuccProcessWorkItemsMap size:"+pwiMap.size());
    return pwiMap;
  }
View Full Code Here


 
  private void copyProcessWorkItemsReport(DuccWorkJob job, DriverStatusReport jdStatusReport) {
    String methodName = "copyProcessWorkItemsReport";
    try {
      IDuccProcessMap processMap = job.getProcessMap();
      DuccProcessWorkItemsMap pwiMap = jdStatusReport.getDuccProcessWorkItemsMap();
      Iterator<DuccId> iterator = pwiMap.keySet().iterator();
      while(iterator.hasNext()) {
        DuccId processId = iterator.next();
        IDuccProcess process = processMap.get(processId);
        IDuccProcessWorkItems pwi = pwiMap.get(processId);
        process.setProcessWorkItems(pwi);
        logger.trace(methodName, job.getDuccId(), "done:"+pwi.getCountDone()+" "+"error:"+pwi.getCountError()+" "+"dispatch:"+pwi.getCountDispatch()+" "+"unassigned:"+pwi.getCountUnassigned()+" "+"lost:"+pwi.getCountLost());
      }
    }
    catch(Throwable t) {
View Full Code Here

  }
 
  private void copyDriverWorkItemsReport(DuccWorkJob job, DriverStatusReport jdStatusReport) {
    String methodName = "copyDriverWorkItemsReport";
    try {
      DuccProcessWorkItemsMap pwiMap = jdStatusReport.getDuccProcessWorkItemsMap();
      IDuccProcessWorkItems pwi = pwiMap.getTotals();
      pwi.setCountUnassigned(jdStatusReport.getWorkItemPendingProcessAssignmentCount());
      DuccWorkPopDriver driver = job.getDriver();
      IDuccProcessMap processMap = driver.getProcessMap();
      if(processMap != null) {
        Iterator<DuccId> iterator = processMap.keySet().iterator();
View Full Code Here

TOP

Related Classes of org.apache.uima.ducc.transport.event.jd.DuccProcessWorkItemsMap

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.