org.apache.manifoldcf.core.cachemanager
Class BaseDescription.LocalCacheClass

java.lang.Object
  extended by org.apache.manifoldcf.core.cachemanager.BaseDescription.LocalCacheClass
All Implemented Interfaces:
ICacheClass
Enclosing class:
BaseDescription

protected class BaseDescription.LocalCacheClass
extends java.lang.Object
implements ICacheClass

This is a cache class implementation that gets expiration and LRU info from .ini variables.


Field Summary
protected  java.lang.Integer maxLRUCount
           
protected  java.lang.String objectClassName
           
 
Fields inherited from interface org.apache.manifoldcf.core.interfaces.ICacheClass
_rcsid
 
Constructor Summary
BaseDescription.LocalCacheClass(java.lang.String objectClassName)
           
 
Method Summary
 java.lang.String getClassName()
          Get the name of the object class.
 int getMaxLRUCount()
          Get the maximum LRU count of the object class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

objectClassName

protected java.lang.String objectClassName

maxLRUCount

protected java.lang.Integer maxLRUCount
Constructor Detail

BaseDescription.LocalCacheClass

public BaseDescription.LocalCacheClass(java.lang.String objectClassName)
Method Detail

getClassName

public java.lang.String getClassName()
Get the name of the object class. This determines the set of objects that are treated in the same LRU pool.

Specified by:
getClassName in interface ICacheClass
Returns:
the class name.

getMaxLRUCount

public int getMaxLRUCount()
Get the maximum LRU count of the object class.

Specified by:
getMaxLRUCount in interface ICacheClass
Returns:
the maximum number of the objects of the particular class allowed.