Package org.apache.uima.ducc.common.jd.files

Examples of org.apache.uima.ducc.common.jd.files.WorkItemStateManager.importData()


            IDuccWorkJob job = (IDuccWorkJob)duccWork;
            String jobNo = job.getId();
            String userId = job.getStandardInfo().getUser();
            String jobDir = job.getLogDirectory()+jobNo;
            WorkItemStateManager workItemStateManager = new WorkItemStateManager(jobDir);
            workItemStateManager.importData(userId);
            updatedWisMap.put(jobNo, workItemStateManager);
            break;
          }
        }
        wisMap = updatedWisMap;
View Full Code Here


    protected void formatWorkItems()
    {
        WorkItemStateManager workItemStateManager = new WorkItemStateManager(dir);
        try {
          workItemStateManager.importData();
        }
        catch(Exception e) {
          e.printStackTrace();
          return;
        }
View Full Code Here

    DuccWorkJob job = getJob(jobNo);
    if(job != null) {
      try {
        String userId = duccWebSessionManager.getUserId(request);
        WorkItemStateManager workItemStateManager = new WorkItemStateManager(job.getLogDirectory()+jobNo);
        workItemStateManager.importData(userId);
        ConcurrentSkipListMap<Long,IWorkItemState> map = workItemStateManager.getMap();
          if( (map == null) || (map.size() == 0) ) {
            sb.append("no data (map empty?)");
          }
          else {
View Full Code Here

    DuccWorkJob job = getJob(jobNo);
    if(job != null) {
      try {
        String userId = duccWebSessionManager.getUserId(request);
        WorkItemStateManager workItemStateManager = new WorkItemStateManager(job.getLogDirectory()+jobNo);
        workItemStateManager.importData(userId);
        PerformanceSummary performanceSummary = new PerformanceSummary(job.getLogDirectory()+jobNo);
          PerformanceMetricsSummaryMap performanceMetricsSummaryMap = performanceSummary.readSummary(userId);
          if( (performanceMetricsSummaryMap == null) || (performanceMetricsSummaryMap.size() == 0) ) {
            sb.append("no data (map empty?)");
          }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.