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)