public MonitorDataExchange(IHealthMonitorRegistry registry, IHealthMonitorExchangeClient exchangeClient, IMonitorableEndpointRegistry monitorableEndpointRegistry, DataExchangeConfig config) { _config = config; _registry = registry; _exchangeClient = exchangeClient; _monitorableEndpointRegistry = monitorableEndpointRegistry; _outgoingQueue = new OutgoingQueue<EndpointHealthUpdate>(_config.OutgoingQueueMaxCapacity); _exchangeThread = new Thread(StartExchange) { Name = "Exchange" }; _exchangeThread.Start(); }
public MonitorDataExchange(IHealthMonitorRegistry registry, IHealthMonitorExchangeClient exchangeClient, IMonitorableEndpointRegistry monitorableEndpointRegistry, DataExchangeConfig config) { _config = config; _registry = registry; _exchangeClient = exchangeClient; _monitorableEndpointRegistry = monitorableEndpointRegistry; _outgoingQueue = new OutgoingQueue <EndpointHealthUpdate>(_config.OutgoingQueueMaxCapacity); _exchangeThread = new Thread(StartExchange) { Name = "Exchange" }; _exchangeThread.Start(); }