commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Gregory (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (POOL-272) GenericKeyedObjectPool should have a per-key version of numTestsPerEvictionRun
Date Sat, 26 May 2018 17:15:00 GMT

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

Gary Gregory commented on POOL-272:
-----------------------------------

Feel free to provide a PR ;)

> 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.6.0
>
>
> 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
(v7.6.3#76005)

Mime
View raw message