Esempio n. 1
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
//ORIGINAL LINE: public void start0() throws InterruptedException
        public override void Start0()
        {
            _coreTopology             = _sharedDiscoveryService.getCoreTopology(this);
            _localCoreTopology        = _coreTopology.filterTopologyByDb(_localDBName);
            _readReplicaTopology      = _sharedDiscoveryService.ReadReplicaTopology;
            _localReadReplicaTopology = _readReplicaTopology.filterTopologyByDb(_localDBName);

            _sharedDiscoveryService.registerCoreMember(this);
            Log.info("Registered core server %s", MyselfConflict);

            _sharedDiscoveryService.waitForClusterFormation();
            Log.info("Cluster formed");
        }
Esempio n. 2
0
 public override CoreTopology AllCoreServers()
 {
     return(_sharedDiscoveryService.getCoreTopology(_dbName, false));
 }