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 TypeMethod and Description
public void
touch(K key, V value)

Method Detail

touchback to summary
public void touch(K key, V value)