Uploaded image for project: 'XWiki Commons'
  1. XWiki Commons
  2. XCOMMONS-3739

Add grouped cache loader for caches sharing an invalidation domain

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • 17.10.0
    • Cache
    • None
    • Unknown

    Description

      The cache loader added in XCOMMONS-3300 currently doesn't really support loading two different types of values - while it supports storing the loaded value wherever you want it, the load method assumes that all load calls for a key return the same value and the result can thus be returned to all callers. The cache loader should support a group of caches that load different types of values that share the same invalidation domain (keys). An example for this is the XWikiCacheStore that has both an exists and a page cache, both over pages as key, that need to be invalidated in a synchronized way.

      Attachments

        Issue Links

          Activity

            People

              MichaelHamann Michael Hamann
              MichaelHamann Michael Hamann
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: