org.richfaces.cache.lru
Class CacheMap
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<K,V>
java.util.LinkedHashMap<K,V>
org.richfaces.util.LRUMap<Object,CacheEntry>
org.richfaces.cache.lru.CacheMap
- All Implemented Interfaces:
- Serializable, Cloneable, Map<Object,CacheEntry>
public final class CacheMap
- extends org.richfaces.util.LRUMap<Object,CacheEntry>
User: akolonitsky Date: Oct 13, 2009
- See Also:
- Serialized Form
| Methods inherited from class org.richfaces.util.LRUMap |
removeEldestEntry |
CacheMap
public CacheMap()
CacheMap
public CacheMap(int capacity)
getExpirationQueue
public PriorityQueue<CacheEntry> getExpirationQueue()
put
public CacheEntry put(Object key,
CacheEntry value)
- Specified by:
put in interface Map<Object,CacheEntry>- Overrides:
put in class HashMap<Object,CacheEntry>
remove
public CacheEntry remove(Object key)
- Specified by:
remove in interface Map<Object,CacheEntry>- Overrides:
remove in class HashMap<Object,CacheEntry>
clear
public void clear()
- Specified by:
clear in interface Map<Object,CacheEntry>- Overrides:
clear in class LinkedHashMap<Object,CacheEntry>
purge
public void purge()
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.