org.xwiki.cache.oscache.internal
Class OSCacheCacheConfiguration
java.lang.Object
org.xwiki.cache.util.AbstractCacheConfigurationLoader
org.xwiki.cache.oscache.internal.OSCacheCacheConfiguration
public class OSCacheCacheConfiguration
- extends AbstractCacheConfigurationLoader
Convert XWiki cache configuration into OSCache configuration.
- Version:
- $Id$
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OSCacheCacheConfiguration
public OSCacheCacheConfiguration(Container container,
CacheConfiguration configuration,
java.lang.String defaultPropsId)
- Parameters:
container - the container used to access configuration files.configuration - the XWiki cache API configuration.defaultPropsId - the default configuration identifier used to load cache configuration file.
getOSCacheProperties
public java.util.Properties getOSCacheProperties()
- Returns:
- the OSCAche configuration.
getTimeToLive
public int getTimeToLive()
- Returns:
- the maximum duration a cache entry can exists without any modification.
getName
public java.lang.String getName()
- Returns:
- the name of the cache.
Copyright © 2004-2011 XWiki. All Rights Reserved.