Class BlockDiskKeyStore.LRUMapCountLimited

java.lang.Object
org.apache.commons.jcs3.utils.struct.AbstractLRUMap<K,V>
org.apache.commons.jcs3.utils.struct.LRUMap<K,int[]>
org.apache.commons.jcs3.auxiliary.disk.block.BlockDiskKeyStore.LRUMapCountLimited
All Implemented Interfaces:
Map<K,int[]>
Enclosing class:
BlockDiskKeyStore<K>

public class BlockDiskKeyStore.LRUMapCountLimited extends LRUMap<K,int[]>
Class for recycling and lru. This implements the LRU overflow callback, so we can mark the blocks as free.
  • Field Details

  • Constructor Details

  • Method Details

    • processRemovedLRU

      protected void processRemovedLRU(K key, int[] value)
      This is called when the may key size is reached. The least recently used item will be passed here. We will store the position and size of the spot on disk in the recycle bin.

      Overrides:
      processRemovedLRU in class AbstractLRUMap<K,int[]>
      Parameters:
      key -
      value -