Dashboard Builder Commons 6.0.0.Beta1

org.jboss.dashboard.database.cache.custom
Class LRUCache.ListeningLRUMap

java.lang.Object
  extended by java.util.AbstractMap
      extended by org.jboss.dashboard.database.cache.custom.map.AbstractHashedMap
          extended by org.jboss.dashboard.database.cache.custom.map.AbstractLinkedMap
              extended by org.jboss.dashboard.database.cache.custom.map.LRUMap
                  extended by org.jboss.dashboard.database.cache.custom.map.SynchronizedLRUMap
                      extended by org.jboss.dashboard.database.cache.custom.LRUCache.ListeningLRUMap
All Implemented Interfaces:
Serializable, Cloneable, Map, org.apache.commons.collections.IterableMap, org.apache.commons.collections.OrderedMap, BoundedMap
Enclosing class:
LRUCache

public class LRUCache.ListeningLRUMap
extends SynchronizedLRUMap

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jboss.dashboard.database.cache.custom.map.AbstractLinkedMap
AbstractLinkedMap.EntrySetIterator, AbstractLinkedMap.KeySetIterator, AbstractLinkedMap.LinkEntry, AbstractLinkedMap.LinkIterator, AbstractLinkedMap.LinkMapIterator, AbstractLinkedMap.ValuesIterator
 
Nested classes/interfaces inherited from class org.jboss.dashboard.database.cache.custom.map.AbstractHashedMap
AbstractHashedMap.EntrySet, AbstractHashedMap.HashEntry, AbstractHashedMap.HashIterator, AbstractHashedMap.HashMapIterator, AbstractHashedMap.KeySet, 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
 
Fields inherited from class org.jboss.dashboard.database.cache.custom.map.LRUMap
DEFAULT_MAX_SIZE
 
Fields inherited from class org.jboss.dashboard.database.cache.custom.map.AbstractLinkedMap
header
 
Fields inherited from class org.jboss.dashboard.database.cache.custom.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
LRUCache.ListeningLRUMap(int size)
           
 
Method Summary
protected  void processRemovedLRU(Object key, Object value)
           
 void setListener(LRUCacheListener l)
           
 
Methods inherited from class org.jboss.dashboard.database.cache.custom.map.SynchronizedLRUMap
clear, clone, containsKey, containsValue, entrySet, equals, firstKey, get, hashCode, isEmpty, isFull, isScanUntilRemovable, keySet, lastKey, mapIterator, maxSize, nextKey, orderedMapIterator, previousKey, put, putAll, remove, size, toString, values
 
Methods inherited from class org.jboss.dashboard.database.cache.custom.map.LRUMap
addMapping, doReadObject, doWriteObject, moveToMRU, removeLRU, reuseMapping, updateEntry
 
Methods inherited from class org.jboss.dashboard.database.cache.custom.map.AbstractLinkedMap
addEntry, createEntry, createEntrySetIterator, createKeySetIterator, createValuesIterator, entryAfter, entryBefore, getEntry, init, removeEntry
 
Methods inherited from class org.jboss.dashboard.database.cache.custom.map.AbstractHashedMap
calculateNewCapacity, calculateThreshold, checkCapacity, convertKey, destroyEntry, ensureCapacity, entryHashCode, entryKey, entryNext, entryValue, getEntry, hash, hashIndex, isEqualKey, isEqualValue, removeMapping, reuseEntry
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LRUCache.ListeningLRUMap

public LRUCache.ListeningLRUMap(int size)
Method Detail

setListener

public void setListener(LRUCacheListener l)

processRemovedLRU

protected void processRemovedLRU(Object key,
                                 Object value)

Dashboard Builder Commons 6.0.0.Beta1

Copyright © 2012-2013 JBoss by Red Hat. All Rights Reserved.