commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simone Tripodi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (POOL-233) Borrow specific object from Pool
Date Tue, 19 Mar 2013 10:25:15 GMT

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

Simone Tripodi commented on POOL-233:
-------------------------------------

Please have a look at the [KeyedObjectPool|http://commons.apache.org/proper/commons-pool/api-1.6/org/apache/commons/pool/KeyedObjectPool.html]
which IIUC satisfies your needs.
                
> Borrow specific object from Pool
> --------------------------------
>
>                 Key: POOL-233
>                 URL: https://issues.apache.org/jira/browse/POOL-233
>             Project: Commons Pool
>          Issue Type: Improvement
>    Affects Versions: 1.6
>            Reporter: Ankur Raiyani
>            Priority: Minor
>              Labels: common-pool
>
> Hi,
> I am using common pools to hold session objects of web service.
> The web service provider has asynchronous login service. So, in immediate response of
login request it returns blank token.
> The actual Session Token is received on post back listener URL and at this time i need
to get the object from pool and update it with session token.
> That is the reason of this enhancement request. So, that i can borrow specific object
by its id or some unique property and update its status and release it.
> Please let me know if any further clarification is required.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message