Class NullProtectionStorage
java.lang.Object
org.codehaus.groovy.runtime.memoize.NullProtectionStorage
A NullObject pattern implementation for ProtectionStorage
Doesn't protect any resources.
Used when the user doesn't mind to eventually have the whole memoize cache emptied by gc.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
NullProtectionStorage
public NullProtectionStorage()
-
-
Method Details
-
touch
Does nothing- Parameters:
key
- The key of the element to renewvalue
- A value to newly associate with the key
-