[jboss-user] [JBoss Cache: Core Edition] - Re: Why does TreeCache notify when putting data gotten by a
mircea.markus
do-not-reply at jboss.com
Thu Sep 4 11:18:31 EDT 2008
notification and replication are different things.
Notification is made only locally.
anonymous wrote : cache.getNotifier().notifyNodeActivated(fqn, true, Collections.emptyMap(), ctx); // Spurious notification sent here.
this code will notify all CacheListener that a certain node is loaded, and all the cache listeners are local to the cache Vm/Instance.
I suggest reading CacheListener documentation.
When doing a cache.put on the other hand, the operation is replicated in all cache nodes.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4174344#4174344
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4174344
More information about the jboss-user
mailing list