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, setConnectTimeoutInSeconds
public JDBCConnectionPoolSettings()
protected void init()
Settings
init
in class JDBCConnectionSettings
public 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()