Examples of BuddyReplicationConfig


Examples of org.jboss.cache.config.BuddyReplicationConfig

                  "         <properties>\n" +
                  "            numBuddies = 3\n" +
                  "         </properties>\n" +
                  "      </locator>\n" +
                  "   </buddy>";
      BuddyReplicationConfig config = getBuddyReplicationConfig(xmlConfig);
      BuddyManager mgr = new BuddyManager(config);

      assertTrue(mgr.isEnabled());
      assertEquals("groupOne", mgr.getBuddyPoolName());
      assertEquals(NextMemberBuddyLocator.class, mgr.buddyLocator.getClass());
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.