Package org.infinispan.util

Examples of org.infinispan.util.ClusterIdGenerator


      boolean xa = !configuration.isUseSynchronizationForTransactions();
      boolean recoveryEnabled = configuration.isTransactionRecoveryEnabled();
      init(dldEnabled, recoveryEnabled, xa);
      isClustered = configuration.getCacheMode().isClustered();
      if (recoveryEnabled) {
         clusterIdGenerator = new ClusterIdGenerator();
         ClusterIdGenerator.RankCalculator rcl = clusterIdGenerator.getRankCalculatorListener();
         cm.addListener(rcl);
         if (rpcManager != null) {
            Transport transport = rpcManager.getTransport();
            rcl.calculateRank(rpcManager.getAddress(), transport.getMembers(), transport.getViewId());
View Full Code Here


      boolean batchingEnabled = configuration.invocationBatching().enabled();
      init(dldEnabled, recoveryEnabled, xa, batchingEnabled);
      isClustered = configuration.clustering().cacheMode().isClustered();
      if (recoveryEnabled) {
         Transport transport = rpcManager != null ? rpcManager.getTransport() : null;
         clusterIdGenerator = new ClusterIdGenerator(cm, transport);
      }
   }
View Full Code Here

TOP

Related Classes of org.infinispan.util.ClusterIdGenerator

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.