[infinispan-dev] Comments on latest iteration of Distributed Task Execution design

vblagoje at redhat.com vblagoje at redhat.com
Mon Aug 2 10:31:41 EDT 2010


I would love to make it this simple but how does execution environment know which cache to pass in mappedToNode? Task Implementors somehow have to inform the environment about the cache they need to retrieve data....   

 
> 
> I still don't see why you need to pass it the cache manager.  Perhaps:
> 
> DistributedCallable {
> 
> 	Set<K> getRelatedKeys();
> 
> 	void mappedToNode(Cache<K, V> cache);
> 
> }
> 
> 
> --
> Manik Surtani
> manik at jboss.org
> Lead, Infinispan
> Lead, JBoss Cache
> http://www.infinispan.org
> http://www.jbosscache.org
> 
> 
> 
> 
> 
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev



More information about the infinispan-dev mailing list