commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Meibusch (JIRA)" <>
Subject [jira] Created: (POOL-134) Parameterize the maxWait time to be per borrow call
Date Thu, 07 May 2009 06:30:32 GMT
Parameterize the maxWait time to be per borrow call

                 Key: POOL-134
             Project: Commons Pool
          Issue Type: Improvement
    Affects Versions: 1.4
         Environment: JRE 1.4.x
            Reporter: David Meibusch
            Priority: Minor

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
The current implementation requires only minor changes to support a per borrowObject maxTime.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message