- org.codehaus.groovy.runtime.memoize.NullProtectionStorage
-
- All Implemented Interfaces and Traits:
- ProtectionStorage
public final class NullProtectionStorage
extends 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.
- Authors:
- Vaclav Pech
-
-
Methods Summary
-
Inherited Methods Summary
-
-
Method Detail
-
public void touch(Object key, Object value)
Does nothing
- Parameters:
key
- The key of the element to renewvalue
- A value to newly associate with the key
- Summary:
Nested Field Constructor - Method
- | Detail:
Field Constructor - Method
Copyright © 2003-2015 The Apache Software Foundation. All rights reserved.