[infinispan-dev] Map/Reduce or other batch processing on CacheLoader stored entries

Tristan Tarrant ttarrant at redhat.com
Fri May 25 05:51:27 EDT 2012


On 05/25/2012 11:47 AM, Manik Surtani wrote:
> 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) ?

Yes, but probably "loadAll" is not too appropriate, since "load" implies 
"retention in memory" (at least in my mind), whereas here we just mean 
"iterate over the entries and do something with them". Semantics, I 
know, but good self-explanatory method names go a long way.

Tristan



More information about the infinispan-dev mailing list