Class ThreadLocalQueryStatisticsImpl

java.lang.Object
org.exoplatform.commons.notification.stat.ThreadLocalQueryStatisticsImpl
All Implemented Interfaces:
Serializable, org.exoplatform.commons.api.notification.stat.QueryStatistics

public class ThreadLocalQueryStatisticsImpl extends Object implements org.exoplatform.commons.api.notification.stat.QueryStatistics
Created by The eXo Platform SAS Author : eXoPlatform thanhvc@exoplatform.com Oct 11, 2013
See Also:
  • Constructor Details

    • ThreadLocalQueryStatisticsImpl

      public ThreadLocalQueryStatisticsImpl()
  • Method Details

    • getExecutionCount

      public long getExecutionCount()
      Specified by:
      getExecutionCount in interface org.exoplatform.commons.api.notification.stat.QueryStatistics
    • getExecutionRowCount

      public long getExecutionRowCount()
      Specified by:
      getExecutionRowCount in interface org.exoplatform.commons.api.notification.stat.QueryStatistics
    • getExecutionAvgTime

      public long getExecutionAvgTime()
      Specified by:
      getExecutionAvgTime in interface org.exoplatform.commons.api.notification.stat.QueryStatistics
    • getExecutionMaxTime

      public long getExecutionMaxTime()
      Specified by:
      getExecutionMaxTime in interface org.exoplatform.commons.api.notification.stat.QueryStatistics
    • getExecutionMinTime

      public long getExecutionMinTime()
      Specified by:
      getExecutionMinTime in interface org.exoplatform.commons.api.notification.stat.QueryStatistics
    • executed

      public void executed(long rows, long time)
      Specified by:
      executed in interface org.exoplatform.commons.api.notification.stat.QueryStatistics
    • toString

      public String toString()
      Overrides:
      toString in class Object