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 14981] - getNumActive() count is wrong when returnObject() is used to pre-populate StackObjectPool
Date Thu, 24 Apr 2003 01:22:15 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14981>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14981

getNumActive() count is wrong when returnObject()  is used to pre-populate StackObjectPool

rwaldhoff@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WONTFIX                     |



------- Additional Comments From rwaldhoff@apache.org  2003-04-24 01:22 -------
We've added the requested "addObject()" method to GenericObjectPool, so calling 
this "WONTFIX" isn't accurate.

It's not difficult to add the corresponding method to StackObjectPool (as 
requested here) and to SoftReferenceObjectPool.  At that point, adding it to 
the interface and BaseObjectPool implemention seem reasonable to me, since 
we've already added interface methods for the 2.0 release.

I've just added these methods to the ObjectPool tree.  We should probably add 
corresponding methods to the KeyedObjectPool tree as well.

---------------------------------------------------------------------
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