@Internal public enum CoreCache extends Enum<CoreCache>
The enumeration values themselves are fairly arbitrary, intended to be descriptive of what they contain.
The systemCacheName
field contains the name of the cache as used by the various Cache APIs.
Note that ideally every cache used by core would be listed here, but in pactice it's likely to be slightly incomplete, so don't depend on it being exhaustive.
Note also that Hibernate caches won't be listed here.
Modifier and Type | Method and Description |
---|---|
<K,V> com.atlassian.cache.Cache<K,V> |
getCache(com.atlassian.cache.CacheFactory cacheFactory)
Convenince method that resolves this cache against an Atlassian Cache
CacheFactory . |
<T> T |
resolve(Function<String,T> resolver)
Resolves this cache using a function which takes the
systemCacheName . |
static CoreCache |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CoreCache[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CoreCache ATTACHMENT_DOWNLOAD_PATH_BY_CONTENT_ID_AND_FILENAME
public static final CoreCache ATTACHMENT_ID_BY_CONTENT_ID_AND_FILENAME
public static final CoreCache BANDANA_VALUE_BY_CONTEXT_AND_KEY
public static final CoreCache CAPTCHA_BY_ID
public static final CoreCache CONTENT_PERMISSION_SETS_BY_CONTENT_ID
public static final CoreCache CONTENT_PROPERTY_BY_CONTENT_ID_AND_KEY
public static final CoreCache CROWD_GROUPS_BY_NAME
public static final CoreCache CROWD_GROUP_ATTRIBUTES_BY_NAME
public static final CoreCache CROWD_USERS_BY_NAME
public static final CoreCache CROWD_USERS_BY_EMAIL
public static final CoreCache CROWD_USER_ATTRIBUTES_BY_NAME
public static final CoreCache DECORATORS_BY_SPACE_KEY
public static final CoreCache DECORATORS_EXIST_BY_SPACE_KEY
public static final CoreCache DIFF_RESULT_BY_KEY
public static final CoreCache FORMAT_SETTINGS
public static final CoreCache GLOBAL_THEME_KEY
public static final CoreCache GROUP_MEMBERSHIPS_BY_USER
public static final CoreCache I18N_BY_LOCALE
public static final CoreCache IS_USER_WATCHING_CONTENT
public static final CoreCache LOCALE_BY_USER_NAME
public static final CoreCache MACRO_METADATA
public static final CoreCache MAU_LAST_SENT_TIME_BY_USER
public static final CoreCache MOST_POPULAR_BY_SPACE
public static final CoreCache MOST_RECENT_JOURNAL_ID
public static final CoreCache PAGE_ID_BY_SPACE_KEY_AND_TITLE
public static final CoreCache PERMITTED_GROUP_NAMES_BY_SPACE
public static final CoreCache PLUGIN_PERSISTENT_STATE
public static final CoreCache REGISTERED_USERS
public static final CoreCache REMOTE_DIRECTORY_BY_ID
public static final CoreCache SITE_ENABLED_DARK_FEATURES
public static final CoreCache SPACE_ID_BY_SPACE_KEY
public static final CoreCache SPACE_PERMISSIONS
public static final CoreCache SPACE_PERMISSIONS_BY_SPACE_KEY
public static final CoreCache SPACE_THEME_KEY
public static final CoreCache UPGRADE_HISTORY
public static final CoreCache USER_ID_BY_USER_KEY
public static final CoreCache USER_KEY_BY_USER_NAME
public static final CoreCache USER_PROPERTY_SETS
public static final CoreCache USER_PROPERTY_SET_REFERENCES
public static final CoreCache VELOCITY_RESOURCES
public static CoreCache[] values()
for (CoreCache c : CoreCache.values()) System.out.println(c);
public static CoreCache valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic <T> T resolve(Function<String,T> resolver)
systemCacheName
.public <K,V> com.atlassian.cache.Cache<K,V> getCache(com.atlassian.cache.CacheFactory cacheFactory)
CacheFactory
.Copyright © 2003–2021 Atlassian. All rights reserved.