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

Support Atomic arithmetic operations in the API

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 9.1.0.Final
    • None
    • Core
    • None

      It would be useful if Infinispan supported cluster-wide atomic operations for java.lang.Number types in the API – similar to the AtomicX API in Java.

      Right now, to cobble this functionality, we'd need to do something like:

      • Start a tx
      • Single-lock a key
      • Get and increment
      • Commit
      • And, of course, handle the cache exceptions =)

              pruivo@redhat.com Pedro Ruivo
              esalter@synamedia.com Erik Salter (Inactive)
              Votes:
              12 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: