org.apache.manifoldcf.core.interfaces
Interface ICacheClass

All Known Implementing Classes:
BaseDescription.LocalCacheClass

public interface ICacheClass

This interface represents an object class. It provides methods that permit the cache manager to learn about the LRU properties of a cached object.


Field Summary
static java.lang.String _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.
 

Field Detail

_rcsid

static final java.lang.String _rcsid
See Also:
Constant Field Values
Method Detail

getClassName

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.

Returns:
the class name.

getMaxLRUCount

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

Returns:
the maximum number of the objects of the particular class allowed.