Examples of incrementAnalysisTime()


Examples of org.apache.uima.aae.jmx.ServicePerformance.incrementAnalysisTime()

          if (delegateServicePerformance != null) {
            // calculate the time spent in analysis. The remote service returns total time
            // spent in the analysis. Compute the delta.
            long dt = timeInProcessCAS - delegateServicePerformance.getRawAnalysisTime();
            // increment total time in analysis
            delegateServicePerformance.incrementAnalysisTime(dt);
            getController().getServicePerformance().incrementAnalysisTime(dt);
          }
        } else {
          getController().getServicePerformance().incrementAnalysisTime(timeInProcessCAS);
        }
View Full Code Here

Examples of org.apache.uima.aae.jmx.ServicePerformance.incrementAnalysisTime()

        if (inputCasReferenceId != null) {
          ServicePerformance inputCasStats = ((AggregateAnalysisEngineController) getController())
                  .getCasStatistics(inputCasReferenceId);
          // Update processing time for this CAS
          if (inputCasStats != null) {
            inputCasStats.incrementAnalysisTime(timeInProcessCAS);
          }
        }

      }
    } catch (AsynchAEException e) {
View Full Code Here

Examples of org.apache.uima.aae.jmx.ServicePerformance.incrementAnalysisTime()

          if (delegateServicePerformance != null) {
            // calculate the time spent in analysis. The remote service returns total time
            // spent in the analysis. Compute the delta.
            long dt = timeInProcessCAS - delegateServicePerformance.getRawAnalysisTime();
            // increment total time in analysis
            delegateServicePerformance.incrementAnalysisTime(dt);
            getController().getServicePerformance().incrementAnalysisTime(dt);
          }
        } else {
          getController().getServicePerformance().incrementAnalysisTime(timeInProcessCAS);
        }
View Full Code Here

Examples of org.apache.uima.aae.jmx.ServicePerformance.incrementAnalysisTime()

        if (inputCasReferenceId != null) {
          ServicePerformance inputCasStats = ((AggregateAnalysisEngineController) getController())
                  .getCasStatistics(inputCasReferenceId);
          // Update processing time for this CAS
          if (inputCasStats != null) {
            inputCasStats.incrementAnalysisTime(timeInProcessCAS);
          }
        }

      }
    } catch (AsynchAEException e) {
View Full Code Here

Examples of org.apache.uima.aae.jmx.ServicePerformance.incrementAnalysisTime()

      {
        long timeInProcessCAS = ((Long) aMessageContext.getMessageLongProperty(AsynchAEMessage.TimeInProcessCAS)).longValue();
        casStats.incrementAnalysisTime(timeInProcessCAS);
        if ( delegateServicePerformance != null )
        {
          delegateServicePerformance.
            incrementAnalysisTime(timeInProcessCAS);
        }
        //  Accumulate processing time
        getController().getServicePerformance().
          incrementAnalysisTime(timeInProcessCAS);
View Full Code Here

Examples of org.apache.uima.aae.jmx.ServicePerformance.incrementAnalysisTime()

            ((AggregateAnalysisEngineController)getController()).
              getCasStatistics(inputCasReferenceId);
          // Update processing time for this CAS
          if ( inputCasStats != null )
          {
            inputCasStats.incrementAnalysisTime(timeInProcessCAS);
          }
        }
      }
    }
    catch( AsynchAEException e)
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.