This content has been marked as final.
Show 2 replies
-
1. Re: CacheNotifier.notifyCacheEntryVisitedEvent() callback details
frankbradley Jul 10, 2013 3:46 AM (in response to cotton.ben)Not sure if the answer to both of your questions is definitely 'No'., but I don't see any way to do either one of these.
-
2. Re: CacheNotifier.notifyCacheEntryVisitedEvent() callback details
ben.cotton_jpmorgan.com Jul 10, 2013 12:03 PM (in response to frankbradley)Actually, it turns out that both are fundamentally doable.
1. event.getCache().getAdvancedCache().getRpcManager().getAddress()
2. event.getCache().getAdvancedCache().getDistributionManager().isLocal(key).
( See Mircea's response to http://infinispan-developer-list.980875.n3.nabble.com/infinispan-dev-L1-Data-Container-tc4027447.html#a4027632 )