org.codehaus.gpars

groovyx.gpars.memoize
[Java] Class NullProtectionStorage

java.lang.Object
  groovyx.gpars.memoize.NullProtectionStorage

public final class NullProtectionStorage
extends java.lang.Object

Doesn't protect any resources. Used when the user agrees to have the whole cache eventually emptied by gc.

Authors:
Vaclav Pech Date: Jun 22, 2010


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

NullProtectionStorage()


 
Method Detail

touch

public void touch(java.lang.Object key, java.lang.Object value)
Does nothing
Parameters:
key - The key of the element to renew
value - A value to newly associate with the key


 

Copyright © 2008–2010 Václav Pech. All Rights Reserved.