public Indexer(IPersistentQueueReader<PersistentQueueMessage> queueReader, IHostIndexer hostIndexer, IFunctionIndexer functionIndexer, IIndexerLogWriter logWriter) { _queueReader = queueReader; _hostIndexer = hostIndexer; _functionIndexer = functionIndexer; _logWriter = logWriter; }
public Indexer(IPersistentQueueReader <PersistentQueueMessage> queueReader, IHostIndexer hostIndexer, IFunctionIndexer functionIndexer, IIndexerLogWriter logWriter) { _queueReader = queueReader; _hostIndexer = hostIndexer; _functionIndexer = functionIndexer; _logWriter = logWriter; }
public UpgradeIndexer(IPersistentQueueReader <PersistentQueueMessage> queueReader, IHostIndexer hostIndexer, IFunctionIndexer functionIndexer, IIndexerLogWriter logWriter, IDashboardVersionManager dashboardVersionReader, CloudBlobClient client) : base(queueReader, hostIndexer, functionIndexer, logWriter) { _dashboardVersionManager = dashboardVersionReader; _client = client; _functionsStore = ConcurrentTextStore.CreateBlobStore(_client, DashboardContainerNames.Dashboard, DashboardDirectoryNames.FunctionsFlat); _logsStore = ConcurrentTextStore.CreateBlobStore(_client, DashboardContainerNames.Dashboard, DashboardDirectoryNames.Logs); // From archive back to output _upgradeQueueReader = new PersistentQueueReader <PersistentQueueMessage>(client.GetContainerReference(ContainerNames.HostArchive), client.GetContainerReference(ContainerNames.HostOutput)); }
public UpgradeIndexer(IPersistentQueueReader<PersistentQueueMessage> queueReader, IHostIndexer hostIndexer, IFunctionIndexer functionIndexer, IIndexerLogWriter logWriter, IDashboardVersionManager dashboardVersionReader, CloudBlobClient client) : base(queueReader, hostIndexer, functionIndexer, logWriter) { _dashboardVersionManager = dashboardVersionReader; _client = client; _functionsStore = ConcurrentTextStore.CreateBlobStore(_client, DashboardContainerNames.Dashboard, DashboardDirectoryNames.FunctionsFlat); _logsStore = ConcurrentTextStore.CreateBlobStore(_client, DashboardContainerNames.Dashboard, DashboardDirectoryNames.Logs); // From archive back to output _upgradeQueueReader = new PersistentQueueReader<PersistentQueueMessage>(client.GetContainerReference(ContainerNames.HostArchive), client.GetContainerReference(ContainerNames.HostOutput)); }