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

Support Atomic arithmetic operations in the API

    XMLWordPrintable

Details

    • Feature Request
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Done
    • None
    • 9.1.0.Final
    • Core
    • 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 =)

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: