[infinispan-issues] [JBoss JIRA] (ISPN-2317) Distributed Callable with automatic filled keys in environment where current node = owner
William Burns (JIRA)
issues at jboss.org
Fri Mar 18 12:39:00 EDT 2016
[ https://issues.jboss.org/browse/ISPN-2317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
William Burns resolved ISPN-2317.
---------------------------------
Resolution: Duplicate
This is possible with distributed streams using forEach method. You will want to pay special attention to its properties when a rehash occurs though.
> Distributed Callable with automatic filled keys in environment where current node = owner
> -----------------------------------------------------------------------------------------
>
> Key: ISPN-2317
> URL: https://issues.jboss.org/browse/ISPN-2317
> Project: Infinispan
> Issue Type: Feature Request
> Components: Distributed Execution and Map/Reduce
> Affects Versions: 5.1.7.Final
> Reporter: Thomas Fromm
>
> In a distributed cache I need to process every key one time. My solution is ATM to create a distributed call and on every node walk through the keyset of the cache and process every node, where the current node is the owner.
> This solution works, but is not really nice.
> I'd like to have a specific Distributed callable for this or an flag/option to enable that the keys where the current node is owner are used at setEnvironment(...).
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the infinispan-issues
mailing list