• Bug
  • Status: Closed
  • Resolution: Fixed
  • drb
  • Reporter: sourceforgetracker
  • September 21, 2009
  • 0
  • Watchers: 0
  • September 22, 2009
  • September 22, 2009

Description

If you put an Element in a Cache, and wait until the expiration period where the Element is no longer in the Cache, a call to getKeys() still returns the Element key as being in the Cache.

The JavaDoc lists the following for getKeys():

“Returns the keys of all elements in the cache The List returned is not live. It is a copy.”

But I didn’t read that as being that keys survive beyond the Element expiration in the Cache. If that is the case, perhaps the documentation can be beefed up to include this conditional?

Email for code snippet if you’d like..

Code version = ehcache-0.8.jar

[email protected]

Sourceforge Ticket ID: 961575 - Opened By: nobody - 27 May 2004 13:58 UTC

Comments

Fiona OShea 2009-09-22

Re-opening so that I can properly close out these issues and have correct Resolution status in Jira