3 Replies Latest reply on Sep 23, 2005 11:38 AM by Brian Stansberry

    TreeCache and State Transfert status

    Christophe Lallement Newbie

      Hi,

      I have a simple need with JBossCache (aop version):
      2 clients share a treecache, but the first started needs to completly init the cache in memory (from a special backend).

      I've read many information (Tutorial,forum ..., CacheLoader) but all is not completly clear for me.
      I have already use JGroups standalone and i was able to solve this pb in set fetchState method.
      i can see that in TreeCache (around line 2337 in methode _setState), tou detect this situation, but it should be fine if at same time the cache could notify listeners that any cache was found ?

      Maybe there is another solution for this pb.

      Thx
      Christophe