[infinispan-issues] [JBoss JIRA] (ISPN-924) Support Atomic arithmetic operations in the API
Daniel Nuss (JIRA)
jira-events at lists.jboss.org
Fri Nov 22 03:55:06 EST 2013
[ https://issues.jboss.org/browse/ISPN-924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12925992#comment-12925992 ]
Daniel Nuss commented on ISPN-924:
----------------------------------
Is there any chance that this will be implemented in near future? It would be a feature which certainly would be used by my company. At the moment, i implement a cluster-wide counter with the help of hard locks, i think your version will surely perform better.
> 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 API
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list