org.apache.manifoldcf.core.cachemanager
Class GeneralCache.ObjectClassTable
java.lang.Object
org.apache.manifoldcf.core.cachemanager.GeneralCache.ObjectClassTable
- Enclosing class:
- GeneralCache
protected class GeneralCache.ObjectClassTable
- extends java.lang.Object
This class describes a set of object classes, each with its own LRU behavior.
|
Field Summary |
protected java.util.HashMap |
hashtable
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
hashtable
protected java.util.HashMap hashtable
GeneralCache.ObjectClassTable
public GeneralCache.ObjectClassTable()
addEntry
public void addEntry(GeneralCache.ObjectRecord record)
- Call ONLY if there is no existing record in the object class table for this record
removeEntry
public void removeEntry(GeneralCache.ObjectRecord record)
- Call ONLY if there is known to be an existing record in the object class table
getCurrentMemberCount
public int getCurrentMemberCount(java.lang.String objectClassName)
getOldestEntry
public GeneralCache.ObjectRecord getOldestEntry(java.lang.String objectClassName)