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, entrySet, forEach, get, getOrDefault, keySet, replaceAll, values
clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, putAll, putIfAbsent, remove, replace, replace, size
equals, hashCode, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, containsKey, equals, hashCode, isEmpty, merge, putAll, putIfAbsent, remove, replace, replace, size
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 © 2016 JBoss by Red Hat. All Rights Reserved.