4 Replies Latest reply on Aug 14, 2006 7:48 AM by sebi presecan

    Using OPTIMISTIC locking does not notify the TreeCacheListen

    sebi presecan Newbie

      Hi *,

      We are using jboss-treecache 1.4GA.
      Our application uses the TreeCacheListeners to be notified when some of the cache nodes are changed.

      If the locking mode is set to PESIMISTIC the listerners are notified, if the OPTIMISTIC is set as locking mode the listeners are no more notified.

      A simple test can be the following:
      - write a simple listeners that reacts to nodeVisited.
      - use the tree cache viewer and just navigate through some nodes
      - the listener is not notified

      Why? There are any reasons for this behaviour?