Package | Description |
---|---|
cn.hutool.db.ds.pooled |
Hutool对连接池的简单实现
|
Modifier and Type | Method and Description |
---|---|
PooledConnection |
PooledDataSource.getConnection(long wait)
获取连接对象
|
PooledConnection |
PooledDataSource.newConnection()
创建新连接
|
protected PooledConnection |
PooledConnection.open()
打开连接
|
protected PooledConnection |
PooledConnection.release()
释放连接
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
PooledDataSource.free(PooledConnection conn)
释放连接,连接会被返回给连接池
|
Copyright © 2024. All rights reserved.