Package org.jboss.virtual.plugins.cache

Examples of org.jboss.virtual.plugins.cache.LRUVFSCache


      return suite(LRUCacheTestCase.class);
   }

   protected VFSCache createCache()
   {
      return new LRUVFSCache(2, 10);
   }
View Full Code Here


         }
         assertTrue("mkdir " + tempDir, tempDir.mkdir());

         System.setProperty("jboss.server.temp.dir", tempDir.getCanonicalPath());

         VFSCache cache = new LRUVFSCache(2, 5);
         cache.start();
         VFSCacheFactory.setInstance(cache);
      }
      catch (Exception e)
      {
         tearDown();
View Full Code Here

   public void setUp() throws Exception
   {
      super.setUp();

      LRUVFSCache cache = new LRUVFSCache(50, 100);
      cache.start();
      VFSCacheFactory.setInstance(cache);
   }
View Full Code Here

TOP

Related Classes of org.jboss.virtual.plugins.cache.LRUVFSCache

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.