public interface PreparedQueryCacheInstrument
Modifier and Type | Method and Description |
---|---|
long |
getExecutionCount()
Returns number of total execution requests since last reset
|
long |
getExecutionCount(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(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(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(String query)
Returns number of total read requests that has been found since start.
|
Set<String> |
queries()
Returns all queries currently tracked in the cache.
|
void |
reset()
Resets cache statistics
|
Date |
sinceDate()
Returns date since cache statistics collection were last reset.
|
Date |
startDate()
Returns date cache statistics collection started.
|
long getTotalExecutionCount()
long getTotalExecutionCount(String query)
long getExecutionCount()
long getExecutionCount(String query)
long getHitCount()
long getHitCount(String query)
long getTotalHitCount()
long getTotalHitCount(String query)
void reset()
Date sinceDate()
Date startDate()
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.