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.
- relates to
-
CONFSERVER-15213 Allow plugins to change the score for search results
- Closed