By default, an instance of GenericObjectPool
is created. Subclasses may change the type of ObjectPool
used by overriding the createObjectPool()
method.
Provides many configuration properties mirroring those of the Commons Pool GenericObjectPool
class; these properties are passed to the GenericObjectPool
during construction. If creating a subclass of this class to change the ObjectPool
implementation type, pass in the values of configuration properties that are relevant to your chosen implementation.
The testOnBorrow
, testOnReturn
and testWhileIdle
properties are explictly not mirrored because the implementation of PoolableObjectFactory
used by this class does not implement meaningful validation. All exposed Commons Pool properties use the corresponding Commons Pool defaults: for example,
@author Rod Johnson
@author Rob Harrop
@author Juergen Hoeller
@see GenericObjectPool
@see #createObjectPool()
@see #setMaxSize
@see #setMaxIdle
@see #setMinIdle
@see #setMaxWait
@see #setTimeBetweenEvictionRunsMillis
@see #setMinEvictableIdleTimeMillis
|
|
|
|
|
|