Class StmtStatistic


  • public class StmtStatistic
    extends java.lang.Object
    Helper class for collecting SQL statement related runtime statistics. Offers a start and stop method, that encapsulate the measurement of the elapsed time.
    • Constructor Summary

      Constructors 
      Constructor Description
      StmtStatistic​(java.lang.String measurePointId, RuntimeStatisticsCollector runtimeStatisticsCollector)
      creates a new StmtStatistic with a name only.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void start()  
      long stop​(int updateCount)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • StmtStatistic

        public StmtStatistic​(java.lang.String measurePointId,
                             RuntimeStatisticsCollector runtimeStatisticsCollector)
        creates a new StmtStatistic with a name only.
        Parameters:
        measurePointId - new name of the StmtStatistic. Must not be null.
        runtimeStatisticsCollector - statistics collector for this StmtStatistic. Must not be null.
    • Method Detail

      • start

        public void start()
      • stop

        public long stop​(int updateCount)