[infinispan-dev] origin of cache events in Infinispan

Tristan Tarrant ttarrant at redhat.com
Mon Sep 15 03:59:23 EDT 2014

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 :)


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

More information about the infinispan-dev mailing list