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

Runtime reconfiguration without killing the caches

    XMLWordPrintable

Details

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

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoD