Package org.apache.uima.aae.monitor.statistics

Examples of org.apache.uima.aae.monitor.statistics.LongNumericStatistic.reset()


  public synchronized void resetCountingStatistic(String aComponent, String aStatisticName) {
    LongNumericStatistic countStat = getLongNumericStatistic(aComponent, aStatisticName);
    if (countStat != null) {
      synchronized (countStat) {
        // System.out.println("Resetting Statistic:"+aStatisticName+" For Component:"+aComponent);
        countStat.reset();
      }
    }
  }

  public Statistic getStatistic(String aComponentName, String aStatisticName) {
View Full Code Here


  public synchronized void resetCountingStatistic(String aComponent, String aStatisticName) {
    LongNumericStatistic countStat = getLongNumericStatistic(aComponent, aStatisticName);
    if (countStat != null) {
      synchronized (countStat) {
        countStat.reset();
      }
    }
  }

  public Statistic getStatistic(String aComponentName, String aStatisticName) {
View Full Code Here

    if ( countStat != null )
    {
      synchronized( countStat)
      {
//        System.out.println("Resetting Statistic:"+aStatisticName+" For Component:"+aComponent);
        countStat.reset();
      }
    }
  }

  public Statistic getStatistic(String aComponentName, String aStatisticName)
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.