Package org.opencms.db
Class CmsCacheSettings
java.lang.Object
org.opencms.db.CmsCacheSettings
The settings of the OpenCms memory monitor.
- Since:
- 6.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns the size of the memory monitor's cache for ACLs.Returns the name of the class to generate cache keys.intReturns the size of the memory monitor's cache for organizational units.intReturns the size of the memory monitor's cache for project resources.intReturns the size of the memory monitor's cache for property lists.intReturns the size of the memory monitor's cache for roles.intReturns the size of the memory monitor's cache for groups.intReturns the size of the memory monitor's cache for organizational units.intReturns the size of the memory monitor's cache for permission checks.intReturns the size of the memory monitor's cache for projects.intReturns the size of the memory monitor's cache for project resources.intReturns the size of the memory monitor's cache for properties.intReturns the size of the memory monitor's cache for property lists.intReturns the size of the memory monitor's cache for resources.intReturns the size of the memory monitor's cache for lists of resources.intReturns the size of the memory monitor's cache for roles.intReturns the size of the memory monitor's cache for users.intReturns the size of the memory monitor's cache for user/group relations.voidsetAclCacheSize(String size) Sets the size of the memory monitor's cache for ACLs.voidsetCacheKeyGenerator(String classname) Sets the name of the class to generate cache keys.voidsetGroupCacheSize(String size) Sets the size of the memory monitor's cache for groups.voidsetOrgUnitCacheSize(String size) Sets the size of the memory monitor's cache for organizational units.voidsetPermissionCacheSize(String size) Sets the size of the memory monitor's cache for permission checks.voidsetProjectCacheSize(String size) Sets the size of the memory monitor's cache for projects.voidSets the size of the memory monitor's cache for project resources.voidsetPropertyCacheSize(String size) Sets the size of the memory monitor's cache for properties.voidSets the size of the memory monitor's cache for property lists.voidsetResourceCacheSize(String size) Sets the size of the memory monitor's cache for resources.voidSets the size of the memory monitor's cache for lists of resources.voidsetRolesCacheSize(String size) Sets the size of the memory monitor's cache for roles.voidsetUserCacheSize(String size) Sets the size of the memory monitor's cache for users.voidsetUserGroupsCacheSize(String size) Sets the size of the memory monitor's cache for user/group relations.
-
Constructor Details
-
CmsCacheSettings
public CmsCacheSettings()Default constructor.
-
-
Method Details
-
getAclCacheSize
Returns the size of the memory monitor's cache for ACLs.- Returns:
- the size of the memory monitor's cache for ACLs
-
getCacheKeyGenerator
Returns the name of the class to generate cache keys.- Returns:
- the name of the class to generate cache keys
-
getConfiguredOrgUnitCacheSize
Returns the size of the memory monitor's cache for organizational units.Might be
-1if configuration entry is missing.- Returns:
- the size of the memory monitor's cache for organizational units
-
getConfiguredProjectResourcesCacheSize
Returns the size of the memory monitor's cache for project resources.Might be
-1if configuration entry is missing.- Returns:
- the size of the memory monitor's cache for project resources
-
getConfiguredPropertyListsCacheSize
Returns the size of the memory monitor's cache for property lists.Might be
-1if configuration entry is missing.- Returns:
- the size of the memory monitor's cache for property lists
-
getConfiguredRolesCacheSize
Returns the size of the memory monitor's cache for roles.Might be
-1if configuration entry is missing.- Returns:
- the size of the memory monitor's cache for roles
-
getGroupCacheSize
Returns the size of the memory monitor's cache for groups.- Returns:
- the size of the memory monitor's cache for groups
-
getOrgUnitCacheSize
Returns the size of the memory monitor's cache for organizational units.- Returns:
- the size of the memory monitor's cache for organizational units
-
getPermissionCacheSize
Returns the size of the memory monitor's cache for permission checks.- Returns:
- the size of the memory monitor's cache for permission checks
-
getProjectCacheSize
Returns the size of the memory monitor's cache for projects.- Returns:
- the size of the memory monitor's cache for projects
-
getProjectResourcesCacheSize
Returns the size of the memory monitor's cache for project resources.- Returns:
- the size of the memory monitor's cache for project resources
-
getPropertyCacheSize
Returns the size of the memory monitor's cache for properties.- Returns:
- the size of the memory monitor's cache for properties
-
getPropertyListsCacheSize
Returns the size of the memory monitor's cache for property lists.- Returns:
- the size of the memory monitor's cache for property lists
-
getResourceCacheSize
Returns the size of the memory monitor's cache for resources.- Returns:
- the size of the memory monitor's cache for resources
-
getResourcelistCacheSize
Returns the size of the memory monitor's cache for lists of resources.- Returns:
- the size of the memory monitor's cache for lists of resources
-
getRolesCacheSize
Returns the size of the memory monitor's cache for roles.- Returns:
- the size of the memory monitor's cache for roles
-
getUserCacheSize
Returns the size of the memory monitor's cache for users.- Returns:
- the size of the memory monitor's cache for users
-
getUserGroupsCacheSize
Returns the size of the memory monitor's cache for user/group relations.- Returns:
- the size of the memory monitor's cache for user/group relations
-
setAclCacheSize
Sets the size of the memory monitor's cache for ACLs.- Parameters:
size- the size of the memory monitor's cache for ACLs
-
setCacheKeyGenerator
Sets the name of the class to generate cache keys.- Parameters:
classname- the name of the class to generate cache keys
-
setGroupCacheSize
Sets the size of the memory monitor's cache for groups.- Parameters:
size- the size of the memory monitor's cache for groups
-
setOrgUnitCacheSize
Sets the size of the memory monitor's cache for organizational units.- Parameters:
size- the size of the memory monitor's cache for organizational units
-
setPermissionCacheSize
Sets the size of the memory monitor's cache for permission checks.- Parameters:
size- the size of the memory monitor's cache for permission checks
-
setProjectCacheSize
Sets the size of the memory monitor's cache for projects.- Parameters:
size- the size of the memory monitor's cache for projects
-
setProjectResourcesCacheSize
Sets the size of the memory monitor's cache for project resources.- Parameters:
size- the size of the memory monitor's cache for project resources
-
setPropertyCacheSize
Sets the size of the memory monitor's cache for properties.- Parameters:
size- the size of the memory monitor's cache for properties
-
setPropertyListsCacheSize
Sets the size of the memory monitor's cache for property lists.- Parameters:
size- the size of the memory monitor's cache for property lists
-
setResourceCacheSize
Sets the size of the memory monitor's cache for resources.- Parameters:
size- the size of the memory monitor's cache for resources
-
setResourcelistCacheSize
Sets the size of the memory monitor's cache for lists of resources.- Parameters:
size- the size of the memory monitor's cache for lists of resources
-
setRolesCacheSize
Sets the size of the memory monitor's cache for roles.- Parameters:
size- the size of the memory monitor's cache for roles
-
setUserCacheSize
Sets the size of the memory monitor's cache for users.- Parameters:
size- the size of the memory monitor's cache for users
-
setUserGroupsCacheSize
Sets the size of the memory monitor's cache for user/group relations.- Parameters:
size- the size of the memory monitor's cache for user/group relations
-