1 Reply Latest reply on Jul 7, 2005 5:26 PM by ben.wang

    TreeCacheListener node granularity

    gherndon

      Hi all,

      I'm currently moving to TreeCache from JGroups's DistributedHashtable class. Since I don't need the tree structure, I am simply using "/"'s internal HashMap for all my distributed mapping needs (tree.put("/", key, object), etc). I need to be able to listen for when this map is updated and was looking at the TreeCacheListener. I used to use a DistributedHashtable.Notification class for this... however, the nodeModified() event looks like it only gives me an FQN.

      Is there any way for me to determine which key in the map has been modified?

      Thanks,
      Gary