Package | Description |
---|---|
org.dromara.hutool.core.map.concurrent |
并发Map工具类
|
Modifier and Type | Method and Description |
---|---|
ConcurrentLinkedHashMap.Builder<K,V> |
ConcurrentLinkedHashMap.Builder.concurrencyLevel(int concurrencyLevel)
Specifies the estimated number of concurrently updating threads.
|
ConcurrentLinkedHashMap.Builder<K,V> |
ConcurrentLinkedHashMap.Builder.initialCapacity(int initialCapacity)
Specifies the initial capacity of the hash table (default
16 ). |
ConcurrentLinkedHashMap.Builder<K,V> |
ConcurrentLinkedHashMap.Builder.listener(BiConsumer<K,V> listener)
Specifies an optional listener that is registered for notification when
an entry is evicted.
|
ConcurrentLinkedHashMap.Builder<K,V> |
ConcurrentLinkedHashMap.Builder.maximumWeightedCapacity(long capacity)
Specifies the maximum weighted capacity to coerce the map to and may
exceed it temporarily.
|
ConcurrentLinkedHashMap.Builder<K,V> |
ConcurrentLinkedHashMap.Builder.weigher(EntryWeigher<? super K,? super V> weigher)
Specifies an algorithm to determine how many the units of capacity an
entry consumes.
|
ConcurrentLinkedHashMap.Builder<K,V> |
ConcurrentLinkedHashMap.Builder.weigher(Weigher<? super V> weigher)
Specifies an algorithm to determine how many the units of capacity a
value consumes.
|
Copyright © 2025. All rights reserved.