[infinispan-dev] Map/Reduce or other batch processing on CacheLoader stored entries
Manik Surtani
manik at jboss.org
Fri May 25 05:49:17 EDT 2012
On 25 May 2012, at 10:47, Manik Surtani wrote:
>
> On 24 May 2012, at 20:05, Tristan Tarrant wrote:
>
>> On 05/24/2012 07:59 PM, Sanne Grinovero wrote:
>>> Tristan,
>>>
>>>
>>>> Even a simple loadAll(Callable<V>) would do the trick
>>> I'm not understanding this. Could you elaborate a bit?
>>>
>>> I was more thinking of a
>>>
>>> loadAllInto(Consumer engine);
>>>
>> Yes, when I said Callable I meant exactly what you wrote.
>
> Except in more generic terms. :)
>
> I suppose you specifically meant loadAll(Callable<CacheEntry> c) ?
Actually, wait, the parameter only determines the retval of c.call() and not the input parameter. Yes, a separate interface would be necessary, like the Consumer that Sanne mentioned.
--
Manik Surtani
manik at jboss.org
twitter.com/maniksurtani
Lead, Infinispan
http://www.infinispan.org
More information about the infinispan-dev
mailing list