public Agent( IClusterNodes clusterNodes, IDevicePartitions partitions, ISimulations simulations, IThreadWrapper thread, IClusteringConfig clusteringConfig, IFactory factory, ILogger logger, IAzureManagementAdapterClient azureManagementAdapter) { this.clusterNodes = clusterNodes; this.partitions = partitions; this.simulations = simulations; this.thread = thread; this.factory = factory; this.log = logger; this.azureManagementAdapter = azureManagementAdapter; this.clusteringConfig = clusteringConfig; this.checkIntervalMsecs = clusteringConfig.CheckIntervalMsecs; this.running = false; this.currentNodeCount = DEFAULT_NODE_COUNT; }
public IotHubMetrics(IAzureManagementAdapterClient azureManagementAdapter) { this.azureManagementAdapter = azureManagementAdapter; }