Package org.jboss.cache.eviction

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

Related Classes of org.jboss.cache.eviction.DummyEvictionPolicy

Copyright © 2018 www.massapicom. 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.