Package | Description |
---|---|
org.apache.hadoop.hbase.util |
Modifier and Type | Method and Description |
---|---|
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–2020 The Apache Software Foundation. All rights reserved.