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 33265] - [pool] Number of tested objects in eviction runs of GenericObjectPool
Date Thu, 29 Sep 2005 12:33:02 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=33265>.
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=33265





------- Additional Comments From thomas@schuerger.com  2005-09-29 14:33 -------
If the eviction cursor has been closed and has been re-created (because there
was no previous item), then after that there *is* a previous item, so the
timestamp comparison works. There must be a previous item, because the pool has
been tested not to be empty.

So it should be safe to always execute the ELSE body in each iteration (after
the hasPrevious() check, of course).

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