Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Won't Fix
-
None
-
None
-
None
Description
Add in some checks to ensure that the two caches within SpecificationCacheDefault never get out of step.
Needs to take into account / improve the horrible kludge of the ThreadLocal used in calls around invalidateCache, in ObjectSpecificationAbstract#getAssociation(String id)
~~~
Also, probably don't need to eagerly introspect all specs. Perhaps just enough to determine the ObjectSpecId. Should there be three levels of introspection? NOT_INTROSPECTED, OBJECT_SPEC_ID_INTROSPECTED, FULLY_INTROSPECTED ?