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

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

protected class GeneralCache.InvalidationTable
extends java.lang.Object

This class describes a table of invalidation keys, each of which points to a set of object records.


Field Summary
protected  java.util.HashMap hashtable
           
 
Constructor Summary
GeneralCache.InvalidationTable()
           
 
Method Summary
 void addKeys(StringSet keyset, GeneralCache.ObjectRecord objectRecord)
           
 java.util.Iterator getObjectRecordsForKey(java.lang.String key)
           
 void removeKey(java.lang.String key)
           
 void removeObjectRecord(GeneralCache.ObjectRecord record)
           
 void removeObjectRecordFromKey(java.lang.String key, GeneralCache.ObjectRecord objectRecord)
           
 
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.InvalidationTable

public GeneralCache.InvalidationTable()
Method Detail

addKeys

public void addKeys(StringSet keyset,
                    GeneralCache.ObjectRecord objectRecord)

getObjectRecordsForKey

public java.util.Iterator getObjectRecordsForKey(java.lang.String key)

removeKey

public void removeKey(java.lang.String key)

removeObjectRecord

public void removeObjectRecord(GeneralCache.ObjectRecord record)

removeObjectRecordFromKey

public void removeObjectRecordFromKey(java.lang.String key,
                                      GeneralCache.ObjectRecord objectRecord)