|
SolarMetric Kodo JDO 2.4.3 generated on March 27 2003 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| Method Summary | |
|---|---|
com.solarmetric.datasource.PoolConnection |
chooseConnection(Set candidates)
Choose the most appropriate Connection in the given set to use. |
void |
clean()
Cleanup possibly dead connections from the pool. |
void |
close(com.solarmetric.datasource.PoolConnection conn,
boolean remove)
Close a pooled connection. |
void |
closeAll()
Close all pooled connections. |
Connection |
getConnection(JDBCConnectionRequestInfo cri)
Obtain a connection from the pool. |
int |
getMaxPool()
|
int |
getMinPool()
|
void |
setMaxPool(int max)
Set the maximum size of the pool. |
void |
setMinPool(int min)
|
| Methods inherited from interface java.util.Set |
|---|
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
| Method Detail |
public void setMaxPool(int max)
max - the maximum sizepublic int getMaxPool()
public void setMinPool(int min)
min - the minimum size of the pool.public int getMinPool()
public void close(com.solarmetric.datasource.PoolConnection conn,
boolean remove)
throws SQLException
conn - the connection to close.remove - if true, remove the connection from the pool.
public void clean()
throws SQLException
public Connection getConnection(JDBCConnectionRequestInfo cri)
throws SQLException
cri - the request information.public void closeAll()
public com.solarmetric.datasource.PoolConnection chooseConnection(Set candidates)
|
SolarMetric Kodo JDO 2.4.3 generated on March 27 2003 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||