[infinispan-dev] origin of cache events in Infinispan

Mohan Dhawan mohan.dhawan at gmail.com
Mon Sep 15 04:26:49 EDT 2014


Hi Tristan,

Thanks for the prompt reply. I apologize for the hasty post on the
dev-list. :( .

Regards,
mohan

On Monday 15 September 2014 01:29 PM, Tristan Tarrant wrote:
> Hi Mowan,
>
> I replied on the forum at https://developer.jboss.org/thread/248783
>
> Also: you posted your request on mid-day Friday and you expected a quick 
> reply with a weekend in the middle. We do our best to help our users, 
> but we also have our own private lives which do not involve Infinispan :)
>
> Tristan
>
>
> On 13/09/14 07:56, Mohan Dhawan wrote:
>> Hi All,
>>
>> Apologies for posting to the dev-list, but no one on the support forum
>> replied. :(
>>
>> How does Infinispan determine the origin of the cache events ?
>> Specifically, when a CacheEntryModified or other notifications are
>> thrown, then how does Infinispan compute the origin of the event ?
>>
>> In other words, if one uses ctx.getOrigin() within an interceptor, how
>> is the origin calculated ? Is is determined using TCP connections at the
>> receiver node or is it passed along with the message from the sender ?
>> In case it is the latter, then it is possible for a node to masquerade
>> as another node.
>>
>> Also, is event.getGlobalTransaction().getAddress() equivalent to
>> ctx.getOrigin() ?
>>
>> Thanks for your help.
>>
>> Regards,
>> mohan
>>
>>
>>
>> _______________________________________________
>> infinispan-dev mailing list
>> infinispan-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/infinispan-dev
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: OpenPGP digital signature
Url : http://lists.jboss.org/pipermail/infinispan-dev/attachments/20140915/0c360a6e/attachment.bin 


More information about the infinispan-dev mailing list