org.xwiki.cache.config
Class CacheConfiguration

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<java.lang.String,java.lang.Object>
          extended by org.xwiki.cache.config.CacheConfiguration
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.String,java.lang.Object>

public class CacheConfiguration
extends java.util.HashMap<java.lang.String,java.lang.Object>

Contains all informations used to create the cache.

A configuration identifier can be defined. It will be used to me the cache unique for clustering process.

This is also used by implementations to associate the cache with a configuration file which overwrite the configuration it contains. This way any cache can be tuned in a particular installation with option specifics to chosen cache implementation.

Version:
$Id$
See Also:
EntryEvictionConfiguration, Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>
 
Constructor Summary
CacheConfiguration()
           
 
Method Summary
 java.lang.String getConfigurationId()
           
 void setConfigurationId(java.lang.String configurationId)
           
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

CacheConfiguration

public CacheConfiguration()
Method Detail

setConfigurationId

public void setConfigurationId(java.lang.String configurationId)
Parameters:
configurationId - the configuration identifier.

getConfigurationId

public java.lang.String getConfigurationId()
Returns:
the configuration identifier.


Copyright © 2004-2011 XWiki. All Rights Reserved.