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

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

public static class SecurePackageResourceGuard.SimpleCache
extends ConcurrentHashMap<String,Boolean>

A very simple cache

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
SecurePackageResourceGuard.SimpleCache(int maxSize)
          Construct.
 
Method Summary
 Boolean put(String key, 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 Boolean put(String key,
                   Boolean value)
Specified by:
put in interface Map<String,Boolean>
Overrides:
put in class ConcurrentHashMap<String,Boolean>
See Also:
ConcurrentHashMap.put(java.lang.Object, java.lang.Object)


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