public MaintenanceTaskScheduler( ITracer tracer, PhysicalFileSystem fileSystem, IScalarVerbRunner scalarVerb, IScalarRepoRegistry repoRegistry) { this.tracer = tracer; this.fileSystem = fileSystem; this.scalarVerb = scalarVerb; this.repoRegistry = repoRegistry; this.taskTimers = new List <Timer>(); this.taskQueue = new ServiceTaskQueue(this.tracer); }
public MaintenanceTask( ITracer tracer, PhysicalFileSystem fileSystem, IScalarVerbRunner scalarVerb, IScalarRepoRegistry repoRegistry, IRegisteredUserStore registeredUserStore, MaintenanceTasks.Task task, bool ignorePause = true) { this.tracer = tracer; this.fileSystem = fileSystem; this.scalarVerb = scalarVerb; this.repoRegistry = repoRegistry; this.registeredUserStore = registeredUserStore; this.task = task; this.ignorePause = ignorePause; }