Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/08/11 14:54:17 (14 years ago)
Author:
cneumuel
Message:

#1233

  • updated jobstates documentation
  • enhanced ganttChart
  • fixed setting of jobstates
  • added option to force lifecycle-trigger (mainly for testing purposes)
Location:
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive.Common/3.4/DataTransfer
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive.Common/3.4/DataTransfer/JobState.cs

    r5526 r5636  
    5454   
    5555    /// <summary>
     56    /// Job is paused, will not be picked up by slaves
     57    /// </summary>
     58    Paused,
     59
     60    /// <summary>
    5661    /// Job as finished and is ready to be collected by the Client
    5762    /// </summary>
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive.Common/3.4/DataTransfer/LightweightJob.cs

    r5614 r5636  
    5353      this.State = job.State;
    5454    }
    55 
    56 
    57     public void SetState(JobState state) {
    58       this.State = state;
    59       this.StateLog.Add(new StateLog() { State = state, DateTime = DateTime.Now });
    60     }
    61 
    62     public void SetState(JobState state, Guid userId) {
    63       this.State = state;
    64       this.StateLog.Add(new StateLog() { State = state, DateTime = DateTime.Now, UserId = userId });
    65     }
    66 
    67     public void SetState(JobState state, Guid slaveId, string exception) {
    68       this.State = state;
    69       this.StateLog.Add(new StateLog() { State = state, DateTime = DateTime.Now, SlaveId = slaveId, Exception = exception });
    70     }
    7155  }
    7256}
Note: See TracChangeset for help on using the changeset viewer.