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

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


          }
          while(processIterator.hasNext()) {
            data.append("<tr>");
            data.append("<td>");
            DuccId processId = processIterator.next();
            IDuccProcess process = processMap.get(processId);
            String logsjobdir = job.getUserLogsDir()+job.getDuccId().getFriendly()+File.separator;
            String logfile = buildLogFileName(job, process, ShareType.UIMA);
            String link = logfile;
            String reason = process.getReasonForStoppingProcess();
            if(reason != null) {
              if(reason.trim() != "") {
                link = logfile+":"+reason;
              }
            }
View Full Code Here


          Iterator<DuccId> processIterator = list.iterator();
          while(processIterator.hasNext()) {
            data.append("<tr>");
            data.append("<td>");
            DuccId processId = processIterator.next();
            IDuccProcess process = processMap.get(processId);
            String logsjobdir = job.getUserLogsDir()+job.getDuccId().getFriendly()+File.separator;
            String logfile = buildLogFileName(job, process, ShareType.UIMA);
            String link = logfile;
            String reason = process.getReasonForStoppingProcess();
            if(reason != null) {
              if(reason.trim() != "") {
                link = logfile+":"+reason;
              }
            }
View Full Code Here

      Iterator<DuccId> iterator = null;
      int counter = 0;
      iterator = managedReservation.getProcessMap().keySet().iterator();
      while(iterator.hasNext()) {
        DuccId processId = iterator.next();
        IDuccProcess process = managedReservation.getProcessMap().get(processId);
        buildServiceProcessListEntry(sb, managedReservation, process, DetailsType.Reservation, ShareType.MR, ++counter);
      }
    }
    if(sb.length() == 0) {
      sb.append("<tr>");
View Full Code Here

          String fid = ""+serviceId.getFriendly();
          if(implementors.contains(fid)) {
            service = (DuccWorkJob) duccWorkMap.findDuccWork(serviceId);
            IDuccProcessMap map = service.getProcessMap();
            for(DuccId key : map.keySet()) {
              IDuccProcess process = map.get(key);
              buildServiceProcessListEntry(sb, service, process, DetailsType.Service, type, ++counter);
            }
          }
        }
      }
View Full Code Here

          break;
        }
      }
    }
    if(job != null) {
      IDuccProcess process = job.getProcess(idPro);
      if(process != null) {
        List<IUimaPipelineAEComponent> upcList = process.getUimaPipelineComponents();
        if(upcList != null) {
          if(!upcList.isEmpty()) {
            Iterator<IUimaPipelineAEComponent> upcIterator = upcList.iterator();
            while(upcIterator.hasNext()) {
              IUimaPipelineAEComponent upc = upcIterator.next();
View Full Code Here

 
  private void transform(ConcurrentSkipListMap<Long, JobProcessData> map, IDuccWorkJob job, IDuccProcessMap processMap) {
    if(job != null) {
      if(processMap != null) {
        for(DuccId duccId : processMap.keySet()) {
          IDuccProcess process = processMap.get(duccId);
          JobProcessData jpd = new JobProcessData();
          jpd.id = getId(job, process);
          jpd.logDirectory = getLogDirectory(job, process);
          jpd.logFileList = getLogFileList(job, process);
          jpd.hostName = getHostName(job, process);
View Full Code Here

        sb.append("0");
      }
      Iterator<DuccId> iterator = job.getProcessMap().keySet().iterator();
      while(iterator.hasNext()) {
        DuccId processId = iterator.next();
        IDuccProcess process = job.getProcessMap().get(processId);
        String node = process.getNodeIdentity().getName();
        nodeMap.put(node, 1);
      }
    }
    sb.append("</td>");
    // Size
View Full Code Here

TOP

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

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.