Interface PreparedQueryCacheInstrument

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      long getExecutionCount()
      Returns number of total execution requests since last reset
      long getExecutionCount​(java.lang.String query)
      Returns number of total execution requests since last reset
      long getHitCount()
      Returns number of total read requests that have been found in cache since last reset.
      long getHitCount​(java.lang.String query)
      Returns number of total read requests that have been found in cache since last reset.
      long getTotalExecutionCount()
      Returns number of total exec requests since start.
      long getTotalExecutionCount​(java.lang.String query)
      Returns number of total exec requests since start.
      long getTotalHitCount()
      Returns number of total read requests that has been found since start.
      long getTotalHitCount​(java.lang.String query)
      Returns number of total read requests that has been found since start.
      java.util.Set<java.lang.String> queries()
      Returns all queries currently tracked in the cache.
      void reset()
      Resets cache statistics
      java.util.Date sinceDate()
      Returns date since cache statistics collection were last reset.
      java.util.Date startDate()
      Returns date cache statistics collection started.
    • Method Detail

      • getTotalExecutionCount

        long getTotalExecutionCount()
        Returns number of total exec requests since start.
      • getTotalExecutionCount

        long getTotalExecutionCount​(java.lang.String query)
        Returns number of total exec requests since start.
      • getExecutionCount

        long getExecutionCount()
        Returns number of total execution requests since last reset
      • getExecutionCount

        long getExecutionCount​(java.lang.String query)
        Returns number of total execution requests since last reset
      • getHitCount

        long getHitCount()
        Returns number of total read requests that have been found in cache since last reset.
      • getHitCount

        long getHitCount​(java.lang.String query)
        Returns number of total read requests that have been found in cache since last reset.
      • getTotalHitCount

        long getTotalHitCount()
        Returns number of total read requests that has been found since start.
      • getTotalHitCount

        long getTotalHitCount​(java.lang.String query)
        Returns number of total read requests that has been found since start.
      • reset

        void reset()
        Resets cache statistics
      • sinceDate

        java.util.Date sinceDate()
        Returns date since cache statistics collection were last reset.
      • startDate

        java.util.Date startDate()
        Returns date cache statistics collection started.
      • queries

        java.util.Set<java.lang.String> queries()
        Returns all queries currently tracked in the cache.