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