You probably already discussed this, sorry if that's the case, but for
someone new (but interested) at the discussion, why not start with an
ExecutiveService impl that executes in the Infinispan cloud?
-- Eduardo
..............................................
http://emmartins.blogspot.com
http://redhat.com/solutions/telco
On Wed, Jan 5, 2011 at 6:39 PM, Manik Surtani <manik(a)jboss.org> wrote:
On 5 Jan 2011, at 17:05, Vladimir Blagojevic wrote:
Or, perhaps, making use of a more fluent API:
R result = new
MapReduceTask(cache).on(K...).mappedWith(mapper).reducedWith(reducer).collate(collator);
Future<R> result = new
MapReduceTask(cache).on(K...).mappedWith(mapper).reducedWith(reducer).collateAsynchronously(collator);
List<R> result = new
DistributedRemoteTask(cache).on(K...).execute(distributedCallable);
List<Future<R>> result = new
DistributedRemoteTask(cache).on(K...).executeAsync(distributedCallable);
Awesome! I love this fluent API proposal!
Cool. Then if this is the case lets stick with the fluent API - I think it
would make life much easier for developers.
--
Manik Surtani
manik(a)jboss.org
twitter.com/maniksurtani
Lead, Infinispan
http://www.infinispan.org
_______________________________________________
infinispan-dev mailing list
infinispan-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/infinispan-dev