commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christoph Grothaus (JIRA)" <j...@apache.org>
Subject [jira] Created: (POOL-95) GenericObjectPool constructor with GenericObjectPool.Config ignores softMinEvictableIdleTimeMillis
Date Fri, 23 Mar 2007 07:54:32 GMT
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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message