Remove the given key
and its associated value from the map.
Remove the given key
and its associated value from the map.
Unsafe version of get
.
Override this method to implement a test to see if a particular element can be expired from the cache.
Override this method to implement a test to see if a particular element can be expired from the cache.
Check if the given key
exists in the map.
Check if the given key
exists in the map. A key may not be in the map
either if it was never added or if it has been expired.
Called when a key/value pair is removed, before the expiredFunc
.
Called when a key/value pair is removed, before the expiredFunc
.
Does nothing by default, override for custom functionality.
Fetches the given key, returning Empty
if the key does not exist in
the map.
Alias for -
.
Set the value
for the given key
in the map.
Updates the LRUMap
's current max size to newMaxSize
, evicting the
oldest entries if the size has shrunk.
Updates the LRUMap
's current max size to newMaxSize
, evicting the
oldest entries if the size has shrunk.
LRU Cache wrapping
org.apache.commons.collections.map.LRUMap