[infinispan-dev] origin of cache events in Infinispan

Mohan Dhawan mohan.dhawan at gmail.com
Sat Sep 13 01:56:58 EDT 2014

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.


-------------- 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/20140913/3e9cb146/attachment.bin 

More information about the infinispan-dev mailing list