Project

General

Profile

task #10077

Updated by Andreas Müller over 1 year ago

Probably blocked by Spring upgrade to 5.x (#10216). 

 There is probably a duplicate #9207 which points out size, groupID and package structure issues. 

 Need to check how this works together with hibernate and spring caching. 

 There is a branch "feature_10077" (still local on cdmlib2/AM) for some changes. 

 In this context we should unify cache handling as there is CdmCacherBase and EhCacheConfiguration which both do define a getDefaultCacheConfiguration() - #10218 . getDefaultCacheConfiguration(). 

 As configuration is now created by builder classes and are probably immutable we may need to change architecture a bit as EhCacheConfiguration and EhCacheDiskStoreConfiguration are both spring configurations. 

 Note: Don't forget to remove workaround class net.sf.ehcache.util.PreferredLoaderObjectInputStream from taxeditor.cdmlib (see #10075) after upgrading. 

 Note2: Don't forget to improve workaround for oaipmh (see AbstractOaiPmhController comments on cacheManager), #3408 and springmodules comments in #9359 (e.g. use EhCacheXXX in spring-context-support ) 

 Useful Links: 

 * migration: https://www.ehcache.org/documentation/3.10/migration-guide.html 
 * disk storage: https://www.ehcache.org/documentation/3.10/tiering.html#disk 
 * general: https://www.ehcache.org/documentation/ 
 * configure diskstore in 2.10 (looks like it should be configured per cacheMananger): https://www.ehcache.org/generated/2.10.4/html/ehc-all/#page/Ehcache_Documentation_Set%2Fco-tiers_configuring_disk_store.html%23 

Back