internal virtual void OnCoreTopologyChange(CoreTopology coreTopology) { Log.info("Notified of core topology change " + coreTopology); this._coreTopology = coreTopology; this._localCoreTopology = coreTopology.FilterTopologyByDb(_localDBName); ListenerService.notifyListeners(coreTopology); }
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#: //ORIGINAL LINE: private void refreshCoreTopology() throws InterruptedException private void RefreshCoreTopology() { WaitOnHazelcastInstanceCreation(); CoreTopology newCoreTopology = getCoreTopology(_hazelcastInstance, Config, Log); TopologyDifference difference = _coreTopology.difference(newCoreTopology); _coreTopology = newCoreTopology; _localCoreTopology = newCoreTopology.FilterTopologyByDb(_localDBName); if (difference.HasChanges()) { Log.info("Core topology changed %s", difference); ListenerService.notifyListeners(_coreTopology); } }