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

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


      String process_DD = ddg.generate(udc, job.getDuccId().toString());
      IDuccUimaDeploymentDescriptor uimaDeploymentDescriptor = new DuccUimaDeploymentDescriptor(process_DD);
      driverStatusReport.setUimaDeploymentDescriptor(uimaDeploymentDescriptor);
      // Prepare for gathering of UIMA performance statistics
      String logsjobdir = job.getLogDirectory()+job.getDuccId().getFriendly()+File.separator;
      performanceSummaryWriter = new PerformanceSummaryWriter(logsjobdir);
      workItemStateManager = new WorkItemStateManager(logsjobdir);
      synchronizedStats = new SynchronizedStats();
      // Prepare UIMA-AS client instance and multiple threads
      ClientThreadFactory factory = new ClientThreadFactory("UimaASClientThread");
      queue = new LinkedBlockingQueue<Runnable>();
View Full Code Here


    duccOut.trace(methodName, null, duccMsg.fetch("exit"));
  }
 
  protected void publisher() {
    String methodName = "publisher";
    PerformanceSummaryWriter performanceSummaryWriter = thread.getPerformanceSummaryWriter();
    if(performanceSummaryWriter == null) {
      duccOut.debug(methodName, null, duccMsg.fetch("performanceSummaryWriter is null"));
    }
    else {
      performanceSummaryWriter.writeSummary();
    }
    WorkItemStateManager workItemStateManager = thread.getWorkItemStateManager();
    if(workItemStateManager == null) {
      duccOut.debug(methodName, null, duccMsg.fetch("workItemStateManager is null"));
    }
View Full Code Here

TOP

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

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.