EHC ❯ Make cache.get() use the CacheLoader if it exists
-
Bug
-
Status: Closed
-
-
Resolution: Fixed
-
-
-
drb
-
Reporter: sourceforgetracker
-
September 21, 2009
-
0
-
Watchers: 0
-
September 22, 2009
-
September 22, 2009
Description
The current behavious is to only use the CacheLoader if you call cache.getWithLoader(), but it should use it on get() as well as this is what is intuitive. Also more inline with the JCache spec.
Sourceforge Ticket ID: 1987751 - Opened By: prophecyslides - 7 Jun 2008 23:25 UTC
Comments
Sourceforge Tracker 2009-09-21
Fiona OShea 2009-09-22
Re-opening so that I can properly close out these issues and have correct Resolution status in Jira
Logged In: YES user_id=693320 Originator: NO
Hi
I looked at this. You can use the JCache decorator if you want JCache behaviour. The ehcache Cache class is not and will not be compliant with JCache. The JCache decorator is.
Comment by: gregluck - 9 Jul 2008 07:20 UTC