Package 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.
-
-
Constructor Summary
Constructors Constructor Description ManagedMLRUItemStateCacheFactory(CacheManager cacheMgr)
Construct a new factory using a cache manager.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ItemStateCache
newItemStateCache()
Create a new cache instance and link it to the cache manager.
-
-
-
Constructor Detail
-
ManagedMLRUItemStateCacheFactory
public ManagedMLRUItemStateCacheFactory(CacheManager cacheMgr)
Construct a new factory using a cache manager.- Parameters:
cacheMgr
- the cache manager
-
-
Method Detail
-
newItemStateCache
public ItemStateCache newItemStateCache()
Create a new cache instance and link it to the cache manager.- Specified by:
newItemStateCache
in interfaceItemStateCacheFactory
- Returns:
- the new cache
-
-