Actions
bug #8843
openRevise term caching
Start date:
Due date:
% Done:
0%
Estimated time:
Severity:
normal
Found in Version:
Description
The actual mechanisms of the term caching in the teaxeditor is unclear and undocumented. Several parallel classes and concepts exist whereas it is not clear if these are complementary or redundant.
The documentation in TaxonomicEditorDevelopersGuide only mentions the term caching in CachingHttpInvokerProxyFactoryBean.handleTermRequest(RemoteInvocation invocation, MethodInvocation originalInvocation)
but there is also the TermStore
class which is supposed to load important terms on application startup.
Open questions and Problems:
- Why does
CachingHttpInvokerProxyFactoryBean
(formerlyCdmServiceRequestExecutor
, see #8842) distinguish terms from other cdm entities whereCdmTransientEntityCacher
is caching term internally anyway in theCdmTransientEntityCacher.permanentCache
? Some terms would end up being cached in thepermanentCache
others in theRemoteInvocationTermCacher.termTypeMap
- Is the
TermStore
the fist mechanism mentioned in TaxonomicEditorDevelopersGuide#Term-Loading, or is this something different?
TODO
- improve type level documentation
- improve and update the TaxonomicEditorDevelopersGuide
Related issues
Updated by Andreas Kohlbecker about 4 years ago
- Related to bug #8842: CdmServiceRequestExecutor is not stateleass and neither thread save nor access synchronized added
Actions