]
Dan Berindei reassigned ISPN-2686:
----------------------------------
Assignee: (was: Vladimir Blagojevic)
Enhance Mapper API with lazy loaded value
-----------------------------------------
Key: ISPN-2686
URL:
https://issues.jboss.org/browse/ISPN-2686
Project: Infinispan
Issue Type: Enhancement
Components: Distributed Execution and Map/Reduce
Affects Versions: 5.2.0.Beta6
Reporter: Thomas Fromm
Priority: Minor
In situations where Map/Reduce is used and the value is not (always) needed at the
Mapper, the value could be loaded lazy, when the map(..) interface is slightly changed:
map(Entry<KIn, VIn> entry, Collector<Entry<KIn, VIn>> collector)
When entry.getValue() is called, the value should be loaded from store or maybe remote
node.
Maybe this change to Entry would be also useful for event api ISPN-1802