public class EntitlementLRUCache<String,Set> extends LinkedHashMap<String,Set>
LinkedHashMap
. If the cache is full and another
entry is added, the least recently used entry is dropped.AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
EntitlementLRUCache(int cacheSize) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
removeEldestEntry(Map.Entry eldest) |
clear, containsValue, get
clone, containsKey, entrySet, isEmpty, keySet, put, putAll, remove, size, values
equals, hashCode, toString
protected boolean removeEldestEntry(Map.Entry eldest)
removeEldestEntry
in class LinkedHashMap<String,Set>
Copyright © 2016 WSO2. All rights reserved.