public Object call() throws Exception { DistributionManager dm = (DistributionManager) InternalDistributedSystem.getAnyInstance().getDistributionManager(); assertEquals(dsId, dm.getDistributedSystemId()); return null; } };
this.distributedSystemId = dm.getDistributedSystemId(); this.redundancyZone = dm.getRedundancyZone(dm.getId());
this.distributedSystemId = dm.getDistributedSystemId(); this.redundancyZone = dm.getRedundancyZone(dm.getId());
.toLocalizedString(new Object[] {getSender(), Boolean.valueOf(isTcpDisabled)}); else if (dm.getDistributedSystemId() != DistributionConfig.DEFAULT_DISTRIBUTED_SYSTEM_ID && distributedSystemId != DistributionConfig.DEFAULT_DISTRIBUTED_SYSTEM_ID && distributedSystemId != dm.getDistributedSystemId()) { if(-distributedSystemId != dm.getDistributedSystemId()){ rejectionMessage = LocalizedStrings.StartupMessage_REJECTED_NEW_SYSTEM_NODE_0_BECAUSE_DISTRIBUTED_SYSTEM_ID_1_DOES_NOT_MATCH_THE_DISTRIBUTED_SYSTEM_2_IT_IS_ATTEMPTING_TO_JOIN.toLocalizedString( new Object[] {getSender(), Integer.valueOf(distributedSystemId), dm.getDistributedSystemId()}); new Object[] {getSender(), Integer.valueOf(distributedSystemId), dm.getDistributedSystemId()});
.toLocalizedString(new Object[] {getSender(), Boolean.valueOf(isTcpDisabled)}); else if (dm.getDistributedSystemId() != DistributionConfig.DEFAULT_DISTRIBUTED_SYSTEM_ID && distributedSystemId != DistributionConfig.DEFAULT_DISTRIBUTED_SYSTEM_ID && distributedSystemId != dm.getDistributedSystemId()) { if(-distributedSystemId != dm.getDistributedSystemId()){ rejectionMessage = LocalizedStrings.StartupMessage_REJECTED_NEW_SYSTEM_NODE_0_BECAUSE_DISTRIBUTED_SYSTEM_ID_1_DOES_NOT_MATCH_THE_DISTRIBUTED_SYSTEM_2_IT_IS_ATTEMPTING_TO_JOIN.toLocalizedString( new Object[] {getSender(), Integer.valueOf(distributedSystemId), dm.getDistributedSystemId()}); new Object[] {getSender(), Integer.valueOf(distributedSystemId), dm.getDistributedSystemId()});