[infinispan-issues] [JBoss JIRA] Created: (ISPN-924) Support Atomic arithmetic operations in the API

Erik Salter (JIRA) jira-events at lists.jboss.org
Wed Feb 9 16:20:46 EST 2011


Support Atomic arithmetic operations in the API
-----------------------------------------------

                 Key: ISPN-924
                 URL: https://issues.jboss.org/browse/ISPN-924
             Project: Infinispan
          Issue Type: Feature Request
            Reporter: Erik Salter
            Assignee: Manik Surtani


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

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the infinispan-issues mailing list