[
https://issues.apache.org/jira/browse/POOL-204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13171656#comment-13171656
]
Mark Thomas commented on POOL-204:
----------------------------------
Scratch that. The list is required to maintain eviction order.
> GKOP encapsulate poolMap/poolKeyList to ensure invariants?
> ----------------------------------------------------------
>
> Key: POOL-204
> URL: https://issues.apache.org/jira/browse/POOL-204
> Project: Commons Pool
> Issue Type: Improvement
> Affects Versions: 2.0
> Reporter: Sebb
> Priority: Minor
>
> In GKOP, poolMap and poolKeyList must be kept in step otherwise "bad things
> will happen!".
> Might be worth considering encapsulating the data structures in a private
> class that ensures this.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira