public class TopHitCache extends java.lang.Object implements Disposable
Disposable.Parent
Modifier and Type | Field and Description |
---|---|
protected java.util.concurrent.ConcurrentMap<java.lang.Class<?>,java.util.Collection<OptionDescription>> |
map |
Constructor and Description |
---|
TopHitCache() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
void |
dispose()
Usually not invoked directly, see class javadoc.
|
java.util.Collection<OptionDescription> |
getCachedOptions(OptionsSearchTopHitProvider provider,
Project project,
PluginDescriptor pluginDescriptor) |
static TopHitCache |
getInstance() |
void |
invalidateCachedOptions(java.lang.Class<? extends OptionsSearchTopHitProvider.ApplicationLevelProvider> providerClass) |
protected final java.util.concurrent.ConcurrentMap<java.lang.Class<?>,java.util.Collection<OptionDescription>> map
public static TopHitCache getInstance()
public void dispose()
Disposable
dispose
in interface Disposable
public void clear()
public void invalidateCachedOptions(java.lang.Class<? extends OptionsSearchTopHitProvider.ApplicationLevelProvider> providerClass)
public java.util.Collection<OptionDescription> getCachedOptions(OptionsSearchTopHitProvider provider, Project project, PluginDescriptor pluginDescriptor)