groovyx.gpars.memoize
Class NullProtectionStorage

java.lang.Object
  extended by 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.

Author:
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullProtectionStorage

public 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–2012 Václav Pech. All Rights Reserved.