14 Replies Latest reply on Aug 10, 2005 6:43 AM by nithin nambiar

    Standalone TreeCache with Configured LRU policy???

    Peter Bridge Newbie


      I'm trying to get TreeCache running standalone, but I'm having problems working out how to configure the eviction policy LRUPolicy. I'm using the following to create the cache...

      cache = new TreeCache();
      //would like to configure LRU here...

      It seems like this policy can only be configured from the MBeans xml?? I'm running outside of JBoss so not sure what I should do...

      Any help appreciated,


      PS I can't find documentation on anon cvs checkout of the source code.