public EventFeedsRunner([CanBeNull] string singleLeaderElectionKey, TimeSpan delayBetweenIterations, [NotNull, ItemNotNull] IBlade[] blades, IPeriodicJobRunner periodicJobRunner, CancellationToken cancellationToken) { this.periodicJobRunner = periodicJobRunner; RunFeeds(singleLeaderElectionKey, delayBetweenIterations, blades, cancellationToken); }
public AdvancedConfigurationReader(ILogger <AdvancedConfigurationReader> logger, ISettingsCacheResolver settingsCacheResolver, ICacheMissHandler cacheMissHandler, IPeriodicJobRunner periodicJobRunner) { _logger = logger; _settingsCacheResolver = settingsCacheResolver; _cacheMissHandler = cacheMissHandler; _periodicJobRunner = periodicJobRunner; _periodicJobRunner.Start(); }
public EventFeedsBuilder(IGlobalTimeProvider globalTimeProvider, IPeriodicJobRunner periodicJobRunner) { this.globalTimeProvider = globalTimeProvider; this.periodicJobRunner = periodicJobRunner; bladesBuilders = new List <IBladesBuilder <TOffset> >(); }
public EventFeedFactory(IGlobalTimeProvider globalTimeProvider, IPeriodicJobRunner periodicJobRunner) { this.globalTimeProvider = globalTimeProvider; this.periodicJobRunner = periodicJobRunner; }