Class NullProtectionStorage

  • 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.
    • Constructor Detail

      • NullProtectionStorage

        public NullProtectionStorage()
    • Method Detail

      • touch

        public void touch​(Object key,
                          Object value)
        Does nothing
        key - The key of the element to renew
        value - A value to newly associate with the key