Method NewConcurrentHashMap
NewConcurrentHashMap()
Creates a new WeakIdentityMap<TKey, TValue> based on a
Declaration
public static WeakIdentityMap<TKey, TValue> NewConcurrentHashMap()
Returns
Type | Description |
---|---|
WeakIdentityMap<TKey, TValue> |
NewConcurrentHashMap(Boolean)
Creates a new WeakIdentityMap<TKey, TValue> based on a
Declaration
public static WeakIdentityMap<TKey, TValue> NewConcurrentHashMap(bool reapOnRead)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | reapOnRead | controls if the map cleans up the reference queue on every read operation. |
Returns
Type | Description |
---|---|
WeakIdentityMap<TKey, TValue> |