Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/09/11 14:12:10 (13 years ago)
Author:
cneumuel
Message:

#1233

  • removed Job-dto objects from slave core (since it stores outdated objects)
  • added command textbox to HiveJobView
  • improved the way the control buttons behave in HiveJobView
  • improved job control (pause and stop is also possible when job is not currently calculating)
  • improved gantt chart view (last state log entry is also displayed)
  • unified code for downloading jobs between experiment manager and hive engine
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive/3.4/ExperimentManager/HiveJob.cs

    r6111 r6168  
    320320
    321321    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      }     
    323329    }
    324330
    325331    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      }
    327339    }
    328340
Note: See TracChangeset for help on using the changeset viewer.