org.apache.manifoldcf.core.cachemanager
Class GeneralCache.ObjectClassRecord
java.lang.Object
org.apache.manifoldcf.core.cachemanager.GeneralCache.ObjectClassRecord
- Enclosing class:
- GeneralCache
protected class GeneralCache.ObjectClassRecord
- extends java.lang.Object
This is a helper class for the ObjectClassTable. It maintains the data
for an individual object class.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
currentMemberCount
protected int currentMemberCount
firstLRU
protected GeneralCache.ObjectRecord firstLRU
lastLRU
protected GeneralCache.ObjectRecord lastLRU
GeneralCache.ObjectClassRecord
public GeneralCache.ObjectClassRecord()
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.