bug fixed

This commit is contained in:
高铁
2016-02-04 18:18:43 +08:00
parent 5f9ae8a67f
commit 9180914631
2 changed files with 10 additions and 1 deletions
@@ -1183,14 +1183,23 @@ public class DruidPooledConnection extends PoolableWrapper implements javax.sql.
this.abandoned = true;
}
/**
* @since 1.1.17
*/
public long getPhysicalConnectNanoSpan() {
return this.holder.getCreateNanoSpan();
}
/**
* @since 1.1.17
*/
public long getPhysicalConnectionUsedCount() {
return this.holder.getUseCount();
}
/**
* @since 1.1.17
*/
public long getConnectNotEmptyWaitNanos() {
return this.holder.getLastNotEmptyWaitNanos();
}