Change By: Roman Kovařík (05/Feb/15 3:26 PM)
Description: 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()}}
- ...

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to