|
org.codehaus.gpars | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object groovyx.gpars.memoize.NullProtectionStorage
public final class NullProtectionStorage
Doesn't protect any resources. Used when the user agrees to have the whole cache eventually 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 | |
---|---|
java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Constructor Detail |
---|
NullProtectionStorage()
Method Detail |
---|
@SuppressWarnings({"EmptyMethod"}) 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
Copyright © 2008–2012 Václav Pech. All Rights Reserved.