事务时间直方图

git-svn-id: http://code.alibabatech.com/svn/druid/trunk@855 b9813039-fb51-4c41-a8b9-e21c2acb5095
This commit is contained in:
wenshao
2011-09-19 04:58:43 +00:00
parent dfdf2d747d
commit 1dd5fd7576
7 changed files with 59 additions and 16 deletions
@@ -173,7 +173,7 @@ public class PoolableConnection implements PooledConnection, Connection {
holder.getDataSource().initStatement(stmt);
PreparedStatement rtnVal = new PoolablePreparedStatement(this, stmt, key);
PreparedStatement rtnVal = new PoolablePreparedStatement(this, stmt, key, sql);
holder.addTrace(rtnVal);
@@ -208,7 +208,7 @@ public class PoolableConnection implements PooledConnection, Connection {
holder.getDataSource().initStatement(stmt);
PreparedStatement rtnVal = new PoolablePreparedStatement(this, stmt, key);
PreparedStatement rtnVal = new PoolablePreparedStatement(this, stmt, key, sql);
holder.addTrace(rtnVal);
@@ -242,7 +242,7 @@ public class PoolableConnection implements PooledConnection, Connection {
holder.getDataSource().initStatement(stmt);
PreparedStatement rtnVal = new PoolablePreparedStatement(this, stmt, key);
PreparedStatement rtnVal = new PoolablePreparedStatement(this, stmt, key, sql);
holder.addTrace(rtnVal);
@@ -274,7 +274,7 @@ public class PoolableConnection implements PooledConnection, Connection {
holder.getDataSource().initStatement(stmt);
PreparedStatement rtnVal = new PoolablePreparedStatement(this, stmt, key);
PreparedStatement rtnVal = new PoolablePreparedStatement(this, stmt, key, sql);
holder.addTrace(rtnVal);
@@ -306,7 +306,7 @@ public class PoolableConnection implements PooledConnection, Connection {
holder.getDataSource().initStatement(stmt);
PreparedStatement rtnVal = new PoolablePreparedStatement(this, stmt, key);
PreparedStatement rtnVal = new PoolablePreparedStatement(this, stmt, key, sql);
holder.addTrace(rtnVal);
@@ -338,7 +338,7 @@ public class PoolableConnection implements PooledConnection, Connection {
holder.getDataSource().initStatement(stmt);
PreparedStatement rtnVal = new PoolablePreparedStatement(this, stmt, key);
PreparedStatement rtnVal = new PoolablePreparedStatement(this, stmt, key, sql);
holder.addTrace(rtnVal);
@@ -373,7 +373,7 @@ public class PoolableConnection implements PooledConnection, Connection {
holder.getDataSource().initStatement(stmt);
CallableStatement rtnVal = new PoolableCallableStatement(this, stmt, key);
CallableStatement rtnVal = new PoolableCallableStatement(this, stmt, key, sql);
holder.addTrace(rtnVal);
@@ -406,7 +406,7 @@ public class PoolableConnection implements PooledConnection, Connection {
holder.getDataSource().initStatement(stmt);
CallableStatement rtnVal = new PoolableCallableStatement(this, stmt, key);
CallableStatement rtnVal = new PoolableCallableStatement(this, stmt, key, sql);
holder.addTrace(rtnVal);
@@ -439,7 +439,7 @@ public class PoolableConnection implements PooledConnection, Connection {
holder.getDataSource().initStatement(stmt);
CallableStatement rtnVal = new PoolableCallableStatement(this, stmt, key);
CallableStatement rtnVal = new PoolableCallableStatement(this, stmt, key, sql);
holder.addTrace(rtnVal);
return rtnVal;