ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gianfranco Murador (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (IGNITE-881) Refactor ATOMIC_INCREMENT and ATOMIC_DECREMENT REST commands to use entry processor
Date Thu, 11 Jun 2015 11:40:00 GMT

     [ https://issues.apache.org/jira/browse/IGNITE-881?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Gianfranco Murador reassigned IGNITE-881:
-----------------------------------------

    Assignee: Gianfranco Murador

> Refactor ATOMIC_INCREMENT and ATOMIC_DECREMENT REST commands to use entry processor
> -----------------------------------------------------------------------------------
>
>                 Key: IGNITE-881
>                 URL: https://issues.apache.org/jira/browse/IGNITE-881
>             Project: Ignite
>          Issue Type: Task
>          Components: newbie
>            Reporter: Yakov Zhdanov
>            Assignee: Gianfranco Murador
>
> Currently, these commands alter the state of CacheAtomicLong, but they will be more flexible
if they atomically change cache key-value mapping.
> Consider the following:
> # Move handling logic to GridCacheCommandHandler
> # Whenever command is received handling node should call {{org.apache.ignite.IgniteCache#invoke(K,
org.apache.ignite.cache.CacheEntryProcessor<K,V,T>, java.lang.Object...)}} to properly
change the value (depending on the argument) and return result
> # If value is not a Number, error should be returned to the caller.



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

Mime
View raw message