commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phil Steitz (JIRA)" <j...@apache.org>
Subject [jira] Commented: (POOL-95) GenericObjectPool constructor with GenericObjectPool.Config ignores softMinEvictableIdleTimeMillis
Date Mon, 16 Apr 2007 04:57:15 GMT

    [ https://issues.apache.org/jira/browse/POOL-95?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12489006
] 

Phil Steitz commented on POOL-95:
---------------------------------

Any reason not to apply this patch?

> 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