Examples of useChainingCacheLoader()


Examples of org.jboss.cache.config.CacheLoaderConfig.useChainingCacheLoader()

        Assert.assertEquals(ChainingCacheLoader.class, mgr.getCacheLoader().getClass());
        Assert.assertTrue("Should be true", mgr.isFetchPersistentState());
        Assert.assertTrue("Passivation shuld be false", !mgr.isPassivation());
        CacheLoaderConfig c = mgr.getCacheLoaderConfig();
        Assert.assertTrue("Should be using a chaining cache loader", c.useChainingCacheLoader());
        Assert.assertEquals("/, /blah, /blah2", c.getPreload());
        Assert.assertEquals(2, c.getIndividualCacheLoaderConfigs().size());

        CacheLoaderConfig.IndividualCacheLoaderConfig icfg = (CacheLoaderConfig.IndividualCacheLoaderConfig) c.getIndividualCacheLoaderConfigs().get(0);
        Assert.assertEquals("org.jboss.cache.loader.FileCacheLoader", icfg.getClassName());
View Full Code Here

Examples of org.jboss.cache.config.CacheLoaderConfig.useChainingCacheLoader()

      assertEquals(ChainingCacheLoader.class, mgr.getCacheLoader().getClass());
      assertTrue("Should be true", mgr.isFetchPersistentState());
      assertTrue("Passivation shuld be false", !mgr.isPassivation());
      CacheLoaderConfig c = mgr.getCacheLoaderConfig();
      assertTrue("Should be using a chaining cache loader", c.useChainingCacheLoader());
      assertEquals("/, /blah, /blah2", c.getPreload());
      assertEquals(2, c.getIndividualCacheLoaderConfigs().size());

      CacheLoaderConfig.IndividualCacheLoaderConfig icfg = c.getIndividualCacheLoaderConfigs().get(0);
      assertEquals("org.jboss.cache.loader.FileCacheLoader", icfg.getClassName());
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.