|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.mguennewig.pobjects.jdbc.ContainerPool
de.mguennewig.pobjects.optional.BasicContainerPool
public class BasicContainerPool
A JDBC container pool using the Apache DBCP data source.
BasicDataSource| Constructor Summary | |
|---|---|
BasicContainerPool(java.lang.String containerClassName,
java.lang.String hostname,
java.lang.Integer portNumber,
java.lang.String database,
java.lang.String username,
java.lang.String password,
PObjDictionary dict,
java.lang.String schema)
Creates a new BasicContainerPool. |
|
| Method Summary | |
|---|---|
void |
addConnectionProperties(java.util.Properties properties)
|
int |
getMaxActive()
Returns the maximum number of active connections that can be borrowed from this pool. |
void |
setInitialSize(int initialSize)
Sets the initial number of connections that will be opened. |
void |
setMaxActive(int maxActive)
Sets the maximum number of active connections that can be borrows from this pool. |
void |
setMaxIdle(int maxIdle)
Sets the maximum number of connections that will kept idle within the pool. |
void |
setMaxWait(long maxWait)
Sets the maximum time in milliseconds that will be waited to borrow a connection from this pool before failing. |
void |
setMinIdle(int minIdle)
Sets the minimum number of connections that will kept idle within the pool. |
| Methods inherited from class de.mguennewig.pobjects.jdbc.ContainerPool |
|---|
freeConnection, freeContainer, getConnection, getContainer, getDictionary, getSchema |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BasicContainerPool(java.lang.String containerClassName,
java.lang.String hostname,
java.lang.Integer portNumber,
java.lang.String database,
java.lang.String username,
java.lang.String password,
PObjDictionary dict,
java.lang.String schema)
throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException| Method Detail |
|---|
public void addConnectionProperties(java.util.Properties properties)
public final void setInitialSize(int initialSize)
BasicDataSource.setInitialSize(int)public final int getMaxActive()
setMaxActive(int),
BasicDataSource.getMaxActive()public final void setMaxActive(int maxActive)
getMaxActive(),
BasicDataSource.setMaxActive(int)public final void setMaxWait(long maxWait)
BasicDataSource.setMaxWait(long)public final void setMaxIdle(int maxIdle)
setMinIdle(int),
BasicDataSource.setMaxIdle(int)public final void setMinIdle(int minIdle)
setMaxIdle(int),
BasicDataSource.setMinIdle(int)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||