org.apache.jackrabbit.core.state
Class ManagedMLRUItemStateCacheFactory
java.lang.Object
org.apache.jackrabbit.core.state.ManagedMLRUItemStateCacheFactory
- All Implemented Interfaces:
- ItemStateCacheFactory
public class ManagedMLRUItemStateCacheFactory
- extends Object
- implements ItemStateCacheFactory
This class constructs new MLRUItemStateCache.
This class adds the new caches to the cache manager,
and links the caches to the cache manager.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ManagedMLRUItemStateCacheFactory
public ManagedMLRUItemStateCacheFactory(CacheManager cacheMgr)
- Construct a new factory using a cache manager.
- Parameters:
cacheMgr
- the cache manager
newItemStateCache
public ItemStateCache newItemStateCache()
- Create a new cache instance and link it to the cache manager.
- Specified by:
newItemStateCache
in interface ItemStateCacheFactory
- Returns:
- the new cache
Copyright © 2004-2008 The Apache Software Foundation. All Rights Reserved.