| 程序包 | 说明 |
|---|---|
| com.xiaoleilu.hutool.db.ds.pool |
| 限定符和类型 | 方法和说明 |
|---|---|
PooledConnection |
PooledDataSource.getConnection(long wait)
获取连接对象
|
PooledConnection |
PooledDataSource.newConnection()
创建新连接
|
protected PooledConnection |
PooledConnection.open()
打开连接
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected boolean |
PooledDataSource.free(PooledConnection conn)
释放连接,连接会被返回给连接池
|
Copyright © 2016. All rights reserved.