public static class BeanPropertiesCache.SoftConcurrentHashMap extends java.util.concurrent.ConcurrentHashMap<java.lang.Class<?>,BeanPropertiesCache.BeanProperties>
java.util.concurrent.ConcurrentHashMap.KeySetView<K,V>
Modifier and Type | Field and Description |
---|---|
private static int |
CACHE_INIT_SIZE |
private java.util.concurrent.ConcurrentHashMap<java.lang.Class<?>,BeanPropertiesCache.BPSoftReference> |
map |
private java.lang.ref.ReferenceQueue<BeanPropertiesCache.BeanProperties> |
refQ |
Constructor and Description |
---|
SoftConcurrentHashMap() |
Modifier and Type | Method and Description |
---|---|
private void |
cleanup() |
BeanPropertiesCache.BeanProperties |
get(java.lang.Object key) |
BeanPropertiesCache.BeanProperties |
put(java.lang.Class<?> key,
BeanPropertiesCache.BeanProperties value) |
BeanPropertiesCache.BeanProperties |
putIfAbsent(java.lang.Class<?> key,
BeanPropertiesCache.BeanProperties value) |
clear, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, forEach, forEach, forEachEntry, forEachEntry, forEachKey, forEachKey, forEachValue, forEachValue, getOrDefault, hashCode, isEmpty, keys, keySet, keySet, mappingCount, merge, newKeySet, newKeySet, putAll, 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
private static final int CACHE_INIT_SIZE
private java.util.concurrent.ConcurrentHashMap<java.lang.Class<?>,BeanPropertiesCache.BPSoftReference> map
private java.lang.ref.ReferenceQueue<BeanPropertiesCache.BeanProperties> refQ
private void cleanup()
public BeanPropertiesCache.BeanProperties put(java.lang.Class<?> key, BeanPropertiesCache.BeanProperties value)
put
in interface java.util.Map<java.lang.Class<?>,BeanPropertiesCache.BeanProperties>
put
in class java.util.concurrent.ConcurrentHashMap<java.lang.Class<?>,BeanPropertiesCache.BeanProperties>
public BeanPropertiesCache.BeanProperties putIfAbsent(java.lang.Class<?> key, BeanPropertiesCache.BeanProperties value)
putIfAbsent
in interface java.util.concurrent.ConcurrentMap<java.lang.Class<?>,BeanPropertiesCache.BeanProperties>
putIfAbsent
in interface java.util.Map<java.lang.Class<?>,BeanPropertiesCache.BeanProperties>
putIfAbsent
in class java.util.concurrent.ConcurrentHashMap<java.lang.Class<?>,BeanPropertiesCache.BeanProperties>
public BeanPropertiesCache.BeanProperties get(java.lang.Object key)
get
in interface java.util.Map<java.lang.Class<?>,BeanPropertiesCache.BeanProperties>
get
in class java.util.concurrent.ConcurrentHashMap<java.lang.Class<?>,BeanPropertiesCache.BeanProperties>