Changeset 5636 for branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive.Common/3.4/DataTransfer
- Timestamp:
- 03/08/11 14:54:17 (14 years ago)
- 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 54 54 55 55 /// <summary> 56 /// Job is paused, will not be picked up by slaves 57 /// </summary> 58 Paused, 59 60 /// <summary> 56 61 /// Job as finished and is ready to be collected by the Client 57 62 /// </summary> -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive.Common/3.4/DataTransfer/LightweightJob.cs
r5614 r5636 53 53 this.State = job.State; 54 54 } 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 }71 55 } 72 56 }
Note: See TracChangeset
for help on using the changeset viewer.