|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface QueryCacheInstrument
Interface for providing instrumented data cache metrics and operations.
Method Summary | |
---|---|
long |
count()
Returns the number of total entries in the cache. |
long |
getEvictionCount()
Returns number of total evictions since last reset |
long |
getExecutionCount()
Returns number of total execution requests since last reset |
long |
getExecutionCount(String queryKey)
Returns number of total execution requests since last reset for the specified string-ified query key. |
long |
getHitCount()
Returns number of total read requests that have been found in cache since last reset. |
long |
getHitCount(String queryKey)
Returns number of total read requests that have been found in cache since last reset for the specified string-ified query key. |
long |
getTotalEvictionCount()
Returns number of total eviction requests since start. |
long |
getTotalExecutionCount()
Returns number of total exec requests since start. |
long |
getTotalExecutionCount(String queryKey)
Returns number of total exec requests since start for the specified string-ified query key. |
long |
getTotalHitCount()
Returns number of total read requests that has been found since start. |
long |
getTotalHitCount(String queryKey)
Returns number of total read requests that has been found since start for the specified string-ified query key. |
Set<String> |
queryKeys()
Returns all the string-ified keys for query results 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. |
Method Detail |
---|
long getTotalExecutionCount()
long getTotalExecutionCount(String queryKey)
long getExecutionCount()
long getExecutionCount(String queryKey)
long getHitCount()
long getHitCount(String queryKey)
long getTotalHitCount()
long getTotalHitCount(String queryKey)
void reset()
Date sinceDate()
Date startDate()
Set<String> queryKeys()
long getEvictionCount()
long getTotalEvictionCount()
long count()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |