1 Reply Latest reply on Jul 11, 2007 8:47 AM by manik

    notification of cache getting replicated

    absan

      Is there a way that the other machine comes to know that the data in my cache is replicated?

        • 1. Re: notification of cache getting replicated
          manik

          Yes.

          1.4.x:

          The nodeModify event in the ExtendedTreeCacheListener gets an 'isLocal' boolean passed in so you know if the modification occured locally or remotely.

          2.x:

          The @NodeModified annotation on a registered listener object will be called with a NodeModifiedEvent parameter, which has an isLocal() method to test the origin of the call.