Class NullProtectionStorage
- java.lang.Object
-
- org.codehaus.groovy.runtime.memoize.NullProtectionStorage
-
public final class NullProtectionStorage extends java.lang.Object
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
Constructors Constructor Description NullProtectionStorage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
touch(java.lang.Object key, java.lang.Object value)
Does nothing
-