public class DataSourceConnectionPool extends Object
| 构造器和说明 |
|---|
DataSourceConnectionPool() |
| 限定符和类型 | 方法和说明 |
|---|---|
PoolConfig |
createBatchConf(Properties property) |
PoolConfig |
createHoldConf(Properties property) |
List<PoolConfig> |
createReadConfs(Properties property) |
PoolConfig |
createWriteConf(Properties property) |
Connection |
getBatchConnection() |
Connection |
getHoldConnection() |
Connection |
getReadConnection() |
int |
getReadConnIdx() |
String |
getStatus() |
Connection |
getWriteConnection() |
public Connection getBatchConnection() throws SQLException
SQLExceptionpublic Connection getWriteConnection() throws SQLException
SQLExceptionpublic Connection getHoldConnection() throws SQLException
SQLExceptionpublic Connection getReadConnection() throws SQLException
SQLExceptionpublic String getStatus() throws SQLException
SQLExceptionpublic int getReadConnIdx()
public PoolConfig createBatchConf(Properties property)
public PoolConfig createHoldConf(Properties property)
public PoolConfig createWriteConf(Properties property)
public List<PoolConfig> createReadConfs(Properties property)
Copyright © 2018. All rights reserved.