[jboss-cvs] JBossCache/docs/TreeCache/en/modules ...

Manik Surtani msurtani at jboss.com
Tue Nov 14 09:17:12 EST 2006


  User: msurtani
  Date: 06/11/14 09:17:12

  Modified:    docs/TreeCache/en/modules  eviction_policies.xml
  Log:
  Merged eviction.Region and Region, eviction.RegionManager and RegionManager (lots of changes, now needs v. thorough testing)
  
  Revision  Changes    Path
  1.8       +2 -2      JBossCache/docs/TreeCache/en/modules/eviction_policies.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: eviction_policies.xml
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/docs/TreeCache/en/modules/eviction_policies.xml,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -b -r1.7 -r1.8
  --- eviction_policies.xml	23 Oct 2006 17:39:01 -0000	1.7
  +++ eviction_policies.xml	14 Nov 2006 14:17:12 -0000	1.8
  @@ -967,8 +967,8 @@
            // retrieved somehow. How it is implemented is up to the implementor.
            TreeCache cache = getRunningTreeCacheInstance();
   
  -         org.jboss.cache.eviction.RegionManager regionManager = cache.getEvictionRegionManager();
  -         org.jboss.cache.eviction.Region region = regionManager.getRegion("/myRegionName");
  +         org.jboss.cache.RegionManager regionManager = cache.getRegionManager();
  +         org.jboss.cache.Region region = regionManager.getRegion("/myRegionName", true);
            EvictionConfiguation config = region.getEvictionConfiguration();
            ((LRUConfiguration)config).setMaxNodes(12345);
            ((LRUConfiguration)config).setTimeToLiveSeconds(500);
  
  
  



More information about the jboss-cvs-commits mailing list