[infinispan-dev] Dist.exec failover

Vladimir Blagojevic vblagoje at redhat.com
Tue Oct 23 13:08:03 EDT 2012


On 12-10-23 12:56 PM, Mircea Markus wrote:
>
> On 23 Oct 2012, at 17:54, Manik Surtani wrote:
>
>>
>> On 23 Oct 2012, at 17:17, Vladimir Blagojevic <vblagoje at redhat.com 
>> <mailto:vblagoje at redhat.com>> wrote:
>>
>>> On 12-10-23 11:40 AM, Mircea Markus wrote:
>>>>
>>>> The main reason for passing the keys is in order to calculate the
>>>> locality of the task based on consistent hash. We don't have a
>>>> reference to the consistent hash in the DistributedTaskFailoverPolicy,
>>>> so not sure this would be useful as it is.
>>>>
>>> You are right Mircea. But we can put CH in FailoverContext if needed :-)
>>
>> And make CH a part of the public API?:/
> It is reachable through the advancedCache.
>
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 :-)

Cheers,
Vladimir
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/infinispan-dev/attachments/20121023/767dcca3/attachment.html 


More information about the infinispan-dev mailing list