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

Description

I have a situation where several key may refer the same object.

Like ehcache does not suport this feature, the same object will be stored for each key (n instances of the same object, where n is the number of diferent keys that that object may be refered from).

At some point i have the knowledge to calculate the other keys, but not before i need them.

Situation :

GEN KEY (1) Check if object is in cache (2) TRUE : Retreve it

  FALSE : Process the new object (3)
                Place it in ehcache    return OBJECT

At point (1) just know one of the keys. At the point (3) there is the possibility to know all keys that the object may have associated to it in ehcache. The problem is that the keys are needed at point (2).

That is, to associate to one key only must know the object it self (the one that is in cache). When adding the object i know the other keys so, the knowledge to refer the same object to the several keys is possible. Sourceforge Ticket ID: 1252721 - Opened By: danielcampelo - 5 Aug 2005 17:21 UTC

Comments

Sourceforge Tracker 2009-09-21

Logged In: YES user_id=693320

There is a product called jofti that solves this problem. It works with ehcache. See http://jofti.com/ Comment by: gregluck - 15 Apr 2006 08:23 UTC

Fiona OShea 2009-09-22

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