|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.caleigo.core.service.JDBCDataService.ConnectionPool
| Constructor Summary | |
JDBCDataService.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)
|
void |
setMaxConnectionPoolSize(int maxConnectionPoolSize)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public JDBCDataService.ConnectionPool(int maxSize)
maxSize.
Setting the maximum size to zero means that every call to getConnection
will create a new connection.
| Method Detail |
public void setMaxConnectionPoolSize(int maxConnectionPoolSize)
public java.sql.Connection getConnection()
throws DataServiceException
DataServiceExceptionpublic 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 | ||||||||||