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
[email protected]
twitter.com/maniksurtani

Lead, Infinispan
http://www.infinispan.org




_______________________________________________
infinispan-dev mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/infinispan-dev

Reply via email to