public DistributedNodesCleaner(DistributedComputingDbContext dbContext, IComputationCancelService computationCancelService, TimeSpan distributedNodeLifetime) { _dbContext = dbContext; _computationCancelService = computationCancelService; _distributedNodeLifetime = distributedNodeLifetime; }
public SubtaskInProgressOperationsController( IComputationFailService computationFailService, IComputationCompleteService computationCompleteService, IComputationCancelService computationCancelService, IResourceService <SubtaskInProgress> subtaskInProgressResourceService ) { _computationFailService = computationFailService; _computationCompleteService = computationCompleteService; _computationCancelService = computationCancelService; _subtaskInProgressResourceService = subtaskInProgressResourceService; }