You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "reggie (Jira)" <ji...@apache.org> on 2020/12/08 19:21:00 UTC
[jira] [Created] (POOL-390) Add a max age to pool entries
reggie created POOL-390:
---------------------------
Summary: Add a max age to pool entries
Key: POOL-390
URL: https://issues.apache.org/jira/browse/POOL-390
Project: Commons Pool
Issue Type: Improvement
Affects Versions: 2.9.0
Reporter: reggie
It would be nice if pool2 allowed configuration of a "max-age" parameter on a pool entry. When this is set, at checkout time, if the max age is exceeded, this entry would be discarded. It would be nice to do this instead of an evictor thread in cases where pool access may be very sporadic. The evictor thread model could run many times and do nothing.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)