An extension of the Apache commons LRUMap which handles
the removal of cached objects such that dependencies are kept and
listeners get notified on object removal.
author: Michael Bell version: $Revision: 1.1 $
Constructor Summary
public
LRUCacheMap() Construct new LRUCacheMap with size 100.
public
LRUCacheMap(int size) Construct new LRUCacheMap with specified size.
Returns true if this cache will check an object for
dependancies before paging the object out.
true if this cache will check an object for dependancies before paging the object out.
public void setDependancyAware(boolean bIsDepAware)(Code)
Sets whether this cache checks objects for dependancies before
paging the object out. If, when checking for dependancies, the object is
found to have dependances the object will not be paged out.
Parameters: bIsDepAware - true if the cache should check dependanciesof an object before paging it out of the cache.