com.atlassian.jira.admin.quicknav
Class CompositeFragmentAliasProvider.ResettableLazyKeyToAliasesCache
java.lang.Object
com.atlassian.util.concurrent.ResettableLazyReference<ConcurrentMap<com.atlassian.jira.admin.quicknav.CompositeFragmentAliasProvider.AbstractKey,Set<String>>>
com.atlassian.jira.admin.quicknav.CompositeFragmentAliasProvider.ResettableLazyKeyToAliasesCache
- All Implemented Interfaces:
- com.atlassian.util.concurrent.Supplier<ConcurrentMap<com.atlassian.jira.admin.quicknav.CompositeFragmentAliasProvider.AbstractKey,Set<String>>>
- Enclosing class:
- CompositeFragmentAliasProvider
public static final class CompositeFragmentAliasProvider.ResettableLazyKeyToAliasesCache
- extends com.atlassian.util.concurrent.ResettableLazyReference<ConcurrentMap<com.atlassian.jira.admin.quicknav.CompositeFragmentAliasProvider.AbstractKey,Set<String>>>
Resettable, lazy cache for link keys to results.
Method Summary |
void |
clearCacheOnDisabled(com.atlassian.plugin.event.events.PluginModuleDisabledEvent event)
Clears the keyword cache when a PluginModuleDisabledEvent is fired. |
void |
clearCacheOnEnabled(com.atlassian.plugin.event.events.PluginModuleEnabledEvent event)
Clears the keyword cache when a PluginModuleEnabledEvent is fired. |
protected ConcurrentMap<com.atlassian.jira.admin.quicknav.CompositeFragmentAliasProvider.AbstractKey,Set<String>> |
create()
|
Methods inherited from class com.atlassian.util.concurrent.ResettableLazyReference |
cancel, get, getInterruptibly, isInitialized, reset |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompositeFragmentAliasProvider.ResettableLazyKeyToAliasesCache
public CompositeFragmentAliasProvider.ResettableLazyKeyToAliasesCache()
create
protected ConcurrentMap<com.atlassian.jira.admin.quicknav.CompositeFragmentAliasProvider.AbstractKey,Set<String>> create()
throws Exception
- Specified by:
create
in class com.atlassian.util.concurrent.ResettableLazyReference<ConcurrentMap<com.atlassian.jira.admin.quicknav.CompositeFragmentAliasProvider.AbstractKey,Set<String>>>
- Throws:
Exception
clearCacheOnDisabled
@EventListener
public void clearCacheOnDisabled(com.atlassian.plugin.event.events.PluginModuleDisabledEvent event)
- Clears the keyword cache when a PluginModuleDisabledEvent is fired.
- Parameters:
event
- PluginModuleDisabledEvent
clearCacheOnEnabled
@EventListener
public void clearCacheOnEnabled(com.atlassian.plugin.event.events.PluginModuleEnabledEvent event)
- Clears the keyword cache when a PluginModuleEnabledEvent is fired.
- Parameters:
event
- PluginModuleEnabledEvent
Copyright © 2002-2012 Atlassian. All Rights Reserved.