public interface ConnectionPool
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
Connection |
getConnection() |
ConnectionPoolMonitorVo |
getPoolMonitorVo() |
XAConnection |
getXAConnection() |
void |
init(BeeDataSourceConfig config) |
boolean |
isClosed() |
void |
recycle(cn.beecp.pool.PooledConnection p) |
void |
restartPool() |
void |
restartPool(boolean forceCloseUsingOnClear) |
void |
setPrintRuntimeLog(boolean indicator) |
void init(BeeDataSourceConfig config) throws SQLException
SQLExceptionConnection getConnection() throws SQLException
SQLExceptionXAConnection getXAConnection() throws SQLException
SQLExceptionvoid recycle(cn.beecp.pool.PooledConnection p)
void close()
void restartPool()
void restartPool(boolean forceCloseUsingOnClear)
boolean isClosed()
void setPrintRuntimeLog(boolean indicator)
ConnectionPoolMonitorVo getPoolMonitorVo()
Copyright © 2023. All rights reserved.