org.apache.manifoldcf.core.cachemanager
Class GeneralCache.ExpirationTreeNode
java.lang.Object
org.apache.manifoldcf.core.cachemanager.GeneralCache.ExpirationTreeNode
- Enclosing class:
- GeneralCache
protected class GeneralCache.ExpirationTreeNode
- extends java.lang.Object
This class represents a node in the expiration tree.
The node has a pool of size at least one containing object records
with the same expiration date.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
lesser
protected GeneralCache.ExpirationTreeNode lesser
greater
protected GeneralCache.ExpirationTreeNode greater
firstSame
protected GeneralCache.ObjectRecord firstSame
lastSame
protected GeneralCache.ObjectRecord lastSame
GeneralCache.ExpirationTreeNode
public GeneralCache.ExpirationTreeNode(GeneralCache.ObjectRecord record)
getExpirationTime
public long getExpirationTime()
getLesser
public GeneralCache.ExpirationTreeNode getLesser()
setLesser
public void setLesser(GeneralCache.ExpirationTreeNode lesser)
getGreater
public GeneralCache.ExpirationTreeNode getGreater()
setGreater
public void setGreater(GeneralCache.ExpirationTreeNode greater)
addObjectRecord
public void addObjectRecord(GeneralCache.ObjectRecord x)
removeObjectRecord
public boolean removeObjectRecord(GeneralCache.ObjectRecord x)
- Returns true if this removal was the last one (in which case the tree node is now
invalid, and should be removed from the tree)
getOldest
public GeneralCache.ObjectRecord getOldest()