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());