public class JDBCConnectionPoolSettings extends JDBCConnectionSettings
| Constructor and Description |
|---|
JDBCConnectionPoolSettings() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getAvailabilityTimeoutSec()
Returns the maximum amount of time to wait for a connection to become available
when requesting a connection from the pool.
|
Integer |
getMaxConnections() |
Integer |
getMaxIdleTimeSec()
Returns the maximum amount of time that a connection above the minimum number
of pool connections can sit idle before potentially being closed.
|
Integer |
getMinConnections() |
protected void |
init()
For subclasses to override.
|
JDBCConnectionPoolSettings |
setAvailabilityTimeoutSec(Integer inValue)
Specifies the maximum amount of time to wait for a connection to become available
when requesting a connection from the pool.
|
JDBCConnectionPoolSettings |
setMaxConnections(Integer inValue) |
JDBCConnectionPoolSettings |
setMaxIdleTimeSec(Integer inValue)
Specifies the maximum amount of time that a connection above the minimum number
of pool connections can sit idle before potentially being closed.
|
JDBCConnectionPoolSettings |
setMinConnections(Integer inValue) |
getConnectTimeoutInSeconds, setConnectTimeoutInSecondspublic JDBCConnectionPoolSettings()
protected void init()
Settingsinit in class JDBCConnectionSettingspublic JDBCConnectionPoolSettings setMaxConnections(Integer inValue)
public Integer getMaxConnections()
public JDBCConnectionPoolSettings setMinConnections(Integer inValue)
public Integer getMinConnections()
public JDBCConnectionPoolSettings setMaxIdleTimeSec(Integer inValue)
inValue - maximum idle time in secondspublic Integer getMaxIdleTimeSec()
public JDBCConnectionPoolSettings setAvailabilityTimeoutSec(Integer inValue)
inValue - maximum wait time in secondspublic Integer getAvailabilityTimeoutSec()
jataylor@hairyfatguy.com