类 QueryStatisticsImpl

    • 方法详细资料

      • getCacheHitCount

        public long getCacheHitCount()
        Queries retrieved successfully from the cache
        指定者:
        getCacheHitCount 在接口中 QueryStatistics
      • getExecutionRowCount

        public long getExecutionRowCount()
        Number of lines returned by all the executions of this query (from DB) For now, Query.iterate() and {@link org.hibernate.Query#scroll()()} do not fill this statistic
        指定者:
        getExecutionRowCount 在接口中 QueryStatistics
        返回:
        The number of rows cumulatively returned by the given query; iterate and scroll queries do not effect this total as their number of returned rows is not known at execution time.
      • getExecutionAvgTime

        public long getExecutionAvgTime()
        average time in ms taken by the execution of this query onto the DB
        指定者:
        getExecutionAvgTime 在接口中 QueryStatistics
      • getExecutionAvgTimeAsDouble

        public double getExecutionAvgTimeAsDouble()
        average time in ms as double taken by the execution of this query onto the DB
        指定者:
        getExecutionAvgTimeAsDouble 在接口中 QueryStatistics
      • getExecutionMaxTime

        public long getExecutionMaxTime()
        max time in ms taken by the execution of this query onto the DB
        指定者:
        getExecutionMaxTime 在接口中 QueryStatistics
      • getExecutionMinTime

        public long getExecutionMinTime()
        min time in ms taken by the execution of this query onto the DB
        指定者:
        getExecutionMinTime 在接口中 QueryStatistics
      • getExecutionTotalTime

        public long getExecutionTotalTime()
        total time in ms taken by the execution of this query onto the DB
        指定者:
        getExecutionTotalTime 在接口中 QueryStatistics