Uses of Class
org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReport.QueryStats
Packages that use SlowQueryReport.QueryStats
-
Uses of SlowQueryReport.QueryStats in org.apache.tomcat.jdbc.pool.interceptor
Classes in org.apache.tomcat.jdbc.pool.interceptor that implement interfaces with type arguments of type SlowQueryReport.QueryStatsModifier and TypeClassDescriptionstatic classCompares QueryStats by their lastInvocation value.Fields in org.apache.tomcat.jdbc.pool.interceptor with type parameters of type SlowQueryReport.QueryStatsModifier and TypeFieldDescriptionprotected ConcurrentHashMap<String, SlowQueryReport.QueryStats> SlowQueryReport.queriesthe queries that are used for this interceptor.protected final Comparator<SlowQueryReport.QueryStats> SlowQueryReport.queryStatsComparatorSort QueryStats by last invocation timeMethods in org.apache.tomcat.jdbc.pool.interceptor that return SlowQueryReport.QueryStatsModifier and TypeMethodDescriptionprotected SlowQueryReport.QueryStatsSlowQueryReport.getQueryStats(String sql) Retrieves or creates a QueryStats entry for the given SQL string.Methods in org.apache.tomcat.jdbc.pool.interceptor that return types with arguments of type SlowQueryReport.QueryStatsModifier and TypeMethodDescriptionSlowQueryReport.getPoolStats(String poolname) Returns the query stats for a given poolprotected ConcurrentHashMap<String, SlowQueryReport.QueryStats> SlowQueryReport.PoolStatistics.getQueryStats()Returns the statistics map published under this name.Methods in org.apache.tomcat.jdbc.pool.interceptor with parameters of type SlowQueryReport.QueryStatsModifier and TypeMethodDescriptionintSlowQueryReport.QueryStatsComparator.compare(SlowQueryReport.QueryStats stats1, SlowQueryReport.QueryStats stats2) booleanSlowQueryReport.QueryStats.isOlderThan(SlowQueryReport.QueryStats other) Returns whether this query was last invoked before the given query stats.Method parameters in org.apache.tomcat.jdbc.pool.interceptor with type arguments of type SlowQueryReport.QueryStatsModifier and TypeMethodDescriptionprotected voidSlowQueryReport.removeOldest(ConcurrentHashMap<String, SlowQueryReport.QueryStats> queries) Evicts the least recently invoked query statistics until the map is back withinmaxQueriesentries.