protected class GeneralCache.ObjectClassRecord extends Object
Modifier and Type | Field and Description |
---|---|
protected int |
currentMemberCount |
protected GeneralCache.ObjectRecord |
firstLRU |
protected GeneralCache.ObjectRecord |
lastLRU |
Constructor and Description |
---|
GeneralCache.ObjectClassRecord() |
Modifier and Type | Method and Description |
---|---|
void |
addEntry(GeneralCache.ObjectRecord x)
Add a record to the end of the LRU list.
|
int |
getCurrentMemberCount() |
GeneralCache.ObjectRecord |
getOldestEntry()
Find the first (oldest) entry, or null
if there is none.
|
void |
removeEntry(GeneralCache.ObjectRecord x)
Call this ONLY if it is known that the entry exists in
the object class record!!!
|
protected int currentMemberCount
protected GeneralCache.ObjectRecord firstLRU
protected GeneralCache.ObjectRecord lastLRU
public int getCurrentMemberCount()
public void removeEntry(GeneralCache.ObjectRecord x)
public void addEntry(GeneralCache.ObjectRecord x)
public GeneralCache.ObjectRecord getOldestEntry()