Uploaded image for project: 'Cache Modules'
  1. Cache Modules
  2. MGNLCACHE-82

Runtime reconfiguration without killing the caches

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Neutral Neutral
    • None
    • 5.4
    • configuration
    • 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:

      1. We can't call shutdown on restart.
      2. 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:

        Acceptance criteria

              rkovarik Roman Kovařík
              rkovarik Roman Kovařík
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: