Fix last bug, time for JMX integration
authorfhanik <fhanik@13f79535-47bb-0310-9956-ffa450edef68>
Thu, 11 Dec 2008 22:32:18 +0000 (22:32 +0000)
committerfhanik <fhanik@13f79535-47bb-0310-9956-ffa450edef68>
Thu, 11 Dec 2008 22:32:18 +0000 (22:32 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@725847 13f79535-47bb-0310-9956-ffa450edef68

modules/jdbc-pool/java/org/apache/tomcat/jdbc/pool/interceptor/SlowQueryReport.java

index 9e3bf7f..0f3d15f 100644 (file)
@@ -256,6 +256,17 @@ public class SlowQueryReport extends AbstractCreateStatementInterceptor  {
         } 
     }
     
+    
+    
+
+    @Override
+    public void reset(ConnectionPool parent, PooledConnection con) {
+        super.reset(parent, con);
+        queries = SlowQueryReport.perPoolStats.get(parent.getName());
+    }
+
+
+
 
     /**
      *