Package org.miaixz.bus.core.center.map.concurrent
package org.miaixz.bus.core.center.map.concurrent
- Since:
- Java 17+
- Author:
- Kimi Liu
-
ClassDescriptionA hash table supporting full concurrency of retrievals, adjustable expected concurrency for updates, and a maximum capacity to bound the map by.A builder that creates
ConcurrentLinkedHashMapinstances.EntryWeigher<K,V> A class that can determine the selector of an entry.安全的ConcurrentHashMap实现 此类用于解决在JDK8中调用ConcurrentHashMap.computeIfAbsent(Object, Function)可能造成的死循环问题。Weigher<V>确定值的选择器A common set ofWeigherandEntryWeigherimplementations.