]
Emmanuel Bernard updated ISPN-5003:
-----------------------------------
Labels: Slowing_OGM for_OGM (was: Slowing_OGM)
Support putIfAbsent() semantics for FineGrainedAtomic map
---------------------------------------------------------
Key: ISPN-5003
URL:
https://issues.jboss.org/browse/ISPN-5003
Project: Infinispan
Issue Type: Feature Request
Reporter: Gunnar Morling
Labels: Slowing_OGM, for_OGM
For Hibernate OGM we work with {{FineGrainedAtomicMap}} to represent entity tuples. Now
we're looking for a way to insert such map into the cache only if it is not present
under the given key yet (so we know after the invocation whether the insert has taken
place or not).
{{Cache#putIfAbsent()}} seems promising for that, but this seems not usable with
{{FineGrainedAtomicMap}} (As I seem not able to create the map myself in that case).