commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 38660] New: - [pool] proposed ObjectPools.borrowObject JavaDoc changes for 2.0
Date Wed, 15 Feb 2006 17:37:27 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38660>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38660

           Summary: [pool] proposed ObjectPools.borrowObject JavaDoc changes
                    for 2.0
           Product: Commons
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Keywords: PatchAvailable
          Severity: enhancement
          Priority: P3
         Component: Pool
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: Sandy@McArthur.org


Attached are the pool 2.0 changes I'd like to see to the ObjectPool and the
KeyedObjectPool interfaces for the borrowObject method. The noteworthy changes are:

Added: "Instances returned from this method will have been either newly created
with PoolableObjectFactory.makeObject or will be a previously idle object and
have been activated with PoolableObjectFactory.activateObject and then validated
with PoolableObjectFactory.validateObject."

Added: That borrowed objects can be returned to the invalidateObject method too.

Added: That client code should expect a NoSuchElementException for when the pool
has been exhaused and older versions of pool have been know to return null.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message