Class SlowQueryReport.QueryStatsComparator

java.lang.Object
org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReport.QueryStatsComparator
All Implemented Interfaces:
Comparator<SlowQueryReport.QueryStats>
Enclosing class:
SlowQueryReport

public static class SlowQueryReport.QueryStatsComparator extends Object implements Comparator<SlowQueryReport.QueryStats>
Compare QueryStats by their lastInvocation value. QueryStats that have never been updated, have a lastInvocation value of 0 which should be handled as the newest possible invocation.