Package org.apache.wicket.markup.html
Class SecurePackageResourceGuard.SimpleCache
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.concurrent.ConcurrentHashMap<String,Boolean>
-
- 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.concurrent.ConcurrentHashMap
ConcurrentHashMap.KeySetView<K extends Object,V extends Object>
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
-
Constructor Summary
Constructors Constructor Description SimpleCache(int maxSize)
Construct.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
put(String key, Boolean value)
-
Methods inherited from class java.util.concurrent.ConcurrentHashMap
clear, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, forEach, forEach, forEachEntry, forEachEntry, forEachKey, forEachKey, forEachValue, forEachValue, get, getOrDefault, hashCode, isEmpty, keys, keySet, keySet, mappingCount, merge, newKeySet, newKeySet, putAll, putIfAbsent, reduce, reduceEntries, reduceEntries, reduceEntriesToDouble, reduceEntriesToInt, reduceEntriesToLong, reduceKeys, reduceKeys, reduceKeysToDouble, reduceKeysToInt, reduceKeysToLong, reduceToDouble, reduceToInt, reduceToLong, reduceValues, reduceValues, reduceValuesToDouble, reduceValuesToInt, reduceValuesToLong, remove, remove, replace, replace, replaceAll, search, searchEntries, searchKeys, searchValues, size, toString, values
-
Methods inherited from class java.util.AbstractMap
clone
-
-
-
-
Constructor Detail
-
SimpleCache
public SimpleCache(int maxSize)
Construct.- Parameters:
maxSize
-
-
-