<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
On 10-12-15 4:00 PM, Manik Surtani wrote:
<blockquote
cite="mid:658C8610-8C70-46AB-B6D2-DB55CF65FE4A@jboss.org"
type="cite"><br>
<div>
<div>On 15 Dec 2010, at 18:43, Vladimir Blagojevic wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div text="#000000" bgcolor="#ffffff"> On 10-12-15 3:03 PM,
Manik Surtani wrote:
<blockquote
cite="mid:4A99AEDE-822A-452A-B166-1A1F81F9602D@jboss.org"
type="cite">
<pre wrap="">I'm gonna cc infinispan-dev as well, so others can pitch in.
But yeah, good start. I think your dissection of the use cases makes sense, except that I think (a) and (c) are essentially the same; only that in the case of (c) the task ignores any data input. This would raise the question of why would anybody do this, and what purpose does it solve. :-) So yeah, we could support it as a part of (a), but I am less than convinced of its value.
</pre>
</blockquote>
<br>
<tt>Ok, no problem. We just have to somehow bootstrap <code
class="jive-code jive-java">EntryStreamProcessorContext
with no access to cache for c case.</code></tt><br>
</div>
</blockquote>
<div><br>
</div>
<div>Well, I reckon we provide the ref to the cache. If the
impl doesn't make use of it, too bad.</div>
<br>
</div>
</blockquote>
Agreed.<br>
<br>
<blockquote
cite="mid:658C8610-8C70-46AB-B6D2-DB55CF65FE4A@jboss.org"
type="cite">
<div>
<div>Just to finalise the API. Would this be specific to a
cache or a cache manager? E.g., should it be
Cache.newDistributedTask()?</div>
<br>
</div>
</blockquote>
I think it makes more sense on CacheManager because we might have a
task operating on data of a few caches, not just one. So to be safe
and not sorry I'd go with CacheManager. newDistributedTask can have
parameters to specify which cache(s) to use. <br>
<br>
WDYT?<br>
<br>
Cheers<br>
<br>
<br>
</body>
</html>