Package com.atlassian.confluence.cache
Enum Class CoreCache
- All Implemented Interfaces:
Serializable
,Comparable<CoreCache>
,Constable
An enumeration which defines various caches used in Confluence Core.
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 practice 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.
- Since:
- 7.5
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription -
Method Summary
Modifier and TypeMethodDescription<K,
V> com.atlassian.cache.Cache<K, V> getCache
(com.atlassian.cache.CacheFactory cacheFactory) Convenince method that resolves this cache against an Atlassian CacheCacheFactory
.<T> T
Resolves this cache using a function which takes thesystemCacheName
.static CoreCache
Returns the enum constant of this class with the specified name.static CoreCache[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ATTACHMENT_DOWNLOAD_PATH_BY_CONTENT_ID_AND_FILENAME
-
ATTACHMENT_ID_BY_CONTENT_ID_AND_FILENAME
-
BANDANA_VALUE_BY_CONTEXT_AND_KEY
-
CAPTCHA_BY_ID
-
CONTENT_PERMISSION_SETS_BY_CONTENT_ID
-
CONTENT_PROPERTY_BY_CONTENT_ID_AND_KEY
-
CROWD_GROUPS_BY_NAME
-
CROWD_GROUP_ATTRIBUTES_BY_NAME
-
CROWD_USERS_BY_NAME
-
CROWD_USERS_BY_EMAIL
-
CROWD_USER_ATTRIBUTES_BY_NAME
-
DECORATORS_BY_SPACE_KEY
-
DECORATORS_EXIST_BY_SPACE_KEY
-
DIFF_RESULT_BY_KEY
-
FORMAT_SETTINGS
-
GLOBAL_THEME_KEY
-
GROUP_MEMBERSHIPS_BY_USER
-
I18N_BY_LOCALE
-
IS_USER_WATCHING_CONTENT
-
LOCALE_BY_USER_NAME
-
LOGIN_MANAGER_FAILURE_CACHE
-
MACRO_METADATA
-
MAU_LAST_SENT_TIME_BY_USER
-
MOST_POPULAR_BY_SPACE
-
MOST_RECENT_JOURNAL_ID
-
PAGE_ID_BY_SPACE_KEY_AND_TITLE
-
PERMITTED_GROUP_NAMES_BY_SPACE
-
PLUGIN_PERSISTENT_STATE
-
REGISTERED_USERS
-
REMOTE_DIRECTORY_BY_ID
-
SCHEDULED_JOB_STATUS
-
SITE_ENABLED_DARK_FEATURES
-
SPACE_ID_BY_SPACE_KEY
-
SPACE_PERMISSIONS
-
SPACE_PERMISSIONS_BY_SPACE_KEY
-
SPACE_RETENTION_POLICY_BY_SPACE_KEY
-
SPACE_THEME_KEY
-
UPGRADE_HISTORY
-
FINALIZED_BUILD_NUMBER
-
USER_ID_BY_USER_KEY
-
USER_KEY_BY_USER_NAME
-
USER_PROPERTY_SETS
-
USER_PROPERTY_SET_REFERENCES
-
VELOCITY_RESOURCES
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
resolve
Resolves this cache using a function which takes thesystemCacheName
. -
getCache
public <K,V> com.atlassian.cache.Cache<K,V> getCache(com.atlassian.cache.CacheFactory cacheFactory) Convenince method that resolves this cache against an Atlassian CacheCacheFactory
.
-