public S3RepositoryCleanerCircuitBreaker( IRepositoryCleaner <S3FileKey> repositoryCleaner, ILogger <S3RepositoryCleanerCircuitBreaker> logger, IOptions <CircuitBreakerOptions> circuitBreakerOptionsAccessor) : base(logger, circuitBreakerOptionsAccessor) { _repositoryCleaner = repositoryCleaner ?? throw new ArgumentNullException(nameof(repositoryCleaner)); }
public S3RepositoryCleanerRetrying( IRepositoryCleaner <S3FileKey> repositoryCleaner, ILogger <S3RepositoryCleanerRetrying> logger, IOptions <RetryOptions> retryOptionsAccessor) : base(logger, retryOptionsAccessor) { _repositoryCleaner = repositoryCleaner ?? throw new ArgumentNullException(nameof(repositoryCleaner)); }
public S3RepositoryCleanerLogger( IRepositoryCleaner <S3FileKey> repositoryCleaner, ILogger <S3RepositoryCleanerLogger> logger, IBucketNameConstructor bucketNameConstructor) : base(logger, bucketNameConstructor) { _repositoryCleaner = repositoryCleaner ?? throw new ArgumentNullException(nameof(repositoryCleaner)); }
public CleanRepository() { _respositoryCleaner = new RepositoryCleaner(this.IndexReader, this.Settings, new TestLogger <IRepositoryCleaner>()); }
/// <summary> /// /// </summary> /// <param name="packageService"></param> /// <param name="settings"></param> /// <param name="indexService"></param> /// <param name="log"></param> public CleanController(IRepositoryCleaner repositoryCleaner, IIndexReader indexService) { _indexService = indexService; _repositoryCleaner = repositoryCleaner; }
public Daemon(IRepositoryCleaner repositoryCleaner, IIndexReader indexService, ILogger <Daemon> log) { _indexService = indexService; _repositoryCleaner = repositoryCleaner; _log = log; }