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

Runtime reconfiguration without killing the caches

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Neutral
    • Resolution: Duplicate
    • Affects Version/s: 5.4
    • Fix Version/s: None
    • Component/s: configuration
    • Labels:
      None

      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:

      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:

        Checklists

        Acceptance criteria

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Checklists

                    DoD