org.apache.manifoldcf.core.cachemanager
Class BaseDescription.LocalCacheClass
java.lang.Object
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.
| Fields inherited from interface org.apache.manifoldcf.core.interfaces.ICacheClass |
_rcsid |
|
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 |
objectClassName
protected java.lang.String objectClassName
maxLRUCount
protected java.lang.Integer maxLRUCount
BaseDescription.LocalCacheClass
public BaseDescription.LocalCacheClass(java.lang.String objectClassName)
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.