Package com.gemstone.gemfire.cache

Examples of com.gemstone.gemfire.cache.DynamicRegionFactory


  @Autowired ApplicationContext ctx;
 
  @Test
  public void testBasicCache() throws Exception {
    DynamicRegionFactory drf = DynamicRegionFactory.get();
    assertFalse(drf.isOpen());
    assertNull(drf.getConfig());
    ctx.getBean("gemfireCache", Cache.class);
    assertTrue(drf.isOpen());
    DynamicRegionFactory.Config config = drf.getConfig();
    assertFalse(config.persistBackup);
    assertFalse(config.registerInterest);
    assertEquals(File.separator + "foo", config.diskDir.getPath());
  }
View Full Code Here

TOP

Related Classes of com.gemstone.gemfire.cache.DynamicRegionFactory

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.