commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Berman (JIRA)" <j...@apache.org>
Subject [jira] [Created] (POOL-272) GenericKeyedObjectPool should have a per-key version of numTestsPerEvictionRun
Date Thu, 21 Aug 2014 18:13:11 GMT
Michael Berman created POOL-272:
-----------------------------------

             Summary: 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


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
(v6.2#6252)

Mime
View raw message