[ 
https://issues.apache.org/jira/browse/POOL-134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mark Thomas resolved POOL-134.
------------------------------

    Resolution: Fixed
      Assignee: Mark Thomas

> Parameterize the maxWait time to be per borrow call
> ---------------------------------------------------
>
>                 Key: POOL-134
>                 URL: https://issues.apache.org/jira/browse/POOL-134
>             Project: Commons Pool
>          Issue Type: Improvement
>    Affects Versions: 1.4
>         Environment: JRE 1.4.x
>            Reporter: David Meibusch
>            Assignee: Mark Thomas
>            Priority: Minor
>             Fix For: 2.0
>
>
> Use case: 
> The pool is being used to pool connections in a mid-tier system to a backend 
> system.
> Client requests to the system have a configured timeout specified as an 
> elapsed time with respect to the client application. 
> Requests may spend some elapsed time in internal work queues and/or may 
> borrow connections multiple times to service the single request.
> When calling the borrowObject method the mid tier system requires the wait 
> time to be only a portion of request time remaining.
> The maxWait time for the GenericObjectPool is currently a global value for 
> all borrowObject operations.
> The current implementation requires only minor changes to support a per 
> borrowObject maxTime.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to