public class

CachingPluginIndexConfigurationManager

extends Object
implements PluginIndexConfigurationManager
java.lang.Object
   ↳ com.atlassian.jira.index.property.CachingPluginIndexConfigurationManager

Summary

Public Constructors
CachingPluginIndexConfigurationManager(OfBizPluginIndexConfigurationManager delegate, CacheManager cacheManager)
Public Methods
Iterable<PluginIndexConfiguration> getDocumentsForEntity(String entityKey)
@EventListener void onClearCache(ClearCacheEvent event)
void onPluginRefreshed(PluginRefreshedEvent event)
void onPluginUninstalled(PluginUninstalledEvent event)
void onPluginUpgraded(PluginUpgradedEvent event)
void put(String pluginKey, String moduleKey, IndexDocumentConfiguration document)
Sets the description of entity's indexing for the given plugin and module's keys.
void remove(String pluginKey)
Removes the description of entity's indexing for the given plugin.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.index.property.PluginIndexConfigurationManager

Public Constructors

public CachingPluginIndexConfigurationManager (OfBizPluginIndexConfigurationManager delegate, CacheManager cacheManager)

Public Methods

public Iterable<PluginIndexConfiguration> getDocumentsForEntity (String entityKey)

@EventListener public void onClearCache (ClearCacheEvent event)

public void onPluginRefreshed (PluginRefreshedEvent event)

public void onPluginUninstalled (PluginUninstalledEvent event)

public void onPluginUpgraded (PluginUpgradedEvent event)

public void put (String pluginKey, String moduleKey, IndexDocumentConfiguration document)

Sets the description of entity's indexing for the given plugin and module's keys.

Parameters
pluginKey the key of the plugin.
moduleKey the key of the module.
document the description of entity's indexing.

public void remove (String pluginKey)

Removes the description of entity's indexing for the given plugin.

Parameters
pluginKey the key of the plugin.