|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.db.CmsCacheSettings
public class CmsCacheSettings
The settings of the OpenCms memory monitor.
Constructor Summary | |
---|---|
CmsCacheSettings()
Default constructor. |
Method Summary | |
---|---|
int |
getAclCacheSize()
Returns the size of the memory monitor's cache for ACLs. |
String |
getCacheKeyGenerator()
Returns the name of the class to generate cache keys. |
int |
getConfiguredOrgUnitCacheSize()
Returns the size of the memory monitor's cache for organizational units. |
int |
getConfiguredProjectResourcesCacheSize()
Returns the size of the memory monitor's cache for project resources. |
int |
getConfiguredPropertyListsCacheSize()
Returns the size of the memory monitor's cache for property lists. |
int |
getConfiguredRolesCacheSize()
Returns the size of the memory monitor's cache for roles. |
int |
getGroupCacheSize()
Returns the size of the memory monitor's cache for groups. |
int |
getOrgUnitCacheSize()
Returns the size of the memory monitor's cache for organizational units. |
int |
getPermissionCacheSize()
Returns the size of the memory monitor's cache for permission checks. |
int |
getProjectCacheSize()
Returns the size of the memory monitor's cache for projects. |
int |
getProjectResourcesCacheSize()
Returns the size of the memory monitor's cache for project resources. |
int |
getPropertyCacheSize()
Returns the size of the memory monitor's cache for properties. |
int |
getPropertyListsCacheSize()
Returns the size of the memory monitor's cache for property lists. |
int |
getResourceCacheSize()
Returns the size of the memory monitor's cache for resources. |
int |
getResourcelistCacheSize()
Returns the size of the memory monitor's cache for lists of resources. |
int |
getRolesCacheSize()
Returns the size of the memory monitor's cache for roles. |
int |
getUserCacheSize()
Returns the size of the memory monitor's cache for users. |
int |
getUserGroupsCacheSize()
Returns the size of the memory monitor's cache for user/group relations. |
void |
setAclCacheSize(String size)
Sets the size of the memory monitor's cache for ACLs. |
void |
setCacheKeyGenerator(String classname)
Sets the name of the class to generate cache keys. |
void |
setGroupCacheSize(String size)
Sets the size of the memory monitor's cache for groups. |
void |
setOrgUnitCacheSize(String size)
Sets the size of the memory monitor's cache for organizational units. |
void |
setPermissionCacheSize(String size)
Sets the size of the memory monitor's cache for permission checks. |
void |
setProjectCacheSize(String size)
Sets the size of the memory monitor's cache for projects. |
void |
setProjectResourcesCacheSize(String size)
Sets the size of the memory monitor's cache for project resources. |
void |
setPropertyCacheSize(String size)
Sets the size of the memory monitor's cache for properties. |
void |
setPropertyListsCacheSize(String size)
Sets the size of the memory monitor's cache for property lists. |
void |
setResourceCacheSize(String size)
Sets the size of the memory monitor's cache for resources. |
void |
setResourcelistCacheSize(String size)
Sets the size of the memory monitor's cache for lists of resources. |
void |
setRolesCacheSize(String size)
Sets the size of the memory monitor's cache for roles. |
void |
setUserCacheSize(String size)
Sets the size of the memory monitor's cache for users. |
void |
setUserGroupsCacheSize(String size)
Sets the size of the memory monitor's cache for user/group relations. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CmsCacheSettings()
Method Detail |
---|
public int getAclCacheSize()
public String getCacheKeyGenerator()
public int getConfiguredOrgUnitCacheSize()
Might be -1
if configuration entry is missing.
public int getConfiguredProjectResourcesCacheSize()
Might be -1
if configuration entry is missing.
public int getConfiguredPropertyListsCacheSize()
Might be -1
if configuration entry is missing.
public int getConfiguredRolesCacheSize()
Might be -1
if configuration entry is missing.
public int getGroupCacheSize()
public int getOrgUnitCacheSize()
public int getPermissionCacheSize()
public int getProjectCacheSize()
public int getProjectResourcesCacheSize()
public int getPropertyCacheSize()
public int getPropertyListsCacheSize()
public int getResourceCacheSize()
public int getResourcelistCacheSize()
public int getRolesCacheSize()
public int getUserCacheSize()
public int getUserGroupsCacheSize()
public void setAclCacheSize(String size)
size
- the size of the memory monitor's cache for ACLspublic void setCacheKeyGenerator(String classname)
classname
- the name of the class to generate cache keyspublic void setGroupCacheSize(String size)
size
- the size of the memory monitor's cache for groupspublic void setOrgUnitCacheSize(String size)
size
- the size of the memory monitor's cache for organizational unitspublic void setPermissionCacheSize(String size)
size
- the size of the memory monitor's cache for permission checkspublic void setProjectCacheSize(String size)
size
- the size of the memory monitor's cache for projectspublic void setProjectResourcesCacheSize(String size)
size
- the size of the memory monitor's cache for project resourcespublic void setPropertyCacheSize(String size)
size
- the size of the memory monitor's cache for propertiespublic void setPropertyListsCacheSize(String size)
size
- the size of the memory monitor's cache for property listspublic void setResourceCacheSize(String size)
size
- the size of the memory monitor's cache for resourcespublic void setResourcelistCacheSize(String size)
size
- the size of the memory monitor's cache for lists of resourcespublic void setRolesCacheSize(String size)
size
- the size of the memory monitor's cache for rolespublic void setUserCacheSize(String size)
size
- the size of the memory monitor's cache for userspublic void setUserGroupsCacheSize(String size)
size
- the size of the memory monitor's cache for user/group relations
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |