K
- the type of keys maintained by this mapV
- the type of mapped valuespublic interface IConcurrentMap<K,V> extends ConcurrentMap<K,V>
ConcurrentMap
with applyIfAbsent function.
Memory consistency effects: As with other concurrent
collections, actions in a thread prior to placing an object into a
ConcurrentMap
as a key or value
happen-before
actions subsequent to the access or removal of that object from
the ConcurrentMap
in another thread.
Modifier and Type | Method and Description |
---|---|
V |
applyIfAbsent(K key,
IFunction<? super K,? extends V> mappingFunction) |
V |
applyIfPresent(K key,
IBiFunction<? super K,? super V,? extends V> mappingFunction) |
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
Copyright © 2018 Hazelcast, Inc.. All rights reserved.