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

Support Atomic arithmetic operations in the API

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 9.1.0.Final
    • Component/s: Core
    • Labels:
      None

      Description

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

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  pruivo Pedro Ruivo
                  Reporter:
                  an1310 Erik Salter
                • Votes:
                  12 Vote for this issue
                  Watchers:
                  7 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: