com.xpn.xwiki.cache.impl
Class OSCacheService
java.lang.Object
com.xpn.xwiki.cache.impl.OSCacheService
- All Implemented Interfaces:
- XWikiCacheService, java.lang.Runnable
public class OSCacheService
- extends java.lang.Object
- implements XWikiCacheService, java.lang.Runnable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
private static final org.apache.commons.logging.Log log
PROPS_FILENAME
private static final java.lang.String PROPS_FILENAME
- See Also:
- Constant Field Values
LOCAL_PROPS_FILENAME
private static final java.lang.String LOCAL_PROPS_FILENAME
- See Also:
- Constant Field Values
PROPS_PATH
private static final java.lang.String PROPS_PATH
- See Also:
- Constant Field Values
xwiki
private XWiki xwiki
cacheProperties
private java.util.Properties cacheProperties
localCacheProperties
private java.util.Properties localCacheProperties
cacheCount
private static int cacheCount
cacheList
private java.util.List cacheList
OSCacheService
public OSCacheService()
init
public void init(XWiki xwiki)
- Description copied from interface:
XWikiCacheService
- Initializes the service
- Specified by:
init
in interface XWikiCacheService
newLocalCache
public XWikiCache newLocalCache()
- Specified by:
newLocalCache
in interface XWikiCacheService
newLocalCache
public XWikiCache newLocalCache(int capacity)
- Specified by:
newLocalCache
in interface XWikiCacheService
newCache
public XWikiCache newCache(java.util.Properties props)
newCache
public XWikiCache newCache()
- Specified by:
newCache
in interface XWikiCacheService
newCache
public XWikiCache newCache(int capacity)
- Specified by:
newCache
in interface XWikiCacheService
initCache
private void initCache(OSCacheCache cc)
loadProps
private java.util.Properties loadProps(java.lang.String propertiesFilename)
run
public void run()
- The cache watcher thread
- Specified by:
run
in interface java.lang.Runnable
Copyright 2003 Ludovic Dubost