org.apache.manifoldcf.core.cachemanager
Class GeneralCache.ObjectClassTable

java.lang.Object
  extended by org.apache.manifoldcf.core.cachemanager.GeneralCache.ObjectClassTable
Enclosing class:
GeneralCache

protected class GeneralCache.ObjectClassTable
extends java.lang.Object

This class describes a set of object classes, each with its own LRU behavior.


Field Summary
protected  java.util.HashMap hashtable
           
 
Constructor Summary
GeneralCache.ObjectClassTable()
           
 
Method Summary
 void addEntry(GeneralCache.ObjectRecord record)
          Call ONLY if there is no existing record in the object class table for this record
 int getCurrentMemberCount(java.lang.String objectClassName)
           
 GeneralCache.ObjectRecord getOldestEntry(java.lang.String objectClassName)
           
 void removeEntry(GeneralCache.ObjectRecord record)
          Call ONLY if there is known to be an existing record in the object class table
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

hashtable

protected java.util.HashMap hashtable
Constructor Detail

GeneralCache.ObjectClassTable

public GeneralCache.ObjectClassTable()
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)