-
Improvement
-
Resolution: Duplicate
-
Neutral
-
None
-
5.4
-
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:
- http://ehcache.org/documentation/2.8/configuration/configuration#dynamically-changing-cache-configuration
- cacheManager = CacheManager.create(cfg);
- cacheManager.getConfiguration().setDefaultCacheConfiguration()
- ...
Acceptance criteria
- caused by
-
MGNLCACHE-32 Upgrade Ehcache to the latest (2.10.0)
- Closed
- is superseded by
-
MGNLCACHE-75 Make it possible to share default configuration between multiple caches
- Closed