]
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(...).