org.opencms.db
Class CmsCacheSettings

java.lang.Object
  extended byorg.opencms.db.CmsCacheSettings

public class CmsCacheSettings
extends java.lang.Object

The settings of the OpenCms driver manager.

Since:
6.0.0
Version:
$Revision: 1.4 $
Author:
Thomas Weckert

Constructor Summary
CmsCacheSettings()
          Default constructor.
 
Method Summary
 int getAclCacheSize()
          Returns the size of the driver manager's cache for ACLs.
 java.lang.String getCacheKeyGenerator()
          Returns the name of the class to generate cache keys.
 int getGroupCacheSize()
          Returns the size of the driver manager's cache for groups.
 int getPermissionCacheSize()
          Returns the size of the security manager's cache for permission checks.
 int getProjectCacheSize()
          Returns the size of the driver manager's cache for projects.
 int getPropertyCacheSize()
          Returns the size of the driver manager's cache for properties.
 int getResourceCacheSize()
          Returns the size of the driver manager's cache for resources.
 int getResourcelistCacheSize()
          Returns the size of the driver manager's cache for lists of resources.
 int getUserCacheSize()
          Returns the size of the driver manager's cache for users.
 int getUserGroupsCacheSize()
          Returns the size of the driver manager's cache for user/group relations.
 void setAclCacheSize(java.lang.String size)
          Sets the size of the driver manager's cache for ACLs.
 void setCacheKeyGenerator(java.lang.String classname)
          Sets the name of the class to generate cache keys.
 void setGroupCacheSize(java.lang.String size)
          Sets the size of the driver manager's cache for groups.
 void setPermissionCacheSize(java.lang.String size)
          Sets the size of the security manager's cache for permission checks.
 void setProjectCacheSize(java.lang.String size)
          Sets the size of the driver manager's cache for projects.
 void setPropertyCacheSize(java.lang.String size)
          Sets the size of the driver manager's cache for properties.
 void setResourceCacheSize(java.lang.String size)
          Sets the size of the driver manager's cache for resources.
 void setResourcelistCacheSize(java.lang.String size)
          Sets the size of the driver manager's cache for lists of resources.
 void setUserCacheSize(java.lang.String size)
          Sets the size of the driver manager's cache for users.
 void setUserGroupsCacheSize(java.lang.String size)
          Sets the size of the driver manager'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

CmsCacheSettings

public CmsCacheSettings()
Default constructor.

Method Detail

getAclCacheSize

public int getAclCacheSize()
Returns the size of the driver manager's cache for ACLs.

Returns:
the size of the driver manager's cache for ACLs

getCacheKeyGenerator

public java.lang.String getCacheKeyGenerator()
Returns the name of the class to generate cache keys.

Returns:
the name of the class to generate cache keys

getGroupCacheSize

public int getGroupCacheSize()
Returns the size of the driver manager's cache for groups.

Returns:
the size of the driver manager's cache for groups

getPermissionCacheSize

public int getPermissionCacheSize()
Returns the size of the security manager's cache for permission checks.

Returns:
the size of the security manager's cache for permission checks

getProjectCacheSize

public int getProjectCacheSize()
Returns the size of the driver manager's cache for projects.

Returns:
the size of the driver manager's cache for projects

getPropertyCacheSize

public int getPropertyCacheSize()
Returns the size of the driver manager's cache for properties.

Returns:
the size of the driver manager's cache for properties

getResourceCacheSize

public int getResourceCacheSize()
Returns the size of the driver manager's cache for resources.

Returns:
the size of the driver manager's cache for resources

getResourcelistCacheSize

public int getResourcelistCacheSize()
Returns the size of the driver manager's cache for lists of resources.

Returns:
the size of the driver manager's cache for lists of resources

getUserCacheSize

public int getUserCacheSize()
Returns the size of the driver manager's cache for users.

Returns:
the size of the driver manager's cache for users

getUserGroupsCacheSize

public int getUserGroupsCacheSize()
Returns the size of the driver manager's cache for user/group relations.

Returns:
the size of the driver manager's cache for user/group relations

setAclCacheSize

public void setAclCacheSize(java.lang.String size)
Sets the size of the driver manager's cache for ACLs.

Parameters:
size - the size of the driver manager's cache for ACLs

setCacheKeyGenerator

public void setCacheKeyGenerator(java.lang.String classname)
Sets the name of the class to generate cache keys.

Parameters:
classname - the name of the class to generate cache keys

setGroupCacheSize

public void setGroupCacheSize(java.lang.String size)
Sets the size of the driver manager's cache for groups.

Parameters:
size - the size of the driver manager's cache for groups

setPermissionCacheSize

public void setPermissionCacheSize(java.lang.String size)
Sets the size of the security manager's cache for permission checks.

Parameters:
size - the size of the security manager's cache for permission checks

setProjectCacheSize

public void setProjectCacheSize(java.lang.String size)
Sets the size of the driver manager's cache for projects.

Parameters:
size - the size of the driver manager's cache for projects

setPropertyCacheSize

public void setPropertyCacheSize(java.lang.String size)
Sets the size of the driver manager's cache for properties.

Parameters:
size - the size of the driver manager's cache for properties

setResourceCacheSize

public void setResourceCacheSize(java.lang.String size)
Sets the size of the driver manager's cache for resources.

Parameters:
size - the size of the driver manager's cache for resources

setResourcelistCacheSize

public void setResourcelistCacheSize(java.lang.String size)
Sets the size of the driver manager's cache for lists of resources.

Parameters:
size - the size of the driver manager's cache for lists of resources

setUserCacheSize

public void setUserCacheSize(java.lang.String size)
Sets the size of the driver manager's cache for users.

Parameters:
size - the size of the driver manager's cache for users

setUserGroupsCacheSize

public void setUserGroupsCacheSize(java.lang.String size)
Sets the size of the driver manager's cache for user/group relations.

Parameters:
size - the size of the driver manager's cache for user/group relations