public static class QueryStatistics.Default<T> extends Object implements QueryStatistics<T>
QueryStatistics.Default<T>, QueryStatistics.None<T>| Constructor and Description | 
|---|
| QueryStatistics.Default() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | clear()Clears all statistics accumulated since start. | 
| void | dump(PrintStream out)Dumps on the given output stream. | 
| long | getEvictionCount()Gets number of total query evictions since last reset. | 
| long | getExecutionCount()Gets number of total query execution since last reset. | 
| long | getExecutionCount(T query)Gets number of executions for the given query since last reset. | 
| long | getHitCount()Gets number of total query execution that are cached since last reset. | 
| long | getHitCount(T query)Gets number of executions for the given query that are cached since 
 last reset. | 
| long | getTotalEvictionCount()Gets number of total query evictions since start. | 
| long | getTotalExecutionCount()Gets number of total query execution since start. | 
| long | getTotalExecutionCount(T query)Gets number of executions for the given query since start. | 
| long | getTotalHitCount()Gets number of total query execution that are cached since start. | 
| long | getTotalHitCount(T query)Gets number of executions for the given query that are cached since 
 start. | 
| Set<T> | keys()Gets all the identifier keys for the cached queries. | 
| void | recordEviction(T query)Record that the given query has been evicted. | 
| void | recordExecution(T query)Record that the given query has been executed. | 
| void | reset()Clears all  statistics accumulated since last reset. | 
| Date | since()Gets the time of last reset. | 
| Date | start()Gets the time of start. | 
public Set<T> keys()
QueryStatisticskeys in interface QueryStatistics<T>public long getExecutionCount()
QueryStatisticsgetExecutionCount in interface QueryStatistics<T>public long getTotalExecutionCount()
QueryStatisticsgetTotalExecutionCount in interface QueryStatistics<T>public long getExecutionCount(T query)
QueryStatisticsgetExecutionCount in interface QueryStatistics<T>public long getTotalExecutionCount(T query)
QueryStatisticsgetTotalExecutionCount in interface QueryStatistics<T>public long getHitCount()
QueryStatisticsgetHitCount in interface QueryStatistics<T>public long getTotalHitCount()
QueryStatisticsgetTotalHitCount in interface QueryStatistics<T>public long getHitCount(T query)
QueryStatisticsgetHitCount in interface QueryStatistics<T>public long getTotalHitCount(T query)
QueryStatisticsgetTotalHitCount in interface QueryStatistics<T>public Date since()
QueryStatisticssince in interface QueryStatistics<T>public Date start()
QueryStatisticsstart in interface QueryStatistics<T>public void reset()
QueryStatisticsreset in interface QueryStatistics<T>public void clear()
QueryStatisticsclear in interface QueryStatistics<T>public void recordExecution(T query)
QueryStatisticsrecordExecution in interface QueryStatistics<T>public void recordEviction(T query)
QueryStatisticsrecordEviction in interface QueryStatistics<T>public void dump(PrintStream out)
QueryStatisticsdump in interface QueryStatistics<T>public long getEvictionCount()
QueryStatisticsgetEvictionCount in interface QueryStatistics<T>public long getTotalEvictionCount()
QueryStatisticsgetTotalEvictionCount in interface QueryStatistics<T>Copyright © 2006–2018 Apache Software Foundation. All rights reserved.