Details
-
Type:
Bug
-
Status:
Needs Assessment
-
Priority:
Could
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
There are already plans to convert LogicCache to use ehcache for its caching mechanism rather than a simple Map (see TRAC-1107). Using ehcache will solve these issues and would obviate the need for us to re-invent functionality already provided by ehcache (i.e., cache management, including clearing out expired values).
In any case, LogicCache should never return and expired value. If an entry has expired, then it should appear (to any method calling LogicCache) as if the value is not cached.