PluginAccessor.getEnabledModuleDescriptorsByClass(Class)
are cached now.@Deprecated public class CacheBackedLuceneSearchMapperRegistry extends Object implements LuceneSearchMapperRegistry
Modifier and Type | Field and Description |
---|---|
protected com.atlassian.plugin.PluginAccessor |
pluginAccessor
Deprecated.
|
Constructor and Description |
---|
CacheBackedLuceneSearchMapperRegistry(com.atlassian.plugin.PluginAccessor pluginAccessor)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
LuceneQueryMapper |
getQueryMapper(String key)
Deprecated.
|
LuceneResultFilterMapper |
getResultFilterMapper(String key)
Deprecated.
|
LuceneSearchFilterMapper |
getSearchFilterMapper(String key)
Deprecated.
|
LuceneSortMapper |
getSortMapper(String key)
Deprecated.
|
void |
synchronizeModuleDescriptorsCache()
Deprecated.
Initialise or refresh the cache of lucene mapper module descriptors from the plugin subsystem
|
protected final com.atlassian.plugin.PluginAccessor pluginAccessor
public CacheBackedLuceneSearchMapperRegistry(com.atlassian.plugin.PluginAccessor pluginAccessor)
public LuceneQueryMapper getQueryMapper(String key)
getQueryMapper
in interface LuceneSearchMapperRegistry
public LuceneSortMapper getSortMapper(String key)
getSortMapper
in interface LuceneSearchMapperRegistry
public LuceneResultFilterMapper getResultFilterMapper(String key)
getResultFilterMapper
in interface LuceneSearchMapperRegistry
public LuceneSearchFilterMapper getSearchFilterMapper(String key)
getSearchFilterMapper
in interface LuceneSearchMapperRegistry
key
- the key of the SearchFilter
to fetch a mapper forpublic void synchronizeModuleDescriptorsCache()
Copyright © 2003–2019 Atlassian. All rights reserved.