]
Tristan Tarrant closed ISPN-924.
--------------------------------
Fix Version/s: 9.1.0.Final
Assignee: Pedro Ruivo
Resolution: Done
Implemented in ISPN-7284
Support Atomic arithmetic operations in the API
-----------------------------------------------
Key: ISPN-924
URL:
https://issues.jboss.org/browse/ISPN-924
Project: Infinispan
Issue Type: Feature Request
Components: Core
Reporter: Erik Salter
Assignee: Pedro Ruivo
Fix For: 9.1.0.Final
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 =)