2 Replies Latest reply on Jan 25, 2008 10:47 AM by spennec

    TreeCache Listener behaviour

    spennec

      Hello,

      In a clustered environment, both instances of the servers use TreeCache, in replicated mode.

      If I issue a put(), this call is catched by the listeners.

      What I would like to do is allow a remote listener to recieve the value that has been put, and be able to remove it from the cache under certain circumstances.

      Unfortunately, it seems that, even if I call remove() on the cache in the Listener, the value is cached anyway.

      Is there a way to do that? Catch a call and issue a remove() that removes that data that has just been added?

      Thanks!