Introduce cache for module descriptors

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Fixed
    • 3.0
    • Component/s: None

      In some cases you need to call com.atlassian.plugin.PluginAccessor.getEnabledModuleDescriptorsByClass(Class<D>) very frequently to get an uptodate list of module descriptors. In that cases it makes sense to cache that list as it's very unlikely to change a lot while Confluence is running. It only changes when you enable/disable plugin modules, so the cache needs to listen to those events and update itself accordingly.

              Assignee:
              Chris Kiehl
              Reporter:
              Chris Kiehl
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: