org.jasig.portal.io
Class LoggingLRUMap

java.lang.Object
  extended by java.util.AbstractMap
      extended by org.apache.commons.collections.map.AbstractHashedMap
          extended by org.apache.commons.collections.map.AbstractLinkedMap
              extended by org.apache.commons.collections.map.LRUMap
                  extended by org.jasig.portal.io.LoggingLRUMap
All Implemented Interfaces:
Serializable, Cloneable, Map, org.apache.commons.collections.BoundedMap, org.apache.commons.collections.IterableMap, org.apache.commons.collections.OrderedMap

public class LoggingLRUMap
extends org.apache.commons.collections.map.LRUMap

Version:
$Revision: 19776 $
Author:
Eric Dalquist
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.commons.collections.map.AbstractLinkedMap
org.apache.commons.collections.map.AbstractLinkedMap.EntrySetIterator, org.apache.commons.collections.map.AbstractLinkedMap.KeySetIterator, org.apache.commons.collections.map.AbstractLinkedMap.LinkEntry, org.apache.commons.collections.map.AbstractLinkedMap.LinkIterator, org.apache.commons.collections.map.AbstractLinkedMap.LinkMapIterator, org.apache.commons.collections.map.AbstractLinkedMap.ValuesIterator
 
Nested classes/interfaces inherited from class org.apache.commons.collections.map.AbstractHashedMap
org.apache.commons.collections.map.AbstractHashedMap.EntrySet, org.apache.commons.collections.map.AbstractHashedMap.HashEntry, org.apache.commons.collections.map.AbstractHashedMap.HashIterator, org.apache.commons.collections.map.AbstractHashedMap.HashMapIterator, org.apache.commons.collections.map.AbstractHashedMap.KeySet, org.apache.commons.collections.map.AbstractHashedMap.Values
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Field Summary
protected  org.apache.commons.logging.Log logger
           
 
Fields inherited from class org.apache.commons.collections.map.LRUMap
DEFAULT_MAX_SIZE
 
Fields inherited from class org.apache.commons.collections.map.AbstractLinkedMap
header
 
Fields inherited from class org.apache.commons.collections.map.AbstractHashedMap
data, DEFAULT_CAPACITY, DEFAULT_LOAD_FACTOR, DEFAULT_THRESHOLD, entrySet, GETKEY_INVALID, GETVALUE_INVALID, keySet, loadFactor, MAXIMUM_CAPACITY, modCount, NO_NEXT_ENTRY, NO_PREVIOUS_ENTRY, NULL, REMOVE_INVALID, SETVALUE_INVALID, size, threshold, values
 
Constructor Summary
LoggingLRUMap()
           
LoggingLRUMap(int maxSize)
           
LoggingLRUMap(int maxSize, boolean scanUntilRemovable)
           
LoggingLRUMap(int maxSize, float loadFactor)
           
LoggingLRUMap(int maxSize, float loadFactor, boolean scanUntilRemovable)
           
LoggingLRUMap(Map<?,?> map)
           
LoggingLRUMap(Map<?,?> map, boolean scanUntilRemovable)
           
 
Method Summary
protected  boolean removeLRU(org.apache.commons.collections.map.AbstractLinkedMap.LinkEntry entry)
           
 
Methods inherited from class org.apache.commons.collections.map.LRUMap
addMapping, clone, doReadObject, doWriteObject, get, isFull, isScanUntilRemovable, maxSize, moveToMRU, reuseMapping, updateEntry
 
Methods inherited from class org.apache.commons.collections.map.AbstractLinkedMap
addEntry, clear, containsValue, createEntry, createEntrySetIterator, createKeySetIterator, createValuesIterator, entryAfter, entryBefore, firstKey, getEntry, init, lastKey, mapIterator, nextKey, orderedMapIterator, previousKey, removeEntry
 
Methods inherited from class org.apache.commons.collections.map.AbstractHashedMap
calculateNewCapacity, calculateThreshold, checkCapacity, containsKey, convertKey, destroyEntry, ensureCapacity, entryHashCode, entryKey, entryNext, entrySet, entryValue, equals, getEntry, hash, hashCode, hashIndex, isEmpty, isEqualKey, isEqualValue, keySet, put, putAll, remove, removeMapping, reuseEntry, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Field Detail

logger

protected final org.apache.commons.logging.Log logger
Constructor Detail

LoggingLRUMap

public LoggingLRUMap()

LoggingLRUMap

public LoggingLRUMap(int maxSize,
                     boolean scanUntilRemovable)

LoggingLRUMap

public LoggingLRUMap(int maxSize,
                     float loadFactor,
                     boolean scanUntilRemovable)

LoggingLRUMap

public LoggingLRUMap(int maxSize,
                     float loadFactor)

LoggingLRUMap

public LoggingLRUMap(int maxSize)

LoggingLRUMap

public LoggingLRUMap(Map<?,?> map,
                     boolean scanUntilRemovable)

LoggingLRUMap

public LoggingLRUMap(Map<?,?> map)
Method Detail

removeLRU

protected boolean removeLRU(org.apache.commons.collections.map.AbstractLinkedMap.LinkEntry entry)
Overrides:
removeLRU in class org.apache.commons.collections.map.LRUMap


Copyright © 2010 Jasig. All Rights Reserved.