public class CachingThemeKeyDao extends Object implements ThemeKeyDao
ThemeKeyDao
that caches the responses from a delegate.Modifier and Type | Method and Description |
---|---|
static CachingThemeKeyDao |
create(ThemeKeyDao delegate,
com.atlassian.cache.CacheFactory cacheFactory) |
Optional<String> |
getGlobalThemeKey() |
Optional<String> |
getSpaceThemeKey(String spaceKey) |
void |
setGlobalThemeKey(String themeKey) |
void |
setSpaceThemeKey(String spaceKey,
String themeKey) |
public static CachingThemeKeyDao create(ThemeKeyDao delegate, com.atlassian.cache.CacheFactory cacheFactory)
public Optional<String> getGlobalThemeKey()
getGlobalThemeKey
in interface ThemeKeyDao
public Optional<String> getSpaceThemeKey(@Nullable String spaceKey)
getSpaceThemeKey
in interface ThemeKeyDao
public void setGlobalThemeKey(String themeKey)
setGlobalThemeKey
in interface ThemeKeyDao
public void setSpaceThemeKey(String spaceKey, String themeKey)
setSpaceThemeKey
in interface ThemeKeyDao
Copyright © 2003–2023 Atlassian. All rights reserved.
View cookie preferences