Affects Version/s: 5.4
Fix Version/s: None
Currently we call CacheManager.shutdown() which deregister it and the content of living caches is lost (probably because the persistence is not supported in non-re edition).
If we want to keep live caches:
- We can't call shutdown on restart.
- At least some of the properties should be configurable at runtime (see net.sf.ehcache.config.Configuration.DynamicProperty). The change of defaultCacheConfiguration is enough for us.
Not sure how to change the configuration of an existing manager. We could test:
- cacheManager = CacheManager.create(cfg);