org.apache.jcs.auxiliary.disk.indexed
Class IndexedDiskCache.LRUMap

java.lang.Object
  extended byorg.apache.jcs.utils.struct.LRUMap
      extended byorg.apache.jcs.auxiliary.disk.LRUMapJCS
          extended byorg.apache.jcs.auxiliary.disk.indexed.IndexedDiskCache.LRUMap
All Implemented Interfaces:
java.util.Map
Enclosing class:
IndexedDiskCache

public class IndexedDiskCache.LRUMap
extends LRUMapJCS

class for recylcing and lru


Nested Class Summary
 
Nested classes inherited from class java.util.Map
java.util.Map.Entry
 
Field Summary
 java.lang.String tag
          tag tells us which map we are working on.
 
Fields inherited from class org.apache.jcs.utils.struct.LRUMap
map
 
Constructor Summary
IndexedDiskCache.LRUMap()
           
IndexedDiskCache.LRUMap(int maxKeySize)
           
 
Method Summary
protected  void processRemovedLRU(java.lang.Object key, java.lang.Object value)
          This is called when an item is removed from the LRU.
 
Methods inherited from class org.apache.jcs.utils.struct.LRUMap
clear, containsKey, containsValue, dumpCacheEntries, dumpMap, entrySet, get, getChunkSize, getQuiet, getStatistics, isEmpty, keySet, put, putAll, remove, setChunkSize, size, values, verifyCache, verifyCache
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Field Detail

tag

public java.lang.String tag
tag tells us which map we are working on.

Constructor Detail

IndexedDiskCache.LRUMap

public IndexedDiskCache.LRUMap()

IndexedDiskCache.LRUMap

public IndexedDiskCache.LRUMap(int maxKeySize)
Parameters:
maxKeySize -
Method Detail

processRemovedLRU

protected void processRemovedLRU(java.lang.Object key,
                                 java.lang.Object value)
Description copied from class: LRUMapJCS
This is called when an item is removed from the LRU. We just log some information.

Overrides:
processRemovedLRU in class LRUMapJCS
Parameters:
key -
value -


Copyright © 2002-2007 Apache Software Foundation. All Rights Reserved.