Class GeneralCache.ObjectClassRecord
- java.lang.Object
-
- org.apache.manifoldcf.core.cachemanager.GeneralCache.ObjectClassRecord
-
- Enclosing class:
- GeneralCache
protected class GeneralCache.ObjectClassRecord extends java.lang.ObjectThis is a helper class for the ObjectClassTable. It maintains the data for an individual object class.
-
-
Field Summary
Fields Modifier and Type Field Description protected intcurrentMemberCountprotected GeneralCache.ObjectRecordfirstLRUprotected GeneralCache.ObjectRecordlastLRU
-
Constructor Summary
Constructors Constructor Description ObjectClassRecord()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddEntry(GeneralCache.ObjectRecord x)Add a record to the end of the LRU list.intgetCurrentMemberCount()GeneralCache.ObjectRecordgetOldestEntry()Find the first (oldest) entry, or null if there is none.voidremoveEntry(GeneralCache.ObjectRecord x)Call this ONLY if it is known that the entry exists in the object class record!!!
-
-
-
Field Detail
-
currentMemberCount
protected int currentMemberCount
-
firstLRU
protected GeneralCache.ObjectRecord firstLRU
-
lastLRU
protected GeneralCache.ObjectRecord lastLRU
-
-
Method Detail
-
getCurrentMemberCount
public int getCurrentMemberCount()
-
removeEntry
public void removeEntry(GeneralCache.ObjectRecord x)
Call this ONLY if it is known that the entry exists in the object class record!!!
-
addEntry
public void addEntry(GeneralCache.ObjectRecord x)
Add a record to the end of the LRU list. Call this ONLY if it is known that the entry does NOT exist in the object class record!!!
-
getOldestEntry
public GeneralCache.ObjectRecord getOldestEntry()
Find the first (oldest) entry, or null if there is none.
-
-