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

Phil Steitz commented on POOL-394:
----------------------------------

I have not run into this requirement in my own apps, but I can see how it would 
be convenient for users.  It is in fact already indirectly available via 
``listAllObjects.getKeys()``.   I see no reason not to expose it directly with 
the same semantics / disclaimer - you get a copy that does not necessarily 
represent a valid snapshot at any point in time.

> GenericKeyedObjectPool doesn't have getKeys() implemented
> ---------------------------------------------------------
>
>                 Key: POOL-394
>                 URL: https://issues.apache.org/jira/browse/POOL-394
>             Project: Commons Pool
>          Issue Type: Bug
>    Affects Versions: 2.4.2
>            Reporter: Vamsi Pavan Kumar Sanka
>            Priority: Major
>
> getKeys() not really implemented as specified here:
> [https://commons.apache.org/proper/commons-pool2/apidocs/org/apache/commons/pool2/impl/GenericKeyedObjectPool.html#getKeys(])
> This API is needed in various scenarios. Current Jira is to expose this API. 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to