[jboss-user] [JBossCache] - Re: POjoCache-Internal field modification

ben.wang@jboss.com do-not-reply at jboss.com
Fri Oct 27 05:50:09 EDT 2006

Take a look at TreeCacheListener interface and here is a code snippet:

  | MyTreeCacheListener listener = new MyTreeCacheLister();
  | cache.addTreeCacheListener(listener);
  | cache.start();
  | ...

Only caveat is that the notification is on the node level (while fields are stored in the attribute inside the node map). So when a node is modified, you don't know exactly which one except that some attributes inside this node has been modified.

Hope this help.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3981257#3981257

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3981257

More information about the jboss-user mailing list