Interface PreparedQueryCacheInstrument
- All Known Subinterfaces:
PreparedQueryCacheJMXInstrumentMBean
- All Known Implementing Classes:
AbstractPreparedQueryCacheInstrument
,PreparedQueryCacheJMXInstrument
public interface PreparedQueryCacheInstrument
-
Method Summary
Modifier and TypeMethodDescriptionlong
Returns number of total execution requests since last resetlong
getExecutionCount
(String query) Returns number of total execution requests since last resetlong
Returns number of total read requests that have been found in cache since last reset.long
getHitCount
(String query) 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
getTotalExecutionCount
(String query) Returns number of total exec requests since start.long
Returns number of total read requests that has been found since start.long
getTotalHitCount
(String query) Returns number of total read requests that has been found since start.queries()
Returns all queries currently tracked in the cache.void
reset()
Resets cache statisticsReturns 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
Returns number of total exec requests since start. -
getExecutionCount
long getExecutionCount()Returns number of total execution requests since last reset -
getExecutionCount
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
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
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
Returns all queries currently tracked in the cache.
-