Class GeneralCache.ObjectClassTable
- java.lang.Object
-
- org.apache.manifoldcf.core.cachemanager.GeneralCache.ObjectClassTable
-
- Enclosing class:
- GeneralCache
protected class GeneralCache.ObjectClassTable extends java.lang.ObjectThis class describes a set of object classes, each with its own LRU behavior.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.HashMaphashtable
-
Constructor Summary
Constructors Constructor Description ObjectClassTable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddEntry(GeneralCache.ObjectRecord record)Call ONLY if there is no existing record in the object class table for this recordintgetCurrentMemberCount(java.lang.String objectClassName)GeneralCache.ObjectRecordgetOldestEntry(java.lang.String objectClassName)voidremoveEntry(GeneralCache.ObjectRecord record)Call ONLY if there is known to be an existing record in the object class table
-
-
-
Method Detail
-
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)
-
-