GenericObjectPool constructor with GenericObjectPool.Config ignores
softMinEvictableIdleTimeMillis
--------------------------------------------------------------------------------------------------
Key: POOL-95
URL: https://issues.apache.org/jira/browse/POOL-95
Project: Commons Pool
Issue Type: Bug
Affects Versions: 1.3, 2.0
Reporter: Christoph Grothaus
Priority: Minor
Attachments: GenericObjectPool.patch
The GenericObjectPool(PoolableObjectFactory factory, GenericObjectPool.Config
config) constructor ignores the setting of softMinEvictableIdleTimeMillis that
is made in config.
Reason: The abovementioned constructor calls the wrong constructor
GenericObjectPool(PoolableObjectFactory factory, int maxActive, byte
whenExhaustedAction, long maxWait, int maxIdle, int minIdle, boolean
testOnBorrow, boolean testOnReturn, long timeBetweenEvictionRunsMillis, int
numTestsPerEvictionRun, long minEvictableIdleTimeMillis, boolean testWhileIdle)
instead of the correct one
GenericObjectPool(PoolableObjectFactory factory, int maxActive, byte
whenExhaustedAction, long maxWait, int maxIdle, int minIdle, boolean
testOnBorrow, boolean testOnReturn, long timeBetweenEvictionRunsMillis, int
numTestsPerEvictionRun, long minEvictableIdleTimeMillis, boolean testWhileIdle,
long softMinEvictableIdleTimeMillis)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]