|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.codehaus.groovy.runtime.memoize.NullProtectionStorage
public final class 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 | |
|---|---|
NullProtectionStorage()
|
|
| Method Summary | |
|---|---|
void |
touch(java.lang.Object key,
java.lang.Object value)
Does nothing |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NullProtectionStorage()
| Method Detail |
|---|
public void touch(java.lang.Object key,
java.lang.Object value)
key - The key of the element to renewvalue - A value to newly associate with the key
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||