Changeset 17194 for misc/tools/HeuristicLab.HiveDrain/HeuristicLab.HiveDrain/JobTaskOneFileDownloader.cs
- Timestamp:
- 08/07/19 14:44:13 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
misc/tools/HeuristicLab.HiveDrain/HeuristicLab.HiveDrain/JobTaskOneFileDownloader.cs
r15494 r17194 33 33 namespace HeuristicLab.HiveDrain { 34 34 public class JobTaskOneFileDownloader { 35 public String RootLocation { get; set; }35 public string RootLocation { get; set; } 36 36 37 37 public Job ParentJob { get; set; } … … 39 39 private ILog log; 40 40 41 private RunCollection results = new RunCollection();42 41 43 42 private static ConcurrentTaskDownloader<ItemTask> downloader = 44 43 new ConcurrentTaskDownloader<ItemTask>(HeuristicLabHiveDrainApplication.MaxParallelDownloads, HeuristicLabHiveDrainApplication.MaxParallelDownloads); 45 46 private static int jobCount = 0;47 48 private static bool endReached = false;49 44 50 45 private ManualResetEvent allJobsFinished = new ManualResetEvent(false); … … 68 63 69 64 public void Start() { 70 results = new RunCollection();71 65 72 66 var allTasks = HiveServiceLocator.Instance.CallHiveService(s => s.GetLightweightJobTasksWithoutStateLog(ParentJob.Id));
Note: See TracChangeset
for help on using the changeset viewer.