[
https://issues.apache.org/jira/browse/IGNITE-1501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14802951#comment-14802951
]
Vladimir Ozerov commented on IGNITE-1501:
-----------------------------------------
At the very least, this includes IgniteAtomicLong and IgniteAtomicReferences
classes.
May be we can also add it to IgniteAtomicStamped, but what to return in this
case? IgniteBiTuple?
> Add compare-and-set operation which returns currnet value in case of failure.
> -----------------------------------------------------------------------------
>
> Key: IGNITE-1501
> URL: https://issues.apache.org/jira/browse/IGNITE-1501
> Project: Ignite
> Issue Type: Task
> Components: cache, general
> Affects Versions: 1.1.4
> Reporter: Vladimir Ozerov
> Fix For: ignite-1.5
>
>
> Currently our distributed atomics can only return boolean flag in case of
> failed CAS. We need to extend this and add another method returning previous
> value.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)