public final class CacheMap extends LRUMap<Object,CacheEntry>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier and Type | Method and Description |
---|---|
void |
clear() |
PriorityQueue<CacheEntry> |
getExpirationQueue() |
void |
purge() |
CacheEntry |
put(Object key,
CacheEntry value) |
CacheEntry |
remove(Object key) |
removeEldestEntry
containsValue, get
clone, containsKey, entrySet, isEmpty, keySet, putAll, size, values
equals, hashCode, toString
public PriorityQueue<CacheEntry> getExpirationQueue()
public CacheEntry put(Object key, CacheEntry value)
put
in interface Map<Object,CacheEntry>
put
in class HashMap<Object,CacheEntry>
public CacheEntry remove(Object key)
remove
in interface Map<Object,CacheEntry>
remove
in class HashMap<Object,CacheEntry>
public void clear()
clear
in interface Map<Object,CacheEntry>
clear
in class LinkedHashMap<Object,CacheEntry>
public void purge()
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.