程序包 | 说明 |
---|---|
org.apache.hadoop.hbase.util |
限定符和类型 | 方法和说明 |
---|---|
static <K,V> V |
ConcurrentMapUtils.computeIfAbsentEx(ConcurrentMap<K,V> map,
K key,
ConcurrentMapUtils.IOExceptionSupplier<V> supplier)
In HBASE-16648 we found that ConcurrentHashMap.get is much faster than computeIfAbsent if the
value already exists.
|
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.