org.apache.wicket.markup.html
Class SecurePackageResourceGuard.SimpleCache

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.concurrent.ConcurrentHashMap<java.lang.String,java.lang.Boolean>
          extended by org.apache.wicket.markup.html.SecurePackageResourceGuard.SimpleCache
All Implemented Interfaces:
java.io.Serializable, java.util.concurrent.ConcurrentMap<java.lang.String,java.lang.Boolean>, java.util.Map<java.lang.String,java.lang.Boolean>
Enclosing class:
SecurePackageResourceGuard

public static class SecurePackageResourceGuard.SimpleCache
extends java.util.concurrent.ConcurrentHashMap<java.lang.String,java.lang.Boolean>

A very simple cache

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V>
 
Constructor Summary
SecurePackageResourceGuard.SimpleCache(int maxSize)
          Construct.
 
Method Summary
 java.lang.Boolean put(java.lang.String key, java.lang.Boolean value)
           
 
Methods inherited from class java.util.concurrent.ConcurrentHashMap
clear, contains, containsKey, containsValue, elements, entrySet, get, isEmpty, keys, keySet, putAll, putIfAbsent, remove, remove, replace, replace, size, values
 
Methods inherited from class java.util.AbstractMap
clone, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

SecurePackageResourceGuard.SimpleCache

public SecurePackageResourceGuard.SimpleCache(int maxSize)
Construct.

Parameters:
maxSize -
Method Detail

put

public java.lang.Boolean put(java.lang.String key,
                             java.lang.Boolean value)
Specified by:
put in interface java.util.Map<java.lang.String,java.lang.Boolean>
Overrides:
put in class java.util.concurrent.ConcurrentHashMap<java.lang.String,java.lang.Boolean>
See Also:
ConcurrentHashMap.put(java.lang.Object, java.lang.Object)


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.