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) |
removeEldestEntrycontainsValue, entrySet, forEach, get, getOrDefault, keySet, replaceAll, valuesclone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, putAll, putIfAbsent, remove, replace, replace, sizeequals, hashCode, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, containsKey, equals, hashCode, isEmpty, merge, putAll, putIfAbsent, remove, replace, replace, sizepublic 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.