org.apache.jackrabbit.core.state
Class ManagedMLRUItemStateCacheFactory

java.lang.Object
  extended by 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
ManagedMLRUItemStateCacheFactory(CacheManager cacheMgr)
          Construct a new factory using a cache manager.
 
Method Summary
 ItemStateCache newItemStateCache()
          Create a new cache instance and link it to the cache manager.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 interface ItemStateCacheFactory
Returns:
the new cache


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.