[
https://issues.apache.org/jira/browse/POOL-390?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Osipov closed POOL-390.
-------------------------------
Resolution: Duplicate
> 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
> Reporter: reggie
> Priority: Minor
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> 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)