Examples of DummyEvictionPolicy


Examples of org.jboss.cache.eviction.DummyEvictionPolicy

   public void setUp() throws Exception
   {
      super.setUp();
      regionManager = new RegionManager();
      LRUConfiguration config = new LRUConfiguration();
      regionManager.createRegion("/a/b/c", new DummyEvictionPolicy(), config);
      regionManager.createRegion("/a/b/d", new DummyEvictionPolicy(), config);
      regionManager.createRegion("/a/b", new DummyEvictionPolicy(), config);

      regionManager.createRegion("/d/e/f", new DummyEvictionPolicy(), config);
      regionManager.createRegion("/d/e/g", new DummyEvictionPolicy(), config);
      regionManager.createRegion("/d/e", new DummyEvictionPolicy(), config);

      cache = new TreeCache();
      cache.setTransactionManagerLookupClass("org.jboss.cache.DummyTransactionManagerLookup");
      cache.setIsolationLevel(IsolationLevel.SERIALIZABLE);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.