[ 
https://issues.apache.org/jira/browse/IGNITE-4244?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15692129#comment-15692129
 ] 

Roman Shtykh commented on IGNITE-4244:
--------------------------------------

Hi [~anovikov],

Thank you for the tips!
I have implemented as you advised.

The only difference is for INCR/DECR -- I used {{get}} and them {{remove}} the 
key, because {{remove}} returns a boolean value. Also I used REST requests.

It works this way, but I think we can improve it when we have a new REST 
implementation the next year.


> Redis INCR/DECR to operate on AtomicLong.
> -----------------------------------------
>
>                 Key: IGNITE-4244
>                 URL: https://issues.apache.org/jira/browse/IGNITE-4244
>             Project: Ignite
>          Issue Type: Sub-task
>            Reporter: Roman Shtykh
>            Assignee: Roman Shtykh
>              Labels: redis
>             Fix For: 1.8
>
>
> "The INCR command parses the string value as an integer, increments it by 
> one, and finally sets the obtained value as the new value. " 
> http://redis.io/topics/data-types-intro



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to