druid 新增连接

// DruidDataSource 的内部类,对应主流程3,用来补充连接 public class CreateConnectionThread extends Thread { public CreateConnectionThread(String name){ //

Druid 

druid 初始化连接池

public void init() throws SQLException { if (inited) { // 如果已经被初始化过,则终止该方法 return; } // bug fixed for dead lock, for issu

Druid 

druid 丢弃连接

// 丢弃连接 public void discardConnection(DruidConnectionHolder holder) { if (holder == null) { return; } Connection conn = holder.ge

Druid