<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 12-10-23 12:56 PM, Mircea Markus
wrote:<br>
</div>
<blockquote
cite="mid:5D14F9A4-0937-4F6C-B9EA-D5E5998C6556@jboss.com"
type="cite"><br>
<div>
<div>On 23 Oct 2012, at 17:54, Manik Surtani wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div><br>
On 23 Oct 2012, at 17:17, Vladimir Blagojevic <<a
moz-do-not-send="true" href="mailto:vblagoje@redhat.com">vblagoje@redhat.com</a>>
wrote:<br>
<br>
<blockquote type="cite">On 12-10-23 11:40 AM, Mircea Markus
wrote:<br>
</blockquote>
<blockquote type="cite">
<blockquote type="cite"><br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite">The main reason for passing the
keys is in order to calculate the <br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite">locality of the task based on
consistent hash. We don't have a <br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite">reference to the consistent hash
in the DistributedTaskFailoverPolicy, <br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite">so not sure this would be useful
as it is.<br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite"><br>
</blockquote>
</blockquote>
<blockquote type="cite">You are right Mircea. But we can put
CH in FailoverContext if needed :-)<br>
</blockquote>
<br>
And make CH a part of the public API?:/<br>
</div>
</blockquote>
<div>It is reachable through the advancedCache.</div>
<br>
</div>
</blockquote>
Right, if someone is writing a custom failover policy and he is
looking to place jobs where the input keys are local he is no
stranger to CH :-)<br>
<br>
Cheers,<br>
Vladimir<br>
</body>
</html>