Examples of compatibility()


Examples of org.infinispan.configuration.cache.ConfigurationBuilder.compatibility()

public class CompatModeDistributedTwoNodesMapReduceTest extends BaseWordCountMapReduceTest {

   @Override
   protected void createCacheManagers() throws Throwable {
      ConfigurationBuilder builder = TestCacheManagerFactory.getDefaultCacheConfiguration(true, false);
      builder.compatibility().enable()
            .clustering()
            .cacheMode(CacheMode.DIST_SYNC)
            .stateTransfer().fetchInMemoryState(false)
            .transaction().syncCommitPhase(true).syncRollbackPhase(true)
            .cacheStopTimeout(0L);
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.