- Timestamp:
- 03/08/11 14:54:17 (13 years ago)
- Location:
- branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive.Common/3.4
- Files:
-
- 4 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 } -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive.Common/3.4/HeuristicLab.Services.Hive.Common-3.4.csproj
r5614 r5636 124 124 <None Include="HeuristicLab.snk" /> 125 125 </ItemGroup> 126 <ItemGroup> 127 <Folder Include="obj\" /> 128 </ItemGroup> 126 129 <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> 127 130 <PropertyGroup> -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive.Common/3.4/ServiceContracts/IHiveService.cs
r5633 r5636 43 43 [OperationContract] 44 44 void DeleteChildJobs(Guid parentJobId); 45 46 [OperationContract] 47 Job UpdateJobState(Guid jobId, JobState jobState, Guid? slaveId, Guid? userId, string exception); 45 48 #endregion 46 49 … … 143 146 144 147 [OperationContract] 145 void TriggerLifecycle( );148 void TriggerLifecycle(bool force); 146 149 #endregion 147 150
Note: See TracChangeset
for help on using the changeset viewer.