Class QueryStats

  • All Implemented Interfaces:
    java.io.Serializable

    public class QueryStats
    extends java.lang.Object
    implements java.io.Serializable
    Author:
    gkeim
    See Also:
    Serialized Form
    • Field Detail

      • query

        protected final java.lang.String query
        query
      • cacheHitCount

        protected long cacheHitCount
        cacheHitCount
      • cacheMissCount

        protected long cacheMissCount
        cacheMissCount
      • cachePutCount

        protected long cachePutCount
        cachePutCount
      • executionCount

        protected long executionCount
        executionCount
      • executionRowCount

        protected long executionRowCount
        executionRowCount
      • executionAvgTime

        protected long executionAvgTime
        executionAvgTime
      • executionMaxTime

        protected long executionMaxTime
        executionMaxTime
      • executionMinTime

        protected long executionMinTime
        executionMinTime
    • Constructor Detail

      • QueryStats

        public QueryStats​(java.lang.String name)
        Parameters:
        name -
      • QueryStats

        public QueryStats​(java.lang.String name,
                          org.hibernate.stat.QueryStatistics src)
        Parameters:
        name -
        src -
      • QueryStats

        public QueryStats​(javax.management.openmbean.CompositeData cData)
        Parameters:
        cData -
    • Method Detail

      • add

        public void add​(QueryStats stats)
        Parameters:
        stats -
      • toString

        public java.lang.String toString()
        toString
        Overrides:
        toString in class java.lang.Object
      • getQuery

        public java.lang.String getQuery()
        getQuery
      • getCacheHitCount

        public long getCacheHitCount()
        getCacheHitCount
      • getCacheMissCount

        public long getCacheMissCount()
        getCacheMissCount
      • getCachePutCount

        public long getCachePutCount()
        getCachePutCount
      • getExecutionCount

        public long getExecutionCount()
        getExecutionCount
      • getExecutionRowCount

        public long getExecutionRowCount()
        getExecutionRowCount
      • getExecutionAvgTime

        public long getExecutionAvgTime()
        getExecutionAvgTime
      • getExecutionMaxTime

        public long getExecutionMaxTime()
        getExecutionMaxTime
      • getExecutionMinTime

        public long getExecutionMinTime()
        getExecutionMinTime
      • toCompositeData

        public javax.management.openmbean.CompositeData toCompositeData()
        toCompositeData
      • newTabularDataInstance

        public static javax.management.openmbean.TabularData newTabularDataInstance()
        newTabularDataInstance
      • fromTabularData

        public static QueryStats[] fromTabularData​(javax.management.openmbean.TabularData tabularData)
        fromTabularData