|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.caleigo.core.service.JDBCPreparedStatementDataService.ConnectionPool
Constructor Summary | |
JDBCPreparedStatementDataService.ConnectionPool(int maxSize)
Creates a connection pool with the maximum size maxSize .
|
Method Summary | |
java.sql.Connection |
getConnection()
|
int |
getMaxSize()
|
void |
releaseConnection(java.sql.Connection connection)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JDBCPreparedStatementDataService.ConnectionPool(int maxSize)
maxSize
.
Setting the maximum size to zero means that every call to getConnection
will create a new connection.
Method Detail |
public java.sql.Connection getConnection() throws DataServiceException
DataServiceException
public int getMaxSize()
public void releaseConnection(java.sql.Connection connection) throws DataServiceException
DataServiceException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |