Class CachingThemeKeyDao
java.lang.Object
com.atlassian.confluence.impl.themes.CachingThemeKeyDao
- All Implemented Interfaces:
ThemeKeyDao
An implementation of
ThemeKeyDao that caches the responses from a delegate.- Since:
- 7.7
-
Method Summary
Modifier and TypeMethodDescriptionstatic CachingThemeKeyDaocreate(ThemeKeyDao delegate, com.atlassian.cache.CacheFactory cacheFactory) getSpaceThemeKey(@Nullable String spaceKey) voidsetGlobalThemeKey(String themeKey) voidsetSpaceThemeKey(String spaceKey, String themeKey)
-
Method Details
-
create
public static CachingThemeKeyDao create(ThemeKeyDao delegate, com.atlassian.cache.CacheFactory cacheFactory) -
getGlobalThemeKey
- Specified by:
getGlobalThemeKeyin interfaceThemeKeyDao
-
getSpaceThemeKey
- Specified by:
getSpaceThemeKeyin interfaceThemeKeyDao
-
setGlobalThemeKey
- Specified by:
setGlobalThemeKeyin interfaceThemeKeyDao
-
setSpaceThemeKey
- Specified by:
setSpaceThemeKeyin interfaceThemeKeyDao
-