java.lang.Object
java.lang.ref.ReferenceQueue<K>
com.tlcsdm.core.concurrent.AbstractWeakConcurrentMap<K,V,WeakConcurrentMap.LookupKey<K>>
com.tlcsdm.core.concurrent.WeakConcurrentMap<K,V>
com.tlcsdm.core.concurrent.WeakConcurrentMap.WithInlinedExpunction<K,V>
- 封闭类:
WeakConcurrentMap<K,V>
A
WeakConcurrentMap where stale entries are removed as a side effect of interacting with this map.-
嵌套类概要
从类继承的嵌套类/接口 com.tlcsdm.core.concurrent.WeakConcurrentMap
WeakConcurrentMap.LookupKey<K>, WeakConcurrentMap.WithInlinedExpunction<K,V> 从类继承的嵌套类/接口 com.tlcsdm.core.concurrent.AbstractWeakConcurrentMap
AbstractWeakConcurrentMap.WeakKey<K> -
字段概要
从类继承的字段 com.tlcsdm.core.concurrent.AbstractWeakConcurrentMap
target -
构造器概要
构造器 -
方法概要
从类继承的方法 com.tlcsdm.core.concurrent.WeakConcurrentMap
getCleanerThread, getLookupKey, resetLookupKey从类继承的方法 com.tlcsdm.core.concurrent.AbstractWeakConcurrentMap
clear, defaultValue, expungeStaleEntries, getIfPresent, putIfAbsent, putIfProbablyAbsent, run, toString从类继承的方法 java.lang.ref.ReferenceQueue
poll, remove, remove从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait从接口继承的方法 java.lang.Iterable
forEach, spliterator
-
构造器详细资料
-
WithInlinedExpunction
public WithInlinedExpunction()
-
-
方法详细资料
-
get
- 覆盖:
get在类中AbstractWeakConcurrentMap<K,V, WeakConcurrentMap.LookupKey<K>> - 参数:
key- The key of the entry.- 返回:
- The value of the entry or the default value if it did not exist.
-
containsKey
- 覆盖:
containsKey在类中AbstractWeakConcurrentMap<K,V, WeakConcurrentMap.LookupKey<K>> - 参数:
key- The key of the entry.- 返回:
trueif the key already defines a value.
-
put
- 覆盖:
put在类中AbstractWeakConcurrentMap<K,V, WeakConcurrentMap.LookupKey<K>> - 参数:
key- The key of the entry.value- The value of the entry.- 返回:
- The previous entry or
nullif it does not exist.
-
remove
- 覆盖:
remove在类中AbstractWeakConcurrentMap<K,V, WeakConcurrentMap.LookupKey<K>> - 参数:
key- The key of the entry.- 返回:
- The removed entry or
nullif it does not exist.
-
iterator
- 指定者:
iterator在接口中Iterable<K>- 覆盖:
iterator在类中AbstractWeakConcurrentMap<K,V, WeakConcurrentMap.LookupKey<K>>
-
approximateSize
public int approximateSize()从类复制的说明:AbstractWeakConcurrentMapReturns the approximate size of this map where the returned number is at least as big as the actual number of entries.- 覆盖:
approximateSize在类中AbstractWeakConcurrentMap<K,V, WeakConcurrentMap.LookupKey<K>> - 返回:
- The minimum size of this map.
-