Interface PreparedQueryCacheInstrument

All Known Subinterfaces:
PreparedQueryCacheJMXInstrumentMBean
All Known Implementing Classes:
AbstractPreparedQueryCacheInstrument, PreparedQueryCacheJMXInstrument

public interface PreparedQueryCacheInstrument
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Returns number of total execution requests since last reset
    long
    Returns number of total execution requests since last reset
    long
    Returns number of total read requests that have been found in cache since last reset.
    long
    Returns number of total read requests that have been found in cache since last reset.
    long
    Returns number of total exec requests since start.
    long
    Returns number of total exec requests since start.
    long
    Returns number of total read requests that has been found since start.
    long
    Returns number of total read requests that has been found since start.
    Returns all queries currently tracked in the cache.
    void
    Resets cache statistics
    Returns date since cache statistics collection were last reset.
    Returns date cache statistics collection started.
  • Method Details

    • getTotalExecutionCount

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

      long getTotalExecutionCount(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(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(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(String query)
      Returns number of total read requests that has been found since start.
    • reset

      void reset()
      Resets cache statistics
    • sinceDate

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

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

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