You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary D. Gregory (Jira)" <ji...@apache.org> on 2021/06/02 12:26:00 UTC

[jira] [Updated] (POOL-272) GenericKeyedObjectPool should have a per-key version of numTestsPerEvictionRun

     [ https://issues.apache.org/jira/browse/POOL-272?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary D. Gregory updated POOL-272:
---------------------------------
    Fix Version/s:     (was: 2.10.0)
                   2.10.1

> GenericKeyedObjectPool should have a per-key version of numTestsPerEvictionRun
> ------------------------------------------------------------------------------
>
>                 Key: POOL-272
>                 URL: https://issues.apache.org/jira/browse/POOL-272
>             Project: Commons Pool
>          Issue Type: Improvement
>    Affects Versions: 2.2
>            Reporter: Michael Berman
>            Priority: Major
>             Fix For: 2.10.1
>
>
> It would be cool if there were a per-key version of numTestsPerEvictionRun. I have a use case where I'm primarily configuring my pool size (min/maxidle and maxtotal) per key, but don't want to cap the number of keys or total number of objects in the pool. In this case, it seems like the number of tests i would want per eviction run is fixed with respect to my per-key pool size, but that I would want it scale with the number of keys.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)