Examples of incrementCasDeserializationTime()


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

      long timeToDeserializeCAS = getController().getCpuTime() - t1;

      getController().getServicePerformance().incrementCasDeserializationTime(timeToDeserializeCAS);

      ServicePerformance casStats = getController().getCasStatistics(casReferenceId);
      casStats.incrementCasDeserializationTime(timeToDeserializeCAS);
      LongNumericStatistic statistic;
      if ((statistic = getController().getMonitor().getLongNumericStatistic("",
              Monitor.TotalDeserializeTime)) != null) {
        statistic.increment(timeToDeserializeCAS);
      }
View Full Code Here

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

              new Object[] { (double) timeToDeserializeCAS / 1000000.0 });
    }

    // Update Stats
    ServicePerformance casStats = getController().getCasStatistics(casReferenceId);
    casStats.incrementCasDeserializationTime(timeToDeserializeCAS);
    if (getController().isTopLevelComponent()) {
      synchronized (mux) {
        getController().getServicePerformance().incrementCasDeserializationTime(
                timeToDeserializeCAS);
      }
View Full Code Here

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

      if (aMessageContext.propertyExists(AsynchAEMessage.TimeToDeserializeCAS)) {
        long timeToDeserializeCAS = ((Long) aMessageContext
                .getMessageLongProperty(AsynchAEMessage.TimeToDeserializeCAS)).longValue();
        if (timeToDeserializeCAS > 0) {
          if (delegateServicePerformance != null) {
            delegateServicePerformance.incrementCasDeserializationTime(timeToDeserializeCAS);
          }
        }
      }

      if (aMessageContext.propertyExists(AsynchAEMessage.IdleTime)) {
View Full Code Here

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

                new Object[] { (double) timeToDeserializeCAS / 1000000.0 });
      }

      // Update Stats
      ServicePerformance casStats = getController().getCasStatistics(casReferenceId);
      casStats.incrementCasDeserializationTime(timeToDeserializeCAS);
      if (getController().isTopLevelComponent()) {
        synchronized (mux) {
          getController().getServicePerformance().incrementCasDeserializationTime(
                  timeToDeserializeCAS);
        }
View Full Code Here

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

      long timeToDeserializeCAS = getController().getCpuTime() - t1;

      getController().getServicePerformance().incrementCasDeserializationTime(timeToDeserializeCAS);

      ServicePerformance casStats = getController().getCasStatistics(casReferenceId);
      casStats.incrementCasDeserializationTime(timeToDeserializeCAS);
      LongNumericStatistic statistic;
      if ((statistic = getController().getMonitor().getLongNumericStatistic("",
              Monitor.TotalDeserializeTime)) != null) {
        statistic.increment(timeToDeserializeCAS);
      }
View Full Code Here

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

              new Object[] { (double) timeToDeserializeCAS / 1000000.0 });
    }

    // Update Stats
    ServicePerformance casStats = getController().getCasStatistics(casReferenceId);
    casStats.incrementCasDeserializationTime(timeToDeserializeCAS);
    if (getController().isTopLevelComponent()) {
      synchronized (mux) {
        getController().getServicePerformance().incrementCasDeserializationTime(
                timeToDeserializeCAS);
      }
View Full Code Here

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

      if (aMessageContext.propertyExists(AsynchAEMessage.TimeToDeserializeCAS)) {
        long timeToDeserializeCAS = ((Long) aMessageContext
                .getMessageLongProperty(AsynchAEMessage.TimeToDeserializeCAS)).longValue();
        if (timeToDeserializeCAS > 0) {
          if (delegateServicePerformance != null) {
            delegateServicePerformance.incrementCasDeserializationTime(timeToDeserializeCAS);
          }
        }
      }

      if (aMessageContext.propertyExists(AsynchAEMessage.IdleTime)) {
View Full Code Here

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

      long timeToDeserializeCAS = getController().getCpuTime() - t1;

      getController().getServicePerformance().incrementCasDeserializationTime(timeToDeserializeCAS);

      ServicePerformance casStats = getController().getCasStatistics(casReferenceId);
      casStats.incrementCasDeserializationTime(timeToDeserializeCAS);
      LongNumericStatistic statistic;
      if ((statistic = getController().getMonitor().getLongNumericStatistic("",
              Monitor.TotalDeserializeTime)) != null) {
        statistic.increment(timeToDeserializeCAS);
      }
View Full Code Here

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

            cacheEntry.setInputCasReferenceId(parentCasId);
          }
*/         
          casStats = getController().getCasStatistics(casReferenceId);
        }
        casStats.incrementCasDeserializationTime(timeToDeserializeCAS);
        if ( getController().isTopLevelComponent() )
        {
          getController().getServicePerformance().incrementCasDeserializationTime(timeToDeserializeCAS);
        }
        //  Set a local flag to indicate that the CAS has been added to the cache. This will be usefull when handling an exception
View Full Code Here

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

        {
          casStats.incrementCasDeserializationTime(timeToDeserializeCAS);

          if ( delegateServicePerformance != null )
          {
            delegateServicePerformance.
              incrementCasDeserializationTime(timeToDeserializeCAS);
          }
          getController().getServicePerformance().
            incrementCasDeserializationTime(timeToDeserializeCAS);
        }
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.