Changeset 6168 for branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive/3.4/ExperimentManager/HiveJob.cs
- Timestamp:
- 05/09/11 14:12:10 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive/3.4/ExperimentManager/HiveJob.cs
r6111 r6168 320 320 321 321 public void Pause() { 322 ServiceLocator.Instance.CallHiveService(s => s.PauseJob(this.job.Id)); 322 if (this.Job.IsParentJob) { 323 foreach (var child in ChildHiveJobs) { 324 ServiceLocator.Instance.CallHiveService(s => s.PauseJob(child.job.Id)); 325 } 326 } else { 327 ServiceLocator.Instance.CallHiveService(s => s.PauseJob(this.job.Id)); 328 } 323 329 } 324 330 325 331 public void Stop() { 326 ServiceLocator.Instance.CallHiveService(s => s.StopJob(this.job.Id)); 332 if (this.Job.IsParentJob) { 333 foreach (var child in ChildHiveJobs) { 334 ServiceLocator.Instance.CallHiveService(s => s.StopJob(child.job.Id)); 335 } 336 } else { 337 ServiceLocator.Instance.CallHiveService(s => s.StopJob(this.job.Id)); 338 } 327 339 } 328 340
Note: See TracChangeset
for help on using the changeset viewer.