groovy 3.0.20
org.codehaus.groovy.runtime.memoize
ProtectionStorage
Top
Description
Methods
org.codehaus.groovy.runtime.memoize
pack-priv
Interface ProtectionStorage<K, V>
Known Direct Implementers
org.
codehaus.
groovy.
runtime.
memoize.
LRUProtectionStorage
,
org.
codehaus.
groovy.
runtime.
memoize.
NullProtectionStorage
Protects stored resources from eviction from memory following the LRU (Last Recently Used) strategy. The touch method can be used to renew an element and move it to the from the LRU queue.
Method Summary
Modifier and Type
Method and Description
public
void
touch
(
K key,
V value
)
Method Detail
touch
back to summary
public
void
touch
(
K key,
V value
)