代码重构

git-svn-id: http://code.alibabatech.com/svn/druid/trunk@619 b9813039-fb51-4c41-a8b9-e21c2acb5095
This commit is contained in:
wenshao
2011-09-03 06:19:53 +00:00
parent 510af3c39c
commit d267a5fdc0
3 changed files with 39 additions and 33 deletions
@@ -868,11 +868,7 @@ public abstract class DruidAbstractDataSource implements DruidAbstractDataSource
}
}
protected void handleException(Throwable e) throws SQLException {
errorCount.incrementAndGet();
}
abstract void decrementActiveCountWithLock();
public abstract void handleConnectionException(PoolableConnection pooledConnection, Throwable t) throws SQLException;
protected abstract void recycle(PoolableConnection pooledConnection) throws SQLException;