Neoview JDBC Type 4 Driver API Reference (R2.2, R2.3, R2.4, R2.5)

Returns:
the number of physical connections the pool should keep available at all times.
See Also:
getMinPoolSize(), setMinPoolSize(int minPoolSize)
setMinPoolSize
public void setMinPoolSize(int minPoolSize)
Sets the number of physical connections the pool should keep available at all times.
Parameters:
minPoolSize - Limits the number of physical connection that can be in the free pool. When the number of
physical connections in the free pool reaches the value of minPoolSize, subsequent connections that are
closed are physically closed and are not added to the free pool. Specifying a value of 0 means that the
value of minPoolSize is the same as the value of maxPoolSize. If the value of maxPoolSize is -1, the value
of minPoolSize is ignored. The default value is 0. For this data source, it is recommended that you use the
default value.
Returns:
the number of physical connections the pool should keep available at all times.
See Also:
getMinPoolSize(), setMinPoolSize(String minPoolSize)
getMinPoolSize
public int getMinPoolSize()
Returns the number of physical connections the pool should keep in the free pool. A value of 0 (zero) indicates
that minPoolSize is equal to maxPoolsize. If maxPoolsize is equal to -1, the value of minPoolSize is ignored. The
default value is 0.
Returns:
The number of physical connections the pool should maintain in the free pool.
See Also:
setMinPoolSize(int), setMaxPoolSize(int)
setInitialPoolSize
public void setInitialPoolSize(java.lang.String initialPoolSize)
The initial number of physical connections that the pool should be created with. Specifying a value of 0 (zero) or
less indicates that the pool should not be created with any initial connections. The default value is -1 indicating
that no initial pool of physical connections is created. The value can be less than minPoolSize but must be less
than or equal to the value of maxPoolSize. Specifying a value greater than maxPoolSize will set the
initialPoolSize to the value of maxPoolSize.
Parameters:
initialPoolSize - the initial number of physical connections the pool should be created with.
See Also:
setInitialPoolSize(int)