Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-5003

Support putIfAbsent() semantics for FineGrainedAtomic map

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • None

      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).

              Unassigned Unassigned
              gunnar.morling Gunnar Morling
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: